Agent skill · AI & Agents

creating-claude-agents

Use when creating or improving Claude Code agents. Expert guidance on agent file structure, frontmatter, persona definition, tool access, model selection, and validation against schema.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill creating-claude-agents --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 16 KB
Bundled scripts: none
Path: skills/agent/creating-claude-agents/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Creating Claude Code Agents - Expert Skill Use this skill when creating or improving Claude Code agents. Provides comprehensive guidance on agent structure, schema validation, and best practices for building long-running AI assistants. ## When to Use This Skill Activate this skill when: - User asks to create a new Claude Code agent - User wants to improve an existing agent - User needs help with agent frontmatter or structure - User is troubleshooting agent validation issues - User wants to understand agent format requirements - User asks about agent vs skill vs slash command differences ## Quick Reference ### Agent File Structure ```markdown --- name: agent-name description: When and why to use this agent allowed-tools: Read, Write, Bash model: sonnet agentType: agent --- # 🔍 Agent Display Name You are [persona definition - describe the agent's role and expertise]. ## Instructions [Clear, actionable guidance on what the agent does] ## Process [Step-by-step workflow the agent follows] ## Examples [Code samples and use cases demonstrating the agent's capabilities] ``` ### File Location **Required Path:** ``` .claude/agents/*.md ``` Agents must be placed in `.claude/agents/` direc

What's inside
Steps it walks through
  1. When to Use This Skill
  2. Quick Reference
  3. Agent File Structure
  4. File Location
  5. Frontmatter Requirements
  6. Required Fields
  7. Optional Fields
  8. Validation Rules
  9. Content Format Requirements
  10. H1 Heading (Required)
  11. Persona Definition (Required for Agents)
  12. Content Structure
  13. Schema Validation
  14. Schema Structure
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the creating-claude-agents skill do?

Use when creating or improving Claude Code agents. Expert guidance on agent file structure, frontmatter, persona definition, tool access, model selection, and validation against schema.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill creating-claude-agents --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going