Template skill demonstrating the complete Skillsets framework structure. Use as a reference when creating new skills for AI agents.
Template skill demonstrating the Skillsets framework structure
This is a template skill showing how to create skills for AI agents. Use this as a reference when building your own skills.
Activate this skill when the user:
Example prompts:
| Feature | Description |
|---|
| Greet | Generate personalized greetings |
| Calculate | Perform simple calculations |
| Format | Convert data to different formats |
# Run the greeting script
python skills/example-skill/scripts/greet.py --name "World"
# Output: {"status": "success", "message": "Hello, World!"}
# Perform a calculation
python skills/example-skill/scripts/calculate.py --operation add --a 5 --b 3
# Output: {"status": "success", "result": 8}
Check reference documentation in references/ for detailed patterns and examples.
| Script | Purpose | Arguments |
|---|---|---|
greet.py | Generate greetings | --name (required) |
calculate.py | Math operations | --operation, --a, --b |
format_data.py | Data formatting | --input, --format |
example-skill/
├── SKILL.md # This file (required)
├── scripts/ # Executable tools
│ ├── greet.py # Greeting generator
│ ├── calculate.py # Calculator
│ └── format_data.py # Data formatter
├── references/ # On-demand documentation
│ └── patterns.md # Common usage patterns
└── assets/ # Templates, configs, etc.
└── config.template.json
argparse| Exit Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Invalid arguments |
| 2 | Input not found |
| 3 | Processing error |
Error Response Format:
{
"status": "error",
"code": 1,
"message": "Descriptive error message"
}