Sign in
Explore
Skills · SkillEveryday codingDocs & LearningReviewed

agent-development

Explains how to write a subagent: frontmatter, the when-to-use description, tools and the system prompt.

Kind
Skill
Works with
Claude Code
Source
anthropics/claude-plugins-official @ 58267944f921
Path
plugins/plugin-dev/skills/agent-development/SKILL.md
Jobs
Documentation

Credit

Made by
anthropics
Original
github.com/anthropics/claude-plugins-official/blob/58267944f9…
License
Apache-2.0

Listed by Skill Manifest; not made by us.

InstallInstall it from a plugin marketplace.
/plugin install plugin-dev@claude-plugins-official
Install factsScanned 3 Nov 2026
Adds
  • .claude/skills/agent-development/ (the skill folder)
  • 5 file(s) the skill refers to
  • 6 other files in the folder: examples/agent-creation-prompt.md, examples/complete-agent-examples.md, references/agent-creation-system-prompt.md, references/system-prompt-design.md and 2 more
Runs scripts
Yes
  • scripts/validate-agent.sh
  • shell block in the text (examples/agent-creation-prompt.md)
  • script file in the folder (scripts/validate-agent.sh)
Uses the network
None found
Needs secrets
None found
Reads environment variables
  • AGENT_FILE
  • FIRST_LINE
  • FRONTMATTER
  • NAME
  • DESCRIPTION
  • MODEL
Value without its scripts
High
  • The main file never tells the agent to run a bundled script, so the text works without them.
  • scripts/validate-agent.sh: Agent File Validator
Source revision
58267944f921
Licence
Apache-2.0
Last activity
26 Nov 2026
Source changed after the scan
Yes
  • Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

# 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 description]...

## When to invoke

[Two to four representative scenarios written as prose, e.g.:]
- **[Scenario name].** [What the situation looks like and what the agent should do.]
- **[Scenario name].** [Same.]

**Your Core Responsibilities:**
1. [Responsibility 1]
…