Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

managing-agents管理 Agent 人

Agent Skill

managing-agents 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

212

周安装

9

GitHub Stars

215

下载量

74
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/mbruhler/claude-orchestration --skill managing-agents

简介

managing-agents 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 建议结合原始 README 核验具体用法后再部署到生产环境。

SKILL.md

Managing Orchestration Agents

I manage the lifecycle of agents in the orchestration system: creation, execution, promotion, and cleanup.

When I Activate

I automatically activate when you:

  • Create or define custom agents
  • Ask about agent lifecycle
  • Mention temp agents or agent promotion
  • Want to understand agent namespacing
  • Ask "how do I create an agent?"

Agent Types

Built-in Agents

No namespace prefix, always available:

  • Explore - Codebase exploration
  • general-purpose - General-purpose tasks
  • code-reviewer - Code review
  • implementation-architect - Architecture planning
  • expert-code-implementer - Code implementation

Plugin Defined Agents

With orchestration: prefix, permanent agents in this plugin:

  • orchestration:workflow-socratic-designer
  • orchestration:workflow-syntax-designer
  • Custom agents you promote

Located in: agents/ directory Registry: agents/registry.json

Temp Agents

With orchestration: prefix, workflow-specific ephemeral agents:

  • Created during workflow design
  • Saved in temp-agents/ directory
  • Auto-cleaned after workflow execution
  • Can be promoted to permanent

Reference in workflows: $agent-name

Temp Agent Lifecycle

See temp-agents.md for complete guide.

1. Creation

Created automatically during workflow design:

---
name: security-scanner
description: Scans for security vulnerabilities
created: 2025-01-08
---

You are a security expert specializing in vulnerability detection...

Saved to: temp-agents/security-scanner.md

2. Execution

Referenced in workflow with $ prefix:

$security-scanner:"Scan codebase":findings ->
general-purpose:"Analyze {findings}"

Executed with namespace: orchestration:security-scanner

3. Promotion

After workflow completion, you can save temp agents:

Workflow complete!

Temp agents created:
  - security-scanner
  - performance-profiler

Save as permanent agents? [Y/n]

If saved:

  • Moved from temp-agents/ to agents/
  • Added to agents/registry.json
  • Available in all future workflows
  • No need to recreate

4. Cleanup

Unsaved temp agents are deleted:

🧹 Cleaned up 2 temporary file(s):
   - temp-agents/security-scanner.md
   - examples/workflow-data.json

Creating Defined Agents

See defined-agents.md for detailed guide.

To create a permanent agent manually:

1. Create Agent File

agents/custom-agent.md:

---
name: custom-agent
namespace: orchestration:custom-agent
description: One-line description of what this agent does
tools: [Read, Grep, Edit]
usage: "Use via Task tool with subagent_type: 'orchestration:custom-agent'"
---

You are a specialized agent for [purpose].

Your responsibilities:
1. Task 1
2. Task 2

Output format:
[Expected output format]

Use these tools:
- Read: [When to use]
- Grep: [When to use]

2. Register Agent

Add to agents/registry.json:

{
  "custom-agent": {
    "file": "custom-agent.md",
    "description": "One-line description",
    "namespace": "orchestration:custom-agent",
    "created": "2025-01-08",
    "usageCount": 0
  }
}

3. Use in Workflows

Reference by name (system adds namespace automatically):

custom-agent:"Perform specialized task":output

Namespace Conventions

See namespacing.md for complete reference.

Namespace Rules

Agent TypeUser WritesSystem Executes
Built-inExplore:"task"Explore
Defined pluginworkflow-socratic-designerorchestration:workflow-socratic-designer
Temp$security-scannerorchestration:security-scanner

Why Namespacing?

  1. Avoid conflicts - Plugin agents don't conflict with built-ins
  2. Clear identification - Know which plugin provides agent
  3. Proper routing - System knows where to find agent

Resolution Algorithm

function resolveAgent(name) {
  // 1. Check if built-in
  if (isBuiltIn(name)) return name;

  // 2. Check if other plugin (e.g., superpowers:)
  if (name.includes(':')) return name;

  // 3. Add orchestration namespace
  return `orchestration:${name}`;
}

Agent Promotion Process

See promotion.md for details.

After workflow execution with temp agents:

1. Review Phase

Temp agents used in this workflow:

1. security-scanner
   Description: Scans for security vulnerabilities
   Used: 1 time in workflow

2. performance-profiler
   Description: Analyzes code performance
   Used: 1 time in workflow

Select agents to save (space-separated numbers, or 'none'):

2. Selection

You selected: security-scanner

Promotion options:
[P]romote as-is - Save with current definition
[E]dit first - Modify before saving
[S]kip - Don't save this agent

3. Promotion

If promoted:

  1. File moved from temp-agents/ to agents/
  2. Entry added to agents/registry.json
  3. Confirmation message shown

4. Cleanup

Unselected agents are deleted

Agent Maintenance

Updating Agents

To update a defined agent:

  1. Edit agents/agent-name.md
  2. Update description/responsibilities/tools
  3. Optionally update agents/registry.json metadata

Changes take effect immediately in new workflows.

Deleting Agents

To remove a defined agent:

  1. Delete agents/agent-name.md
  2. Remove entry from agents/registry.json

Agent will no longer be available in workflows.

Agent Usage Statistics

Track agent usage in agents/registry.json:

{
  "security-scanner": {
    "usageCount": 15,
    "lastUsed": "2025-01-08T14:30:00Z"
  }
}

Best Practices

Creating Agents

DO:

  • Make prompts comprehensive and specific
  • Include clear output format requirements
  • Recommend appropriate tools
  • Handle edge cases
  • Define success criteria

DON'T:

  • Create for simple one-line tasks
  • Make too generic ("do analysis")
  • Forget error handling
  • Skip tool recommendations

Promoting Agents

Promote when:

  • Agent is reusable across workflows
  • Well-tested and reliable
  • Provides domain-specific expertise
  • Saves time in future workflows

Don't promote when:

  • One-time use only
  • Too specific to single workflow
  • Untested or unreliable
  • Duplicates existing agent

Naming Agents

Good names:

  • security-scanner (clear purpose)
  • api-doc-generator (descriptive)
  • performance-profiler (specific)

Bad names:

  • helper (too generic)
  • agent1 (meaningless)
  • do-stuff (vague)

Common Issues

"Agent not found" error:

  • Check spelling of agent name
  • Verify temp agent file exists in temp-agents/
  • Ensure defined agent in agents/ and registry
  • Check if agent was already cleaned up

Namespace conflict:

  • Built-in agents don't need prefix
  • Plugin agents automatically prefixed
  • Don't manually add orchestration: in workflows

Temp agent disappeared:

  • Temp agents auto-deleted after workflow
  • Save important agents during promotion phase
  • Check cleanup logs for what was deleted

Registry Structure

agents/registry.json:

{
  "$schema": {
    "description": "Registry of defined agents",
    "namespace": "orchestration:",
    "usage": "All agents accessed via 'orchestration:{agent-name}'"
  },
  "agent-name": {
    "file": "agent-name.md",
    "description": "One-line description",
    "namespace": "orchestration:agent-name",
    "created": "2025-01-08",
    "usageCount": 0,
    "lastUsed": null
  }
}

Examples

See examples in:

Related Skills

  • creating-workflows: Create workflows that use agents
  • executing-workflows: Execute workflows with agents
  • designing-syntax: Design custom syntax for agents

Need to create or manage agents? Just ask!

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.25%
按下载量换算27

Claude

30.37%
按下载量换算22

Cursor

18.92%
按下载量换算14

Gemini CLI

8.15%
按下载量换算6

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills