subagents

Installation
SKILL.md

Subagent Dispatch Skill

Use call_subagent to delegate tasks to other agents, and wait_for_subagents to collect results from background runs.

When To Use

Delegate when at least one is true:

  • The task is large enough to benefit from an isolated execution context
  • Multiple independent tasks can run in parallel
  • You need a specialized agent type (read-only explore, shell-heavy work)

Do not delegate when:

  • The task is small and can be done directly
  • The work requires constant access to the current conversation state
  • Multiple sub-agents would write to the same file with no merge plan
  • You cannot summarize the full context into a self-contained prompt
Installs
18
Repository
dtyq/magic
GitHub Stars
4.8K
First Seen
Apr 28, 2026
subagents — dtyq/magic