evolve-agent
정보
`evolve-agent` 스킬은 기존 에이전트의 페르소나를 개선하거나 고급 변형을 생성하여 업데이트합니다. 이 스킬은 에이전트를 모범 사례와 비교 평가하고, 해당 스킬 및 도구에 변경 사항을 적용하며, 버전 메타데이터를 업데이트합니다. 에이전트의 역량이 구식이 되었거나, 피드백에서 결함이 발견되었거나, 실제 사용 후 범위를 명확히 조정해야 할 때 사용하세요.
빠른 설치
Claude Code
추천npx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/evolve-agentClaude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요
문서
演舊 agent
改、擴、或造原以 create-agent 建之 agent 之進階變。此行屬 agent 生週之維:較最佳踐估缺、施針對改於 persona 定、升版、使登記與交引同步。
用
- 技庫加新技後 agent 之技列舊
- 用者反饋示能缺、旨不明、例弱
- 工具求變(新 MCP 服、工去、需減權)
- agent 範須銳——與他 agent 重或過廣
- 須於原之側有進階變(如
r-developer與r-developer-advanced) - 加新 agent 或 team 而 See Also 舊
入
- 必:欲演 agent 文之徑(如
agents/r-developer.md) - 必:演因(反饋、新技、工變、範重、team 入、見限)
- 可:目標版升級(patch、minor、major)
- 可:是否造進階變代原地改(默:原地)
行
一:估現 agent
讀舊 agent 文並據 guides/agent-best-practices.md 之質察表估各節:
| Section | What to Check | Common Issues |
|---|---|---|
| Frontmatter | All required fields present (name, description, tools, model, version, author) | Missing tags, stale version, wrong priority |
| Purpose | Specific problem statement, not generic "helps with X" | Vague or overlapping with another agent |
| Capabilities | Concrete, verifiable capabilities with bold lead-ins | Generic ("handles development"), no grouping |
| Available Skills | Matches frontmatter skills list, all IDs exist in registry | Stale IDs, missing new skills, lists default skills unnecessarily |
| Usage Scenarios | 2-3 realistic scenarios with invocation patterns | Placeholder text, unrealistic examples |
| Examples | Shows user request and agent behavior | Missing or trivial examples |
| Limitations | 3-5 honest constraints | Too few, too vague, or missing entirely |
| See Also | Valid cross-references to agents, guides, teams | Stale links to renamed or removed files |
# Read the agent file
cat agents/<agent-name>.md
# Check frontmatter parses
head -20 agents/<agent-name>.md
# Verify skills in frontmatter exist in registry
grep "skills:" -A 20 agents/<agent-name>.md
# Check if agent is referenced by any team
grep -r "<agent-name>" teams/*.md
得:依節分之特缺、弱、機會之列。
敗:agent 文缺或無 frontmatter→此技不適;用 create-agent 自零造之。
二:集演求
識並分觸演之因:
| Trigger | Example | Typical Scope |
|---|---|---|
| User feedback | "Agent missed XSS in review" | Add skill or capability |
| New skills available | Library gained analyze-api-security | Update skills list |
| Tool change | New MCP server available | Add to tools/mcp_servers |
| Scope overlap | Two agents both claim "code review" | Sharpen purpose and limitations |
| Team integration | Agent added to a new team | Update See Also, verify capabilities |
| Model upgrade | Task requires deeper reasoning | Change model field |
| Privilege reduction | Agent has Bash but only reads files | Remove unnecessary tools |
編前錄須特改。各改映於特節:
- Frontmatter: add `new-skill-id` to skills list
- Capabilities: add "API Security Analysis" capability
- Available Skills: add `new-skill-id` with description
- Limitations: remove outdated limitation about missing skill
- See Also: add link to new team that includes this agent
得:具改之列,各映於 agent 文之特節。
敗:改不明→進前請用者明之。模糊演標產模糊改。
三:擇演範
用此決矩定原地改或造變:
| Criteria | Refinement (in-place) | Advanced Variant (new agent) |
|---|---|---|
| Agent ID | Unchanged | New ID: <agent>-advanced or <agent>-<specialty> |
| File path | Same .md file | New file in agents/ |
| Version bump | Patch or minor | Starts at 1.0.0 |
| Model | May change | Often higher (e.g., sonnet → opus) |
| Registry | Update existing entry | New entry added |
| Original agent | Modified directly | Left intact, gains See Also cross-reference |
原地改:更技、修文、銳範、調工時擇。agent 保同。
變:演版將服大異眾、需異型、或加使原過廣之能時擇。原存以供簡用。
得:明決——改或變——並有理。
敗:不確→默改。後可抽變;合難。
四:施改於 agent 文
原地改
直編舊 agent 文:
- Frontmatter:按須更
skills、tools、tags、model、priority、mcp_servers - Purpose/Capabilities:改以反新範或加能
- Available Skills:加新技含述、去棄者
- Usage Scenarios:加或改景以示新能
- Limitations:去不適之約、加新實者
- See Also:更交引反現 agent/team/guide 域
循此編則:
- 保諸節——加容,勿去節
- Available Skills 與 frontmatter
skills列同 - 默技(
meditate、heal)非 agent 核法勿入 frontmatter - 驗各技 ID 存:
grep "id: skill-name" skills/_registry.yml
變
# Copy the original as a starting point
cp agents/<agent-name>.md agents/<agent-name>-advanced.md
# Edit the variant:
# - Change `name` to `<agent-name>-advanced`
# - Update `description` to reflect the advanced scope
# - Raise `model` if needed (e.g., sonnet → opus)
# - Reset `version` to "1.0.0"
# - Expand skills, capabilities, and examples for the advanced use case
# - Reference the original in See Also as a simpler alternative
得:agent 文(改或新變)過一步估表。
敗:編破文構→用 git diff 閱改,以 git checkout -- <file> 復部分。
四半:同譯變
譯存時必。此步適人作者與 AI agent 循此行。勿略——舊
source_commit致npm run validate:translations於諸地報偽舊警。
察演之 agent 譯否存並更以反新源態:
# Check for existing translations
ls i18n/*/agents/<agent-name>.md 2>/dev/null
若譯存
- 取現源 commit 雜:
SOURCE_COMMIT=$(git rev-parse HEAD)
- 於諸譯文 frontmatter 中更
source_commit:
for locale_file in i18n/*/agents/<agent-name>.md; do
sed -i "s/^source_commit: .*/source_commit: $SOURCE_COMMIT/" "$locale_file"
done
- 旗待重譯之地入 commit 信:
evolve(<agent-name>): <description of changes>
Translations flagged for re-sync: de, zh-CN, ja, es
Changed sections: <list sections that changed>
- 重生譯態文:
npm run translation:status
若無譯
無須行。進五步。
變
新變之譯宜於變穩(1-2 版)後行。變至少改一次後加譯。
得:諸譯文 source_commit 更至現 commit。npm run translation:status 退 0。
敗:sed 匹 frontmatter 欄敗→手開譯文驗其 YAML frontmatter 含 source_commit。若欄缺→重 scaffold 以 npm run translate:scaffold -- agents <agent-name> <locale>。
五:更版與元
依語義版升 frontmatter 之 version:
| Change Type | Version Bump | Example |
|---|---|---|
| Typo fix, wording clarification | Patch: 1.0.0 → 1.0.1 | Fixed unclear limitation |
| New skills added, capability expanded | Minor: 1.0.0 → 1.1.0 | Added 3 new skills from library |
| Restructured purpose, changed model | Major: 1.0.0 → 2.0.0 | Narrowed scope, upgraded to opus |
亦更:
updated為今日tags若域覆變description若旨大異priority若相重變
得:frontmatter version 與 updated 反改之度與日。新變自 "1.0.0" 起。
敗:忘升版→下演無法別現態於舊。commit 前必升。
六:更登記與交引
原地改
更 agents/_registry.yml 中舊條以匹改 frontmatter:
# Find the agent's registry entry
grep -A 10 "id: <agent-name>" agents/_registry.yml
更 description、tags、tools、skills 以匹 agent 文。計無變。
若 agent 之能或名變→更他文交引:
# Check if any team references this agent
grep -r "<agent-name>" teams/*.md
# Check if any guide references this agent
grep -r "<agent-name>" guides/*.md
變
於 agents/_registry.yml 依字母位加新 agent:
- id: <agent-name>-advanced
path: agents/<agent-name>-advanced.md
description: One-line description of the advanced variant
tags: [domain, specialty, advanced]
priority: normal
tools: [Read, Write, Edit, Bash, Grep, Glob]
skills:
- skill-id-one
- skill-id-two
後:
- 增登首之
total_agents - 於原 agent 之 See Also 加指變之交引
- 於變之 See Also 加指原之交引
.claude/agents/指agents/之符鏈使變自可察
得:登條與 agent frontmatter 匹。變:total_agents 等實 agent 數。
敗:以 grep -c "^ - id:" agents/_registry.yml 計條並驗匹 total_agents。
七:驗演 agent
行全驗表:
- agent 文於期徑存
- YAML frontmatter 解而無誤
-
version已升(改)或設 "1.0.0"(變) -
updated反今 - 諸必節在:Purpose、Capabilities、Available Skills、Usage Scenarios、Examples、Limitations、See Also
- frontmatter 技與 Available Skills 節匹
- 諸技 ID 存於
skills/_registry.yml - 默技(
meditate、heal)非核法則不列 - 工列循最少權原則
- 登條存且與 frontmatter 匹
- 變:
total_agents計匹碟上實數 - 交引雙向(原 ↔ 變)
-
git diff示無偶去原容
# Verify frontmatter
head -20 agents/<agent-name>.md
# Check skills exist
for skill in skill-a skill-b; do
grep "id: $skill" skills/_registry.yml
done
# Count agents on disk vs registry
ls agents/*.md | grep -v template | wc -l
grep total_agents agents/_registry.yml
# Review all changes
git diff
得:諸表項過。演 agent 可 commit。
敗:各敗項獨處。演後最常議:Available Skills 中技 ID 舊、忘之 updated 日。
驗
- agent 文存且有效 YAML frontmatter
-
version欄反改 -
updated日現 - 諸節在並內一致
- frontmatter
skills陣與 Available Skills 節匹 - 諸技 ID 存於
skills/_registry.yml - 默技不冗列
- 登條匹 agent 文
- 變:
agents/_registry.yml中新條徑正 - 變:
total_agents計已更 - 交引有效(See Also 無斷鏈)
- 含譯之改:諸地文
source_commit已更 -
git diff證無偶去容
忌
- 忘升版:無升則無法追何變何時。commit 前必更 frontmatter 之
version與updated - 演後譯舊:庫中 1,288+ 譯文,每 agent 演觸至多 4 地舊。必以
ls i18n/*/agents/<agent-name>.md察譯並各更source_commit,或於 commit 信中旗重譯 - 技列漂:frontmatter
skills陣與## Available Skills節須同。更一不更他致人與工具亂 - 冗列默技:加
meditate或heal於 frontmatter 而登已繼。唯核法時列(如mystic、alchemist) - 演時過備工:「備用」而加
Bash或WebFetch。每加工須以特新能證 - 變後 See Also 舊:造變時原與變須互引。單向留圖不全
- 登條不更:改 agent 之技、工、述後,
agents/_registry.yml條須更匹。舊登致察與工具敗
參
create-agent— 造新 agent 之基;evolve-agent 設此先循evolve-skill— 演 SKILL.md 之並行行commit-changes— 以述信 commit 演 agent
GitHub 저장소
연관 스킬
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을 선택하십시오.
