1.1 KiB
1.1 KiB
allowed-tools, description, model
| allowed-tools | description | model |
|---|---|---|
| Task, Read, Glob, Bash | Intelligently select and use appropriate sub-agent based on task requirements | claude-sonnet-4-5-20250929 |
Use Agent
Analyze $ARGUMENTS to determine the most appropriate sub-agent from the .claude/agents directory and use it to handle the specified task.
$ARGUMENTS: [task description or agent:task format]
Instructions - IMPORTANT: YOU MUST FOLLOW THESE INSTRUCTIONS EXACTLY IN THIS ORDER
- Run !
ls -l ~/.claude/agentsto see available sub-agents. - Parse $ARGUMENTS to identify task type, domain, and requirements
- If sub-agent is specified → Use specified sub-agent directly
- If format is "youtube-url", IMPORTANT: you must immediately send task to youtube-transcript-analyzer sub-agent.
- Otherwise, analyze task keywords to select appropriate sub-agent from the list of available sub-agents.
- Use the Task tool to spawn the selected sub-agent with appropriate parameters
Context
Available sub-agents in @~/.claude/agents/:
Output
- Selected sub-agent name and rationale
- Task execution through the chosen sub-agent
- Results from the sub-agent's processing