Token导航 LogoToken导航

Agent Skill · 开发

manage-agents(管理 Agent)

manage-agents 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

manage-agents 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 18,888。

总安装 310周安装 8GitHub Stars 1下载 65核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:manage-agents(管理 Agent)
来源仓库:https://github.com/dawiddutoit/custom-claude
仓库路径:skills/manage-agents
安装命令:
npx skills add https://github.com/dawiddutoit/custom-claude --skill manage-agents
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dawiddutoit/custom-claude --skill manage-agents

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

用于处理 GitHub 仓库和协作信息。适合围绕代码变更或 Agent 管理事项整理。通过 GitHub 安装,需确认权限和维护状态。可能触发网络请求或文件操作。manage-agents 属于开发类 Skill,可作为该场景下的辅助能力补充。建议参考原始文档了解具体应用场景。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/manage-agents

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/dawiddutoit/custom-claude --skill manage-agent…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

manage-agents 怎么安装?

在终端执行 npx skills add https://github.com/dawiddutoit/custom-claude --skill manage-agents。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

manage-agents 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

manage-agents 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

manage-agents 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

manage-agents 用的人多吗?

公开数据是累计安装 310 次,近一周安装 8 次,下载 65 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

manage-agents 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
manage-agents

管理 Agent · 本页

3101调用外部服务未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

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:

  1. Understand the Need: What specialized capability or domain expertise is needed?
  2. Choose Location: Project-level (.claude/agents/) or user-level (~/.claude/agents/)
  3. Define Configuration: Name, description, model, tools, and permissions
  4. Write System Prompt: Clear instructions for the agent's specialized role
  5. 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

Utility Scripts

Advanced Topics

- Agent not appearing in autocomplete - Tool access denied - Agent behavior incorrect - Integration issues

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 access to:
- [Tool 1]: [How to use it]
- [Tool 2]: [How to use it]
- [MCP Server]: [What it provides]

## Workflow

When invoked, follow these steps:

1. [Step 1]
2. [Step 2]
3. [Step 3]

## Quality Gates

Before completing work:
- [ ] [Quality check 1]
- [ ] [Quality check 2]
- [ ] [Quality check 3]

## Integration with Skills

You can leverage these skills:
- [Skill 1]: [When to use]
- [Skill 2]: [When to use]

## Best Practices

- [Practice 1]
- [Practice 2]
- [Practice 3]

## Examples

[Provide concrete examples of your work]

Step 4: Configure Tool Access

Option 1: Explicit Tool List (Recommended)

tools:
  - Read
  - Write
  - Grep
  - Glob
allow_all_tools: false

Option 2: Allow All Tools

allow_all_tools: true

Option 3: No Tools (Analysis/planning only)

tools: []
allow_all_tools: false

Step 5: Configure MCP Access

Option 1: Specific MCP Servers (Recommended)

mcp_servers:
  - project-watch-mcp
  - memory
allow_all_mcp_servers: false

Option 2: All MCP Servers

allow_all_mcp_servers: true

Option 3: All MCP Resources (Use sparingly)

allow_mcp_resources_from_all_servers: true

Step 6: Select Model

Choose based on task complexity:

  • claude-sonnet-4: Default, balanced performance (most agents)
  • claude-opus-4: Complex reasoning, critical decisions
  • claude-haiku-3-5: Fast, simple tasks, high volume

Default if not specified: claude-sonnet-4

Step 7: Write System Prompt

The content after YAML frontmatter is the system prompt. Make it:

  1. Specific: Define clear responsibilities and scope
  2. Actionable: Include step-by-step workflows
  3. Quality-Focused: Define standards and validation criteria
  4. Integrated: Reference skills, tools, and project patterns
  5. Example-Rich: Show concrete examples of expected work

Step 8: Test the Agent

Interactive Testing:

Invoke the agent in Claude:

@agent-name please [task description]

Programmatic Testing:

Test agents from command line using CLI tools:

# Quick test with claude_ask.py
python3 .claude/tools/agents/claude_ask.py agent-name "test question"

# Quiet mode (just the answer)
python3 .claude/tools/agents/claude_ask.py -q agent-name "test question"

# JSON output for validation
python3 .claude/tools/agents/claude_ask.py --json agent-name "test question"

# With timeout for complex tasks
python3 .claude/tools/agents/claude_ask.py agent-name "complex task" --timeout 120

For complete documentation on CLI testing tools, see:

  • CLI testing tools documentation available in project's.claude/tools/agents/ directory

Verify:

  • Agent appears in autocomplete
  • Agent has correct tool access
  • Agent follows its system prompt
  • Agent produces expected quality
  • Agent integrates with skills correctly
  • Agent responds correctly via CLI tools

Step 9: Document Integration

If this is a project agent, document in relevant files:

  • Add to agent dispatch documentation if available
  • Reference in project CLAUDE.md if core to workflow
  • Update skills that should integrate with this agent

Configuration Reference

For complete configuration field documentation, see references/reference.md.

Examples

For practical agent examples and patterns, see the utility scripts section and references/reference.md for detailed configuration examples.

Working with Agent Detection

The scripts/agent_detector_example.py script demonstrates patterns for detecting agents in hooks or tools:

The example demonstrates:

  • Using detect_agent() to identify agent mentions in user prompts
  • Getting available agents and patterns with get_available_agents()
  • Pattern matching for agent invocation (e.g., @unit-tester)
  • Integration points for hooks that need agent awareness

Run the example:

cd /Users/dawiddutoit/projects/play/temet-run/.claude
./.venv/bin/python3 skills/manage-agents/scripts/agent_detector_example.py

The script uses the shared .claude/ environment pattern:

# Setup: Add .claude to path for skill_utils
sys.path.insert(0, str(Path(__file__).parent.parent.parent.parent))

from skill_utils import ensure_path_setup, get_project_root
ensure_path_setup()

# Now import from the shared environment
import yaml

This pattern allows the script to access dependencies installed in .claude/pyproject.toml without duplicating virtual environments.

Creating Agent Core Memories

The scripts/create_agent_memories_simple.py script demonstrates programmatic memory creation:

The example demonstrates:

  • Extracting agent names and descriptions from agent files
  • Connecting to the memory MCP server using FastMCP client
  • Creating core memory entries for all agents (agent-{name}-core)
  • Batch processing of agent directory

Run the example:

cd /Users/dawiddutoit/projects/play/temet-run/.claude
uv sync --extras mcp  # Install MCP dependencies (if not already done)
./.venv/bin/python3 skills/manage-agents/scripts/create_agent_memories_simple.py

Prerequisites:

  • Neo4j memory server running
  • MCP dependencies installed via uv sync --extras mcp
  • Environment variables set: NEO4J_URL, NEO4J_USERNAME, NEO4J_PASSWORD, NEO4J_DATABASE

The script also uses the shared .claude/ environment pattern, allowing it to access yaml and fastmcp dependencies without duplicating virtual environments.

Common Patterns

Pattern 1: Domain Expert

Specialized knowledge agent with read-only access for analysis and recommendations.

Pattern 2: Code Generator

Write access with quality gates, focused on specific code patterns.

Pattern 3: Orchestrator

High-level planning agent that delegates to other agents.

Pattern 4: Quality Guardian

Read-only validation agent that checks against standards.

Pattern 5: Integration Specialist

MCP-focused agent with access to specific external tools.

Troubleshooting

Agent not appearing in autocomplete:

  • Check file is in.claude/agents/ or ~/.claude/agents/
  • Verify YAML frontmatter is valid
  • Ensure name field matches filename (without.md)

Tool access denied:

  • Check tools list in frontmatter
  • Verify allow_all_tools setting
  • Ensure MCP servers are configured correctly

Agent behavior incorrect:

  • Review system prompt clarity
  • Check for conflicting instructions
  • Verify model selection is appropriate

Integration issues:

  • Ensure skills referenced are available
  • Check MCP server connections
  • Verify project context is accessible

Validation

Use the scripts/validate_agent.py script to check agent files:

cd /Users/dawiddutoit/projects/play/temet-run/.claude
./.venv/bin/python3 skills/manage-agents/scripts/validate_agent.py agents/my-agent.md

The validation script checks:

  • Valid YAML frontmatter syntax
  • Required fields (name, description)
  • Valid tool names and model selection
  • Name matches filename
  • Description quality (includes trigger terms)
  • Non-empty system prompt

Quality Checklist

Before finalizing an agent:

  • YAML frontmatter is valid and complete
  • Description is clear and includes trigger terms
  • Tool access is appropriate (least privilege)
  • System prompt is specific and actionable
  • Quality gates are defined
  • Examples are provided
  • Integration points are documented
  • Agent tested with sample invocation
  • Documentation updated (if project agent)

Advanced: Agent Chaining

Agents can invoke other agents:

For implementation, delegate to @implementer:
@implementer please create the service class with proper dependency injection

Best Practice: Use chaining for clear separation of concerns (planning → implementation → testing).

Advanced: Dynamic Selection

Let Claude choose the right agent:

"I need help with Neo4j queries"
→ Claude autonomously selects @neo4j-expert based on description

Requirement: Agent descriptions must include trigger terms and use cases.

Integration with This Project

When creating agents for project-watch-mcp:

  1. Align with Architecture: Reference Clean Architecture layers in system prompt
  2. Follow Quality Standards: Integrate quality gates (pyright, vulture, pytest, ruff)
  3. Use Project Patterns: Reference ServiceResult, fail-fast, configuration injection
  4. Leverage Project Tools: Access to MCP tools, log_analyzer.py, check_all.sh
  5. Reference Documentation: Link to ARCHITECTURE.md, ADRs, CLAUDE.md

Resources

- Agent Detector - Detect agent mentions in prompts - Memory Creation - Create agent memory entries - Validation - Validate agent files

平台分布

Codex

37.06%
按下载量换算24

Claude

31.91%
按下载量换算21

Cursor

20.1%
按下载量换算13

Gemini CLI

8.75%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills