Educational guide and worked examples for writing Claude Code .claude/agents/*.md subagent definition files: description-as-router, model-tier selection by work shape, the skill/agent content split, restating critical rules inline, and the follow-report-never-override rule for standing decisions.
prompt-engineering claude-code agent-patterns subagent-definitions model-tier-selection skills-vs-agents
-
Updated
Aug 20, 2026