# Agent Development > 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. Source: https://skillsagentes.com/skills/anthropics/claude-code/agent-development Repository: https://github.com/anthropics/claude-code Author: anthropics License: not specified Updated: hace 9 meses Context cost: 89 tok installed, 2.6k tok once triggered, 17.6k tok with every bundled file Bundle: 7 files, 69 KB Permissions requested: none declared ## Install ```bash npx -y skills add anthropics/claude-code --skill agent-development --agent claude-code ``` ## What it does - Guía la creación de subagentes de Claude Code: estructura de frontmatter, campos name/description/model/color/tools - Define el formato de descripción con bloques y para condiciones de disparo - Establece plantilla y buenas prácticas para el system prompt (segunda persona, responsabilidades, proceso, formato de salida) - Provee reglas de validación para identificadores, descripción y system prompt - Explica organización y namespacing de agentes dentro de agents/ en un plugin ## Use it when - El usuario pide crear, añadir o escribir un subagente - El usuario pregunta sobre frontmatter de agentes, cuándo usar description, ejemplos de agentes, tools o colores - Se necesita orientación sobre estructura de agentes, condiciones de disparo o system prompts ## What triggers it - "Crea un agente para revisar código automáticamente" - "¿Cómo escribo la descripción con ejemplos para mi subagente?" - "Ayúdame a definir el frontmatter de un agente de Claude Code" - "Necesito un agente autónomo que genere tests" ## Before you install - Needs on PATH: awk, sed - Environment: AGENT_FILE, COLOR, DESCRIPTION, FIRST_LINE, FRONTMATTER, MODEL, NAME, SYSTEM_PROMPT, TOOLS ## Files - SKILL.md — 10 KB - examples/agent-creation-prompt.md — 9 KB - examples/complete-agent-examples.md — 14 KB - references/agent-creation-system-prompt.md — 9 KB - references/system-prompt-design.md — 10 KB - references/triggering-examples.md — 11 KB - scripts/validate-agent.sh — 6 KB ## SKILL.md Not reproduced here. Read it at https://github.com/anthropics/claude-code/blob/main/plugins/plugin-dev/skills/agent-development/SKILL.md --- Skills Agentes — https://skillsagentes.com/skills/anthropics/claude-code/agent-development