agents-manager
БесплатноБез исполняемых скриптовНе проверенBranch skill for building and improving agents. Use when creating new agents, adapting marketplace agents, validating agent structure, writing system prompts…
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
Agents Manager - Branch of JARVIS-03
Build and improve agents following the agents-management policy.
Policy Source
Primary policy: JARVIS-03 → .claude/skills/agents-management/SKILL.md
This branch executes the policy defined by JARVIS-03. Always sync with Primary before major operations.
Quick Decision Tree
Task Received
│
├── Create new agent? ───────────────> Workflow 1: Build
│ └── What complexity?
│ ├── Simple (responder) ──────> Pattern 3: Small (2-4k words)
│ ├── Developer ───────────────> Pattern 2: Medium (3-8k words)
│ └── Architect ───────────────> Pattern 1: Large (10k+ words)
│
├── Adapt marketplace agent? ────────> Workflow 3: Adapt
│
├── Fix existing agent? ─────────────> Workflow 2: Improve
│
└── Validate agent? ─────────────────> Validation Checklist
Agent Overview
Agents are autonomous subprocesses that handle complex, multi-step tasks independently.
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
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
Validation:
✅ Valid: code-reviewer, test-gen, api-analyzer-v2
❌ Invalid: ag (too short), -start (starts with hyphen), my_agent (underscore)
Rules:
- 3-50 characters
- Lowercase letters, numbers, hyphens only
- Must start and end with alphanumeric
- No underscores, spaces, or special characters
Good examples:
code-reviewertest-generatorapi-docs-writersecurity-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:
- Triggering conditions ("Use this agent when...")
- Multiple
<example>blocks showing usage - Context, user request, and assistant response in each example
<commentary>explaining why agent triggers
Length: 10-5,000 characters Best: 200-1,000 characters with 2-4 examples
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.
| Option | Description | Use For |
|---|---|---|
inherit |
Same as parent (recommended) | Default choice |
sonnet |
Claude Sonnet (balanced) | Developers, debuggers |
opus |
Claude Opus (most capable) | Architects, complex decisions |
haiku |
Claude Haiku (fast, cheap) | Simple validators, quick tasks |
color (required)
Visual identifier for agent in UI.
| Color | Use For |
|---|---|
| blue/cyan | Analysis, review, architecture |
| green | Generation, creation, success |
| yellow | Validation, caution, warnings |
| red | Security, critical, destructive |
| magenta | Creative, transformation |
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
Common tool sets:
| Use Case | Tools |
|---|---|
| Read-only analysis | ["Read", "Grep", "Glob"] |
| Code generation | ["Read", "Write", "Grep"] |
| Testing | ["Read", "Bash", "Grep"] |
| Full access | Omit field or use ["*"] |
Best practice: Limit tools to minimum needed (principle of least privilege)
Workflow 1: Build New Agent
Step 1: Define Agent Purpose
Answer these questions:
- What domain does this agent specialize
Установить agents-manager в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл agents-manager?
Branch skill for building and improving agents. Use when creating new agents, adapting marketplace agents, validating agent structure, writing system prompts, or improving existing agents. Triggers: 'create agent', 'improve agent', 'validate agent', 'fix agent', 'agent frontmatter', 'system prompt', 'adapt agent', 'customize agent', 'agent examples', 'agent tools'.
Как установить скилл agents-manager?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agents-manager запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic