Overview
Agent Skills are reusable packages of instructions and bundled files (scripts, templates, references) that give your agents specialized capabilities. Skills use progressive disclosure — agents see only a skill’s name and description at startup, then load the full instructions on-demand when a matching task comes up. This keeps system prompts lean while letting agents handle complex, specialized workflows when needed.Key Features
Progressive Disclosure
- Agents start with just skill names and descriptions — no prompt bloat
- Full instructions load on-demand via the
load_skilltool - Only the skills relevant to the current task are loaded
Bundled Files
- Package scripts, templates, references, and assets alongside your instructions
- Files are pre-loaded into the Python sandbox at
/home/user/skills/{skill-name}/ - Your SKILL.md instructions tell the agent exactly how to use each bundled file
SKILL.md Format
Skills follow the open Agent Skills format — aSKILL.md file with YAML frontmatter for metadata and markdown body for instructions:
Getting Started
Creating a Skill
- Navigate to Control Hub → Skills
- Click “Create Skill”
- Paste or write your SKILL.md content with frontmatter
- The skill name and description are automatically parsed from the frontmatter
Adding Bundled Files
- Open your skill from the Skills list
- Use the “Upload Files” button to add scripts, templates, or reference materials
- Files appear in the bundled files list with size and type information
- Reference these files in your SKILL.md instructions by their file path
Assigning Skills to Agents
- Go to Control Hub → edit your agent
- In the Skills section, select which skills this agent can access
- The
load_skilltool is automatically enabled when skills are assigned - Save the agent configuration
How It Works
At Chat Time
- The agent’s system prompt includes an
<available_skills>section listing skill names and descriptions - When the agent recognizes a task that matches a skill, it calls the
load_skilltool - The tool returns the full SKILL.md instructions plus a listing of bundled files
- The agent follows the instructions, using bundled scripts via
execute_pythonas needed
Sandbox Integration
When an agent has skills assigned, all bundled files are automatically pre-loaded into the Python sandbox:pdf-report-generator).
Use Cases
Document Generation
- Bundle Python scripts that generate PDFs, Excel files, or PowerPoint presentations
- SKILL.md provides step-by-step instructions for when and how to use each script
- Agent collects data from the user, runs the script, and returns the generated file
Data Processing Pipelines
- Package data transformation scripts with reference schemas
- Agent loads the skill when asked to process specific data formats
- Scripts handle the heavy lifting while the agent manages the workflow
Specialized Analysis
- Bundle domain-specific analysis scripts with reference materials
- Include lookup tables, configuration files, or API documentation
- Agent uses the skill’s instructions to perform complex analysis tasks
Template-Based Workflows
- Include templates (Excel, markdown, etc.) as bundled files
- SKILL.md describes how to fill in each template
- Agent follows the recipe to produce consistent, formatted output
Best Practices
Writing SKILL.md
- Be specific: Tell the agent exactly when to use this skill and what steps to follow
- Reference files by path: Use relative paths like
scripts/setup.pythat match the sandbox structure - Include examples: Show sample inputs and expected outputs
- Keep it focused: One skill per workflow — don’t combine unrelated tasks
Organizing Bundled Files
- Use descriptive names:
generate_report.pyis better thanscript.py - Use subdirectories: Organize with
scripts/,templates/,references/as needed - Keep it lean: Only include files the agent actually needs (max 20 files per skill)
- Document dependencies: Note any Python packages your scripts require
Skill Design
- Single responsibility: Each skill should handle one type of task well
- Self-contained: Include everything the agent needs — don’t assume external context
- Test the workflow: Try the full flow (load skill → follow instructions → run scripts) before deploying
- Version via SKILL.md updates: Update the instructions when your workflow changes
API Integration
Skills can be managed programmatically through the Aster Agents API. Create skills, upload bundled files, and assign them to agents via API calls. For detailed API documentation, see the API Reference section.Agent Skills let you package complex, repeatable workflows into reusable components. Write the instructions once, bundle the scripts, and any agent with the skill assigned can execute the full workflow on demand.
