test-skill-multifile

kcaldas's avatarfrom kcaldas

Test skill demonstrating progressive file loading with multiple resources

⭐11stars🔀0forks📁View on GitHub🕐Updated Dec 5, 2025

When & Why to Use This Skill

This Claude skill demonstrates advanced progressive file loading capabilities, allowing agents to dynamically manage and retrieve multiple resources such as Python scripts, markdown documentation, and data files. By loading assets only when necessary, it optimizes context window usage and enhances the agent's ability to handle complex, multi-step workflows with diverse dependencies.

Use Cases

  • Dynamic Resource Management: Optimize context efficiency by loading specific technical guides or helper scripts only when a sub-task requires them.
  • Modular Code Execution: Access and run internal Python utility scripts (like helper.py) to perform specialized data processing or automation tasks within the skill environment.
  • Reference-Based Task Completion: Retrieve detailed reference documentation and sample datasets on-demand to ensure high-accuracy outputs and consistent formatting.
nametest-skill-multifile
descriptionTest skill demonstrating progressive file loading with multiple resources

Test Skill: Progressive File Loading

This skill demonstrates the progressive loading feature where additional files can be loaded from the skill directory as needed.

Available Resources

This skill includes the following additional files:

  • helper.py - A Python helper script for processing
  • references/guide.md - Detailed reference documentation
  • examples/sample.txt - Example data file

Usage

  1. This SKILL.md file is loaded automatically when the skill is invoked
  2. Use Skill(skill="test-skill-multifile", file="helper.py") to load the Python script
  3. Use Skill(skill="test-skill-multifile", file="references/guide.md") to load the reference guide
  4. Execute scripts using Bash tool with the base path provided in context

Example Workflow

1. Invoke the skill
2. Review available resources
3. Load specific files as needed
4. Use the loaded content to complete the task
5. Clear the skill when done

All loaded files remain in the skill context until the skill is cleared.