manage-agents
БесплатноБез исполняемых скриптовНе проверенCreates, modifies, and manages Claude Code subagents by writing agent files with YAML frontmatter, system prompts, and tool configurations. Use when you need…
от majiayu000★ 31 звезда на GitHubОб этом скилле
Manage Agents
Create and manage specialized Claude Code subagents with custom capabilities, tool access, and expertise domains.
Use this skill when you need to:
- Create new subagents for specialized tasks
- Modify existing agent configurations
- Set up domain experts (Python, Neo4j, Testing, etc.)
- Configure tool access and MCP server permissions
- Understand agent structure and best practices
Quick Start
To create a new agent:
- Understand the Need: What specialized capability or domain expertise is needed?
- Choose Location: Project-level (.claude/agents/) or user-level (~/.claude/agents/)
- Define Configuration: Name, description, model, tools, and permissions
- Write System Prompt: Clear instructions for the agent's specialized role
- Test & Validate: Invoke with @agent-name and verify behavior
Table of Contents
Core Sections
-
- Step 1: Analyze Requirements - Determine expertise domain, tool needs, and location
- Step 2: Create Agent File - Choose project vs user location
- Step 3: Write Agent Configuration - YAML frontmatter template
- Step 4: Configure Tool Access - Explicit tools, all tools, or no tools
- Step 5: Configure MCP Access - Specific servers, all servers, or all resources
- Step 6: Select Model - Sonnet, Opus, or Haiku based on complexity
- Step 7: Write System Prompt - Clear, actionable, quality-focused instructions
- Step 8: Test the Agent - Verify behavior and tool access
- Step 9: Document Integration - Update dispatch.md and CLAUDE.md
-
- Pattern 1: Domain Expert - Read-only analysis and recommendations
- Pattern 2: Code Generator - Write access with quality gates
- Pattern 3: Orchestrator - Planning agent that delegates
- Pattern 4: Quality Guardian - Read-only validation
- Pattern 5: Integration Specialist - MCP-focused agent
Supporting Resources
- Configuration Reference - Complete field documentation
Utility Scripts
- Agent Detection - Detect @agent-name patterns in prompts
- Agent Memory Creation - Create MCP memory entries for agents
- Agent Validation - Validate agent file format and configuration
Advanced Topics
- Troubleshooting
- Validation - Validate agent files with script
- Quality Checklist - Pre-finalization checklist
- Advanced: Agent Chaining - Agent-to-agent delegation
- Advanced: Dynamic Selection - Autonomous agent selection
- Integration with This Project - Project-specific guidance
Instructions
Step 1: Analyze Requirements
Before creating an agent, determine:
- Expertise Domain: What specialized knowledge does this agent need?
- Tool Requirements: Which tools should be allowed/restricted?
- Context Needs: Does it need access to project files, memory, or MCP servers?
- Location: Project-specific (.claude/agents/) or user-wide (~/.claude/agents/)?
- Model Selection: Does this need Sonnet, Opus, or Haiku?
Step 2: Create Agent File
Project Agent (checked into git):
# Location: .claude/agents/my-specialist.md
User Agent (personal, not in git):
# Location: ~/.claude/agents/my-specialist.md
Priority: Project agents override user agents with the same name.
Step 3: Write Agent Configuration
Use this template:
---
name: agent-name
description: Clear description of what this agent does and when to use it
model: claude-sonnet-4
tools:
- Read
- Write
- Grep
- Glob
- Bash
mcp_servers:
- server-name
allow_all_tools: false
allow_all_mcp_servers: false
allow_mcp_resources_from_all_servers: false
---
# Agent Name - Specialized Role
You are a specialized agent focused on [domain/task]. Your expertise includes:
- [Key capability 1]
- [Key capability 2]
- [Key capability 3]
## Your Responsibilities
1. **[Primary Responsibility]**: Clear description
2. **[Secondary Responsibility]**: Clear description
3. **[Quality Standards]**: What standards you uphold
## Tools Available
You have a
Установить manage-agents в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteGrepGlobBashВложенные файлы
FAQ
Что делает скилл manage-agents?
Creates, modifies, and manages Claude Code subagents by writing agent files with YAML frontmatter, system prompts, and tool configurations. Use when you need to "create an agent", "modify an agent", "set up a specialist", "I need an agent for [task]", "agent to handle [domain]", or "configure agent tools". Covers agent file format, YAML frontmatter, system prompts, tool restrictions, MCP integration, model selection, and testing.
Как установить скилл manage-agents?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл manage-agents запускает скрипты?
Нет, скилл состоит только из инструкций (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