Subagent delegation

From sammcj/agentic-coding · View interactive version

Subagent delegation is an AI agent skill from the GitHub repository sammcj/agentic-coding. How to scope, brief and choose sub-agents when delegating work with the Agent tool - named vs forked agents, file ownership boundaries, model selection, and when a fork is the wrong choice. Use when delegating to one or more sub-agents, deciding between a named agent and a fork, or splitting paralle

How to use this skill

Skill file

Sub-agent delegation

Delegation is authorised standingly (see CLAUDE.md). This skill covers how to do it well.

Briefing a sub-agent

Named vs forked

Named (standard) sub-agents have their own context window - good for parallel research, inspection, or separate features. Default to a named sub-agent.

A fork inherits the main session's full conversation history, system prompt, tools, and model. Output isolation is preserved (only the final result returns) but input isolation is lost.

Fork only when the accumulated nuance of the main conversation is genuinely useful to the subtask AND the task doesn't benefit from a fresh perspective.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.