New advertisers: 50% off your first month with code FIRSTMONTHSee slots
anthropics avatar

Agent Development

Guided authoring of Claude Code plugin agents, covering frontmatter fields, triggering descriptions, and system prompt structure.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
6
skills.sh installs
8.1K
GitHub stars
47.9K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the agent file format: required name, description, model, and color fields plus optional tools restrictions
  • Explains writing description triggers with prose scenarios and a "When to invoke" body section, including validation rules for identifiers and lengths
  • Provides system prompt templates with responsibilities, analysis process, output format, and edge-case guidance, written in second person
  • Designed for plugin authors creating autonomous subagents that Claude Code dispatches on their own

Install

$ npx -y skills add anthropics/claude-plugins-official --skill agent-development -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

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

Details

Repository
github.com/anthropics/claude-plugins-official
Category
Skill & Plugin Building
First seen
May 16, 2026

More from anthropics/claude-plugins-official

All 23

Similar to Agent Development

More Skill & Plugin Building