agent-development
Official · AnthropicInstallation
Terminal
git clone --depth 1 https://github.com/anthropics/claude-plugins-official.git /tmp/agent-development-src cp -r /tmp/agent-development-src/plugins/plugin-dev/skills/agent-development ~/.claude/skills/agent-development
Or .claude/skills/agent-development to scope it to one repo.
Summary
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
Agent Development for Claude Code Plugins Overview Agents are autonomous subprocesses that handle complex, multi-step tasks independently. Understanding agent structure, triggering conditions, and system prompt design enables creating powerful autonomous capabilities. Key concepts: - Agents are FOR autonomous work, commands are FOR user-initiated actions - Markdown file format with YAML frontmatter - Triggering via description field with examples - System prompt defines agent behavior - Model and color customization Agent File Structure Complete Format markdown --- name: agent-identifier description: Use this agent when [triggering conditions]. Typical triggers include [scenario 1 in prose], [scenario 2 in prose], and [scenario 3 in prose]. See "When to invoke" in the agent body for worked scenarios. model: inherit color: blue tools: ["Read", "Write", "Grep"] --- You are [agent role desc…