Description
Run sample input for each skill and collect outputs. Tests all skills with demo data and saves results for documentation.
Inputs
{
"skills_path": "Path to skills directory",
"save_results": true
}
Outputs
{
"ok": true,
"data": {
"executed": 50,
"successful": 48,
"failed": 2
}
}
Usage
Demo Mode
python scripts/main.py --demo
Run Examples
echo '{"skills_path":"./","save_results":true}' | python3 scripts/main.py
Examples
Example 1: Test All Skills
$ echo '{"skills_path":".","save_results":true}' | python3 scripts/main.py
{
"ok": true,
"data": {
"executed": 50,
"successful": 48,
"failed": 2,
"results_file": "skill_outputs.json"
}
}
Error Handling
When an error occurs, the skill returns:
{
"ok": false,
"error": "Error description",
"details": {
"skills_path": "Directory not found"
}
}