skill_script
Execute Python, Shell, JavaScript, or TypeScript scripts from bundled skill directories to extend AI agent capabilities through modular plugin functionality.
Instructions
Execute a script from a skill's scripts/ directory. Use this tool to run Python (.py), Shell (.sh/.bash), JavaScript (.js), or TypeScript (.ts) scripts bundled with a skill. Scripts are executed in the workspace directory.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"skill_name": "<skill_name>",
"script_path": "<script_path>"
},
"name": "skill_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skill_name | Yes | Name of the skill that owns the script | |
| script_path | Yes | Relative path to the script (e.g., 'scripts/init.py') | |
| args | No | Command-line arguments to pass to the script |