Prompt Agents Limited info

Claude: Subagent Usage Guidance

Guides Claude on when to delegate to subagents and when to work directly.

  • 🤖 Claude
  • 🗂️ Agents

Prompt by Anthropic — Claude prompting best practices · Original source (opens in a new tab)

Claude: Subagent Usage Guidance — illustration

The prompt

prompt
Use subagents when tasks can run in parallel, require isolated context, or involve
independent workstreams that don't need to share state. For simple tasks, sequential
operations, single-file edits, or tasks where you need to maintain context across steps,
work directly rather than delegating.

What it is

Guides Claude on when to delegate to subagents and when to work directly. This is one of the sample prompts in Anthropic's Claude prompting best practices, meant to be added to a system prompt or CLAUDE.md to steer Claude's behaviour.

بيوجّه Claude متى يوزّع الشغل على subagents ومتى يشتغل لحالو.

Examples

Example prompt from the source

Prompt
prompt
Use subagents when tasks can run in parallel, require isolated context, or involve
independent workstreams that don't need to share state. For simple tasks, sequential
operations, single-file edits, or tasks where you need to maintain context across steps,
work directly rather than delegating.

Expected output: Copied verbatim from Anthropic — Claude prompting best practices.