MCP HubMCP Hub
스킬 목록으로 돌아가기

create-agent

pjt222
업데이트됨 2 days ago
2 조회
17
2
17
GitHub에서 보기
메타aidesign

정보

`create-agent` 스킬은 `agent-almanac` 템플릿과 규약을 따라 새로운 에이전트 정의 파일을 생성합니다. 이 스킬은 개발자가 페르소나 설계, 도구/스킬 선택, 모델 선택, 그리고 적절한 레지스트리 통합 과정을 진행하도록 안내합니다. 라이브러리에 특화된 에이전트를 추가하거나, 선별된 역량을 가진 도메인 특화형 어시스턴트를 생성할 때 사용하세요.

빠른 설치

Claude Code

추천
기본
npx skills add pjt222/agent-almanac -a claude-code
플러그인 명령대체
/plugin add https://github.com/pjt222/agent-almanac
Git 클론대체
git clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/create-agent

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

Create a New Agent

Define Claude Code subagent persona: focused purpose + curated tools + skills + docs.

Use When

  • New specialist agent for uncovered domain
  • Convert recurring workflow → reusable persona
  • Domain-specific assistant w/ curated skills + tools
  • Split broad agent → single-responsibility
  • Design new team member pre-composition

In

  • Required: Name (kebab-case, data-engineer)
  • Required: 1-line desc of primary purpose
  • Required: Purpose statement
  • Optional: Model (def: sonnet; alt: opus, haiku)
  • Optional: Priority (def: normal; alt: high, low)
  • Optional: Skills from skills/_registry.yml
  • Optional: MCP servers (r-mcptools, hf-mcp-server)

Do

Step 1: Persona

  • Name: kebab-case, role-descriptive. Noun/domain prefix: security-analyst, r-developer. Avoid helper/assistant.
  • Purpose: 1 paragraph → specific problem. "What does this agent do no existing covers?"
  • Style: Tech → precise + citations. Creative → exploratory. Compliance → formal + audit.

Check overlap w/ existing 53 agents:

grep -i "description:" agents/_registry.yml | grep -i "<your-domain-keywords>"

Got: No overlap. If partial → extend existing.

If err: Significant overlap → extend agent's skills OR narrow scope to complement.

Step 2: Tools

Min tool set, least-privilege.

Tool SetUse WhenExample Agents
[Read, Grep, Glob]Read-only analysis, review, auditcode-reviewer, security-analyst, auditor
[Read, Grep, Glob, WebFetch]Analysis + external lookupsenior-researcher
[Read, Write, Edit, Bash, Grep, Glob]Full dev — create/modify coder-developer, web-developer, devops-engineer
[Read, Write, Edit, Bash, Grep, Glob, WebFetch, WebSearch]Dev + external researchpolymath, shapeshifter

No Bash for analyze-only. No WebFetch/WebSearch unless external lookup needed.

Got: Tool list only what agent uses in primary workflows.

If err: Cap doesn't need tool → remove.

Step 3: Model

  • sonnet (def): Most agents. Reasoning + speed. Dev, review, analysis.
  • opus: Complex reasoning, multi-step, nuanced. Senior agents, arch, deep domain.
  • haiku: Simple fast. Lookups, formatting, templates.

Got: Model matches cognitive demand.

If err: Doubt → sonnet. Upgrade → opus only if insufficient.

Step 4: Skills

Browse registry, select domain skills:

# List all skills in a domain
grep -A3 "domain-name:" skills/_registry.yml

# Search for skills by keyword
grep -i "keyword" skills/_registry.yml

Build skills list:

skills:
  - skill-id-one
  - skill-id-two
  - skill-id-three

Important: All agents auto-inherit defaults (meditate, heal) from registry default_skills. Do NOT list unless core to methodology (e.g., mystic lists meditate → its primary purpose).

Got: 3-15 skill IDs exist in skills/_registry.yml.

If err: Verify: grep "id: skill-name" skills/_registry.yml. Remove non-matching.

Step 5: Write File

cp agents/_template.md agents/<agent-name>.md

Fill frontmatter:

---
name: agent-name
description: One to two sentences describing primary capability and domain
tools: [Read, Write, Edit, Bash, Grep, Glob]
model: sonnet
version: "1.0.0"
author: Philipp Thoss
created: YYYY-MM-DD
updated: YYYY-MM-DD
tags: [domain, specialty, relevant-keywords]
priority: normal
max_context_tokens: 200000
skills:
  - assigned-skill-one
  - assigned-skill-two
# Note: All agents inherit default skills (meditate, heal) from the registry.
# Only list them here if they are core to this agent's methodology.
# mcp_servers: []  # Uncomment and populate if MCP servers are needed
---

Got: YAML parses. Required fields present.

If err: Validate syntax. Common: missing quotes on ver, bad indent, unclosed brackets.

Step 6: Purpose + Capabilities

Purpose: 1 paragraph → specific problem + value. Concrete: domain, workflow, outcome.

Capabilities: Bullets w/ bold leads. Group by cat if many:

## Capabilities

- **Primary Capability**: What the agent does best
- **Secondary Capability**: Additional functionality
- **Tool Integration**: How it leverages its tools

Available Skills: Bare IDs + brief:

## Available Skills

- `skill-id` - Brief description of what the skill does

Got: Purpose specific (not "helps w/ dev"), caps concrete + verifiable, skills match frontmatter.

If err: Vague → "What specific task user asks?" → use as purpose.

Step 7: Usage Scenarios + Examples

2-3 scenarios → spawn patterns:

### Scenario 1: Primary Use Case
Brief description of the main scenario.

> "Use the agent-name agent to [specific task]."

### Scenario 2: Alternative Use Case
Description of another common use case.

> "Spawn the agent-name to [different task]."

1-2 examples → req + expected behavior:

### Example 1: Basic Usage
**User**: [Specific request]
**Agent**: [Expected response pattern and actions taken]

Got: Scenarios realistic, examples show value, spawn patterns match Claude Code.

If err: Mental test → could agent fulfill w/ assigned tools + skills?

Step 8: Limitations + See Also

Limitations: 3-5 honest. Cannot / should not / poor result scenarios:

## Limitations

- Cannot execute code in language X (no runtime available)
- Not suitable for tasks requiring Y — use Z agent instead
- Requires MCP server ABC to be running for full functionality

See Also: Cross-ref complementary agents, guides, teams:

## See Also

- [complementary-agent](complementary-agent.md) - handles the X side of this workflow
- [relevant-guide](../guides/guide-name.md) - background knowledge for this domain
- [relevant-team](../teams/team-name.md) - team that includes this agent

Got: Limits honest + specific. See Also refs exist.

If err: ls agents/complementary-agent.md → verify.

Step 9: Registry

Edit agents/_registry.yml, add entry alphabetical:

  - id: agent-name
    path: agents/agent-name.md
    description: Same one-line description from frontmatter
    tags: [domain, specialty]
    priority: normal
    tools: [Read, Write, Edit, Bash, Grep, Glob]
    skills:
      - skill-id-one
      - skill-id-two

Increment total_agents.

Got: Entry matches frontmatter. total_agents = count.

If err: grep -c "^ - id:" agents/_registry.yml → verify match.

Step 10: Discovery

Claude Code → .claude/agents/ → symlink to agents/:

# Verify the symlink exists and resolves
ls -la .claude/agents/
readlink -f .claude/agents/<agent-name>.md

Symlink intact → auto-discoverable.

Regen README:

npm run update-readmes

Got: Symlink resolves. agents/README.md has new agent.

If err: Broken → ln -sf ../agents .claude/agents. Script fail → check scripts/generate-readmes.js + js-yaml.

Step 11: Scaffold Translations

Required for all agents. Human + AI authors. Do not skip → backlog.

Scaffold for 4 locales post-commit:

for locale in de zh-CN ja es; do
  npm run translate:scaffold -- agents <agent-name> "$locale"
done

Translate prose (code + IDs stay EN). Regen status:

npm run translation:status

Got: 4 files at i18n/{de,zh-CN,ja,es}/agents/<agent-name>.md, source_commit = HEAD. npm run validate:translations → 0 stale.

If err: Scaffold fail → verify agent in registry. Status stale → run npm run translation:status explicitly (no CI auto).

Check

  • File at agents/<agent-name>.md
  • YAML parses
  • Required fields: name, description, tools, model, version, author
  • name = filename (no .md)
  • Sections: Purpose, Capabilities, Available Skills, Usage Scenarios, Examples, Limitations, See Also
  • Skills in frontmatter exist in registry
  • Default skills (meditate, heal) NOT listed unless core
  • Tools = least-privilege
  • Registry entry + matching metadata
  • total_agents updated
  • .claude/agents/ symlink resolves
  • No overlap w/ existing

Traps

  • Tool over-prov: Bash/Write/WebFetch when only read-analyze. Start min, add as caps require.
  • Bad skill IDs: Non-existent IDs / forgetting skills. Verify: grep "id: skill-name" skills/_registry.yml.
  • Redundant defaults: meditate/heal already inherited. List only if core (mystic, alchemist, gardener, shaman).
  • Scope overlap: Duplicating existing agent. Search registry → extend existing.
  • Vague purpose: "Helps w/ dev" vs "scaffolds R pkgs w/ full struct + docs + CI". Specificity = useful + discoverable.

  • create-skill — parallel SKILL.md proc
  • create-team — compose agents → team
  • commit-changes — commit agent + registry

GitHub 저장소

pjt222/agent-almanac
경로: i18n/caveman-ultra/skills/create-agent
0
agentsagentskillsai-assisted-developmentclaude-codeskillsteams

연관 스킬

content-collections

메타

이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.

스킬 보기

polymarket

메타

이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.

스킬 보기

creating-opencode-plugins

메타

이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.

스킬 보기

sglang

메타

SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.

스킬 보기