agent_run_skill
Invoke a skill by name with optional input and arguments, returning structured results including output and exit status.
Instructions
Invoke a discovered skill by name and return its result.
Python skills are imported in-process and their run(input, **kwargs)
function is called. Shell skills are executed via subprocess. Markdown
skills simply return the file contents.
Args: name: Skill name. input: Primary input passed to the skill as the first argument. args: Additional keyword arguments forwarded to the skill. skills_dir: Override the skills directory. timeout: Maximum execution time in seconds.
Returns: str: JSON with keys 'success', 'name', 'type', 'stdout', 'stderr', 'exit_code', and 'timed_out'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Additional keyword arguments forwarded to the skill. | |
| name | Yes | Skill name (subdirectory or file basename without extension). | |
| input | No | Primary input passed to the skill as the first argument. | |
| timeout | No | Maximum execution time in seconds. | |
| skills_dir | No | Override the skills directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |