본문으로 건너뛰기
cccskills
무료GitHub에 공개

agent-creator

Guide for creating effective Claude Code agents. This skill should be used when users want to create a new agent (or update an existing agent) that configures Claude with specialized system prompts, tool restrictions, model selection, and MCP/skill integrations.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md7.2 KB
  • metadata.json836 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Agent Creator

This skill provides guidance for creating effective Claude Code agents.

About Agents

Agents are Markdown files with YAML frontmatter that configure Claude Code with specialized behavior. They can be used in two ways:

  1. Main Agent (claude --agent name) - Starts Claude Code as this persona
  2. Subagent (Task tool) - Spawns a focused worker that reports back

Unlike skills (which inject knowledge into context), agents fundamentally change who Claude is for that session - the system prompt, available tools, and even the model.

When to Create an Agent

Use CaseCreate Agent?Alternative
Specialized persona with restricted toolsYes-
Domain expert needing specific MCPs/skillsYes-
Cost optimization (haiku for simple tasks)Yes-
Orchestrator that delegates to sub-agentsYes-
Adding domain knowledge to contextNoCreate a skill
One-off task instructionsNoDirect prompting
Reusable scripts/assetsNoCreate a skill

Agent vs Skill Decision

  • Agent: Changes who Claude is (persona, tools, model)
  • Skill: Changes what Claude knows (knowledge, procedures, scripts)

Agents can load skills. Skills cannot become agents.

Agent Anatomy

File Location

Agents are stored as .md files in:

  • ~/.claude/agents/ - User-level (global, all projects)
  • .claude/agents/ - Project-level (repo-specific, higher precedence)

Required Structure

---
name: agent-name
description: "When to use this agent. Be specific about triggers."
---

System prompt content goes here.

All Configuration Options

FieldRequiredTypeDescription
nameYesstringUnique ID (lowercase, hyphens only)
descriptionYesstringWhen/why to invoke this agent
toolsNolistRestrict to specific tools only
modelNostringhaiku, sonnet, opus, or omit to inherit
permissionModeNostringdefault, acceptEdits, plan, bypassPermissions
skillsNolistAuto-load specific skills

Tool Restriction

Omitting tools grants all available tools. Specifying it creates a whitelist:

tools:
  - Read
  - Grep
  - Glob

Common tools: Read, Write, Edit, Glob, Grep, Bash, Task, WebSearch, WebFetch, TodoWrite

See references/tool-catalog.md for the complete catalog with use cases.

Agent Creation Process

Step 1: Define the Agent's Purpose

Before writing, answer:

  1. What is this agent's specialty? (one clear focus)
  2. When should it be invoked? (specific triggers)
  3. What tools does it need? (minimum viable set)
  4. What model fits the task? (haiku=fast/cheap, sonnet=balanced, opus=complex)
  5. What MCPs or skills should it load?

Step 2: Initialize the Agent

Run the initialization script to scaffold the agent file:

python ~/.claude/skills/agent-creator/scripts/init_agent.py <agent-name> [--path <directory>]

Default path is ~/.claude/agents/ (user-level). Use .claude/agents/ for project-level.

Step 3: Write the System Prompt

The system prompt (Markdown body after frontmatter) defines the agent's behavior. Follow Opus 4.5 prompting best practices from references/opus-prompting.md.

System Prompt Structure

---
name: example-agent
description: "..."
---

[Role statement - who this agent is]

## Capabilities
[What this agent can do]

## Guidelines
[How to approach tasks]

## Workflow
[Step-by-step process if applicable]

Writing Style

  • Use imperative form: "Analyze the code" not "You should analyze the code"
  • Be explicit and specific: State exactly what to do
  • Add context for why: Explain reasoning behind guidelines
  • Include concrete examples: Show expected behavior
  • Keep it focused: One clear specialty, not a generalist

Step 4: Configure Tools and Model

Match tools to the agent's purpose:

Agent TypeRecommended ToolsModel
ResearcherRead, Grep, Glob, WebSearch, WebFetchsonnet
Code ReviewerRead, Grep, Glob, Bashsonnet
Writer/EditorRead, Write, Editsonnet
Quick SearchGrep, Glob, Readhaiku
Complex AnalysisRead, Grep, Glob, Taskopus
OrchestratorTask, Read, TodoWriteopus

Step 5: Add MCP/Skill Integrations

For agents that need external capabilities:

skills:
  - ui-styling
  - docs-seeker

Reference skills in the system prompt:

## Available Skills

Use the `ui-styling` skill for shadcn components and Tailwind.
Use the `docs-seeker` skill for finding library documentation.

For MCP tools, mention them explicitly in the system prompt so the agent knows they're available.

Step 6: Test and Iterate

  1. Test as main agent: claude --agent your-agent
  2. Test as subagent: Use Task tool to spawn it
  3. Verify tool restrictions: Ensure it only uses allowed tools
  4. Check persona consistency: Does it maintain character?
  5. Validate triggers: Does the description accurately predict usage?

Opus 4.5 Prompting Guidelines

Claude Opus 4.5 has specific characteristics that affect agent design. See references/opus-prompting.md for full details.

Key Points

  1. Dial back aggressive language - Replace "CRITICAL/MUST" with normal phrasing
  2. Avoid "think" - Use "consider", "evaluate", "reflect" when extended thinking is off
  3. Be explicit about action - "Implement changes" vs "suggest changes"
  4. Include anti-over-engineering guidance - Opus tends to add unnecessary abstractions
  5. Examples matter - Opus follows examples precisely, ensure they're correct
  6. Parallel tool calling - Explicitly encourage when tools are independent

Anti-Over-Engineering Snippet

Include this in agents that write code:

Avoid over-engineering. Only make changes directly requested or clearly necessary.
Keep solutions simple and focused. Do not add features, refactor code, or make
improvements beyond what was asked.

Agent Patterns

See references/agent-patterns.md for common archetypes:

  • Researcher - Read-only exploration and analysis
  • Specialist - Domain expert with focused tools
  • Reviewer - Code/content review without editing
  • Builder - Focused creation with write access
  • Orchestrator - Delegates to sub-agents
  • Quick Responder - Fast, cheap responses with haiku

Validation Checklist

Before finalizing an agent:

  • Name is lowercase with hyphens only
  • Description clearly states when to use the agent
  • Tools are minimal but sufficient for the task
  • Model matches complexity needs (haiku/sonnet/opus)
  • System prompt uses imperative form
  • No "CRITICAL/MUST" aggressive language
  • Includes anti-over-engineering guidance if writes code
  • Examples in prompt are accurate and helpful
  • Tested as both main agent and subagent

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use when you need to install the embedded robot agents into either .cursor/agents or .claude/agents, selecting the destination interactively and copying the embedded agent definitions from project assets. This should trigger for requests such as Install embedded agents; Bootstrap .cursor/agents; Bootstrap .claude/agents; Copy robot agents. Part of cursor-rules-java project

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

majiayu000/claude-skill-registry-data272026년 10월 21일 업데이트

Use when you need to generate an AGENTS.md file for a Java repository — covering project conventions, tech stack, file structure, commands, Git workflow, and contributor boundaries — through a modular, step-based interactive process that adapts to your specific project needs. This should trigger for requests such as Create AGENTS.md; Update AGENTS.md file; Add agent instructions. Part of cursor-rules-java project

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

majiayu000/claude-skill-registry-data272026년 10월 21일 업데이트

Expert legal research agent for finding and scraping expungement data state by state. Knows authoritative sources, URL patterns, Firecrawl configuration, and 2026 legal landscape. Activate on "find expungement data", "scrape state laws", "legal research", "court URLs", "statute sources", "Clean Slate laws", "automatic expungement research". NOT for interpreting laws (use national-expungement-expert), building UI, or legal advice.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

majiayu000/claude-skill-registry-data272026년 10월 21일 업데이트

Generated by Gremlin Forge Meta-Agent 🍆👾⚡

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

majiayu000/claude-skill-registry-data272026년 10월 21일 업데이트

Work autonomously without waiting for hand-holding — complete tasks end-to-end without asking for permission at every step.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

majiayu000/claude-skill-registry-data272026년 10월 21일 업데이트

abmahnung

무료

Entwurf einer BAG-konformen Abmahnung im Arbeitsrecht – konkrete Schilderung der Pflichtverletzung, klare Verhaltenserwartung, ausdrückliche Sanktionsandrohung. Use when AG eine verhaltensbedingte Sanktion vor einer Kündigung dokumentieren muss oder AN die Wirksamkeit einer empfangenen Abmahnung prüft.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

majiayu000/claude-skill-registry-data272026년 10월 21일 업데이트

majiayu000의 스킬 모두 보기

이 스킬의 문제 신고