Browse / Productivity Workflow / Subagent Development

Subagent Development

Manages all aspects of Claude Code subagent development, from file creation and configuration to lifecycle management and troubleshooting.

SkillProductivity WorkflowPlanningSkill AuthoringAi AgentConfig

The source repository doesn't declare a license. Check its terms before reusing the code.

Key features

  • Delegates to official documentation for all subagent-related queries to ensure accuracy.
  • Explains agent lifecycle, including automatic delegation, explicit invocation, and resumption.
  • Provides guidance on agent file format, YAML frontmatter, tool access, and model selection.
  • Defines repository standards for features like UI color-coding for agents.
  • Covers command-line usage (/agents) and programmatic creation via the Agent SDK.

Use cases

  • Creating a new subagent file with specific tools, a designated model, and permissions.
  • Learning how to chain multiple agents together or create them programmatically using the Agent SDK.
  • Debugging why a subagent is not being automatically invoked or is failing during execution.

FAQ

What is the Subagent Development skill?

This skill is a central authority for managing Claude Code subagents. It provides expert guidance on agent creation, YAML configuration, tool access, lifecycle management, and troubleshooting, ensuring all information is accurate by delegating to official documentation.

What specific capabilities does it cover?

It covers the entire agent development lifecycle, including agent file format, YAML frontmatter fields (tools, model, permissions), automatic vs. explicit invocation, agent resumption, CLI commands, SDK integration, and even undocumented features like UI color-coding.

How does this skill improve my workflow?

It acts as a single, reliable entry point for all subagent-related tasks. By centralizing knowledge and ensuring answers are based on the latest official docs, it saves you time, prevents errors from outdated information, and accelerates agent development.

When should I use this skill?

Use this skill whenever you need to create a new agent, configure an existing one, understand agent behavior (like automatic delegation or resumption), or use the `/agents` command-line tool or Agent SDK for programmatic control.