본문으로 건너뛰기
Skillpedia
에이전트6.0k · #14478

agent-identifier

하는 일

이 스킬은 복잡한 작업을 스스로 처리하는 집중된 도우미인 Claude Code 에이전트 파일을 작성하는 방법을 설명합니다. Claude Code를 위해 자신만의 에이전트를 만드는 개발자를 위한 것입니다.

사용하는 경우

  • ✓특정한 자율 작업을 위해 새 Claude Code 에이전트를 만들고 싶을 때.
  • ✓에이전트 파일의 프런트매터(name, description, model, color 등)를 작성해야 할 때.
  • ✓에이전트의 트리거 예시와 시스템 프롬프트를 명확하게 쓰고 싶을 때.

스킬 링크

https://github.com/Galaxy-Dawn/claude-scholar/blob/main/skills/agent-identifier/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Galaxy-Dawn/claude-scholar/blob/main/skills/agent-identifier/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 풀 리퀘스트를 보안 문제 관점에서 검토하는 Claude Code 에이전트를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 파일 형식 규칙을 따르고, 예시가 있는 명확한 트리거 설명을 작성하며, 에이전트가 행동하는 방식을 정의하는 시스템 프롬프트를 씁니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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

When to Use

Use this skill when the user asks to:

  • Create an agent
  • Add an agent
  • Write a subagent
  • Define agent frontmatter
  • Decide when to use description examples
  • Configure agent tools, colors, or model behavior
  • Design autonomous agent structure, triggering conditions, or system prompts

When Not to Use

Do not use this skill for:

  • Slash command design
  • Hook configuration
  • MCP server setup
  • General plugin layout questions that belong to plugin-structure

Agent File Structure

Complete Format

---
name: agent-identifier
description: Use this agent when [triggering conditions]. Examples:

<example>
Context: [Situation description]
user: "[User request]"
assistant: "[How assistant should respond and use this agent]"
<commentary>
[Why this agent should be triggered]
</commentary>
</example>

<example>
[Additional example...]
</example>

model: inherit
color: blue
tools: ["Read", "Write", "Grep"]
---

You are [agent role description]...

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

**Analysis Process:**
[Step-by-step workflow]

**Output Format:**
[What to return]

Frontmatter Fields

name (required)

Agent identifier used for namespacing and invocation.

Format: lowercase, numbers, hyphens only Length: 3-50 characters Pattern: Must start and end with alphanumeric

Good examples:

  • code-reviewer
  • test-generator
  • api-docs-writer
  • security-analyzer

Bad examples:

  • helper (too generic)
  • -agent- (starts/ends with hyphen)
  • my_agent (underscores not allowed)
  • ag (too short, < 3 chars)

description (required)

Defines when Claude should trigger this agent. This is the most critical field.

Must include:

  1. Triggering conditions ("Use this agent when...")
  2. Multiple <example> blocks showing usage
  3. Context, user request, and assistant response in each example
  4. <commentary> explaining why agent triggers

Format:

Use this agent when [conditions]. Examples:

<example>
Context: [Scenario description]
user: "[What user says]"
assistant: "[How Claude should respond]"
<commentary>
[Why this agent is appropriate]
</commentary>
</example>

[More examples...]

Best practices:

  • Include 2-4 concrete examples
  • Show proactive and reactive triggering
  • Cover different phrasings of same intent
  • Explain reasoning in commentary
  • Be specific about when NOT to use the agent

model (required)

Which model the agent should use.

Options:

  • inherit - Use same model as parent (recommended)
  • sonnet - Claude Sonnet (balanced)
  • opus - Claude Opus (most capable, expensive)
  • haiku - Claude Haiku (fast, cheap)

Recommendation: Use inherit unless agent needs specific model capabilities.

color (required)

Visual identifier for agent in UI.

Options: blue, cyan, green, yellow, magenta, red

Guidelines:

  • Choose distinct colors for different agents in same plugin
  • Use consistent colors for similar agent types
  • Blue/cyan: Analysis, review
  • Green: Success-oriented tasks
  • Yellow: Caution, validation
  • Red: Critical, security
  • Magenta: Creative, generation

tools (optional)

Restrict agent to specific tools.

Format: Array of tool names

tools: ["Read", "Write", "Grep", "Bash"]

Default: If omitted, agent has access to all tools

Best practice: Limit tools to minimum needed (principle of least privilege)

Common tool sets:

  • Read-only analysis: ["Read", "Grep", "Glob"]
  • Code generation: ["Read", "Write", "Grep"]
  • Testing: ["Read", "Bash", "Grep"]
  • Full access: Omit field or use ["*"]

System Prompt Design

The markdown body becomes the agent's system prompt. Write in second person, addressing the agent directly.

Structure

Standard template:

You are [role] specializing in [domain].

**Your Core Responsibilities:**
1. [Primary responsibility]
2. [Secondary r
자주 묻는 질문

에이전트와 명령은 같은가요?

아니요. 에이전트는 자율 작업을 위한 것이고, 명령은 사용자가 시작하는 동작을 위한 것입니다.

에이전트 파일은 어떤 형식인가요?

파일 상단에 YAML 프런트매터가 있는 Markdown 파일입니다.

모델과 색상을 설정할 수 있나요?

네. 안내에 에이전트의 모델과 색상 설정이 포함되어 있습니다.

상세 정보

작성자의 원본 설명

Use when creating or configuring Claude Code agents and their frontmatter.

repo: Galaxy-Dawn/claude-scholar

인기도

GitHub 스타
6.0k
순위
#14478
라이선스
MIT
업데이트
2026. 10. 19.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬