sub-agents
Installation
SKILL.md
Sub-Agents - External CLI AI Task Delegation
Spawns external CLI AIs (codex, claude, cursor-agent, glm, kimi, grok, gemini, opencode) as isolated sub-agents with dedicated context.
Workflow: discover available definitions, select one from the user request, execute it, and handle the JSON response.
Resources
- run_subagent.py - Main execution script
- codex.md - Read before first execution from Codex; covers permissions and timeout
Script Path: Use absolute path {SKILL_DIR}/scripts/run_subagent.py where {SKILL_DIR} is the directory containing this SKILL.md file.
Interpreting User Requests
Extract parameters from user's natural language request: