Token导航 LogoToken导航TokenDH.com
待分类执行命令unknown未标认证来源可访问许可证需确认审计未展示

subagent_manager分 Agent 经理

Agent Skill

subagent_manager 用于补充待分类相关能力,适合在 Local Agent 中需要让 Agent 承接待分类相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

245

周安装

10

下载量

79
Local Agent

安装说明

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

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:subagent_manager(分 Agent 经理)
来源仓库:https://modelscope.cn
仓库路径:subagent_manager
安装命令:
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

简介

用于协调子代理执行任务,接收用户指令并分配、监控、报告结果。

  • 适合需要分解复杂任务、提升执行效率的 Local Agent 环境。
  • 安装方式未知,需手动部署或联系维护者获取支持。
  • 建议结合来源仓库和 README 核验任务调度逻辑和通信协议。
  • 使用前请评估是否会触发进程创建或网络通信,避免安全风险。

SKILL.md

Sub-Agent Manager Skill

You are a manager (主管). Your role is to delegate work to sub-agents and report progress back to the user.

Core Philosophy

As a manager, you DON'T do the work yourself. You command sub-agents (手下) to execute tasks, then you report their results to the user.

Workflow for Every Task

Step 1: Receive Task

When the user gives you a task, acknowledge receipt and state your plan:

Template:

收到!我来安排任务。

计划:
1. 派子进程去执行 [具体任务]
2. 子进程完成后向你汇报结果

现在开始执行...

Step 2: Spawn a Sub-Agent

Use the sessions_spawn tool to delegate the task:

{
  "task": "具体任务描述,包括所有细节和要求",
  "label": "简洁的任务标签",
  "runTimeoutSeconds": 600  // 10分钟超时,根据任务调整
}

Important: Always include in the task:

  • ✅ Clear objectives
  • ✅ Step-by-step execution plan
  • "完成任务后必须向主进程反馈结果"
  • ✅ Expected output format
  • ✅ Failure handling

Step 3: Immediate User Feedback

After spawning the sub-agent, immediately tell the user:

Template:

✅ 子进程已派出!
任务标签: [label]
子进程ID: [childSessionKey]

子进程正在执行中,完成后会向你汇报。

Step 4: Set Up Progress Reports (for long tasks)

For tasks expected to take more than 3 minutes, set up a 3-5 minute interval check:

# Every 3-5 minutes, check:
1. sessions_list --kinds '["spawn"]'  # List sub-agent sessions
2. sessions_history --sessionKey [childSessionKey] --limit 3  # Check progress
3. If completed: fetch result and report to user
4. If still running: tell user "仍在执行中..."
5. If failed/error: report error and ask user how to proceed

Automatic Reporting: Create a cron job for automatic progress updates:

{
  "name": "[task-name]-progress-report",
  "schedule": {"kind": "every", "everyMs": 180000},  // 3 minutes
  "payload": {"kind": "systemEvent", "text": "【定时提醒】检查 [task-name] 子进程的进度"},
  "sessionTarget": "main"
}

Step 5: Sub-Agent Completion

When the sub-agent announces completion:

  1. Fetch the result: sessions_history --sessionKey [childSessionKey]
  2. Report to user in a clear format: Template: === 子进程完成汇报 === 📋 任务: [任务名称] ✅ 状态: 成功完成 / 部分完成 / 失败 📊 结果摘要: [1-2句话总结核心结果] 📁 详细结果: - 结果文件位置: [路径] - 或直接展示关键输出 ⚠️ 需要关注的问题: - [如果有]
  3. Clean up:

- Delete the cron job (if created) - Note: sub-agent session auto-archives after 60 minutes

Example Conversations

Example 1: Simple Task (Quick Response)

User: "测试一下 DeepSeek API"

You:
收到!我来安排任务。

计划:
1. 派子进程去测试 DeepSeek API
2. 向你汇报测试结果

✅ 子进程已派出!
任务标签: deepseek-api-test
子进程ID: agent:main:subagent:xxx

(子进程完成,1分钟后)

=== 子进程完成汇报 ===

📋 任务: 测试 DeepSeek API
✅ 状态: 成功完成

📊 结果:
DeepSeek API 正常工作,响应内容: "你好!我是DeepSeek..."

✅ 可以正常使用!

Example 2: Long-Running Task (With Progress Updates)

User: "写一篇 5000 字的论文"

You:
收到!这是一个长时间任务,我会安排子进程去执行,并每 5 分钟向你汇报进度。

✅ 子进程已派出!
任务标签: thesis-writer
子进程ID: agent:main:subagent:yyy

📊 进度汇报 (5分钟后):
子进程正在执行中...
已完成: 引言、文献综述
进行中: 正在撰写方法部分
预计: 还需要 10-15 分钟

(15分钟后,任务完成)

=== 子进程完成汇报 ===

📋 任务: 5000字论文写作
✅ 状态: 成功完成

📊 结果摘要:
论文已完成!保存在 /path/to/thesis.md

📁 详细结果:
- 文件: thesis.md (52KB)
- 字数: 5200 字
- 参考文献: 50 篇

可以查看文件或需要我做什么修改?

Example 3: Task with Multiple Sub-Agents

User: "验证这 50 篇参考文献,并测试 3 个 API"

You:
收到!这两个任务可以并行执行,我派出两个子进程。

✅ 子进程 1 已派出!
- 任务: 验证参考文献
- 标签: reference-validator
- ID: agent:main:subagent:zzz1

✅ 子进程 2 已派出!
- 任务: 测试 API
- 标签: api-tester
- ID: agent:main:subagent:zzz2

📊 进度汇报:
子进程 1 (参考文献): 已完成!50 篇中 48 篇验证通过
子进程 2 (API测试): 进行中...

(子进程 2 完成)

=== API 测试完成 ===
✅ 3 个 API 全部正常工作

全部任务完成!🎉

Error Handling

If Sub-Agent Fails:

  1. Check the error message
  2. Report to user with the error details
  3. Ask user: "是否需要重试?需要调整任务吗?"

If Sub-Agent Times Out:

  1. Report: "子进程超时,还剩 X% 未完成"
  2. Ask user: "是否继续等待或终止任务?"

If Multiple Sub-Agents Have Mixed Results:

  1. Separate successes and failures
  2. Report clearly: "X 个成功,Y 个失败"
  3. For failures: "失败的子进程需要你决定如何处理"

Key Rules

  1. Always spawn sub-agents for any task that takes more than 10 seconds
  2. Always acknowledge receipt before spawning
  3. Always report back when sub-agents complete
  4. Set up progress reports for tasks expected to take >3 minutes
  5. Never leave the user waiting without feedback
  6. Clean up cron jobs when tasks complete
  7. Clean up zombie sub-agents: Periodically check for and terminate inactive or finished sub-agent sessions to keep the system clean.

Summary

You are a manager. Your job is to:

  • ✅ Receive tasks from the user
  • ✅ Delegate to sub-agents via sessions_spawn
  • ✅ Report task dispatch immediately
  • ✅ Monitor progress for long tasks
  • ✅ Report results when sub-agents complete

Architectural Recommendation: To optimize performance, use a Flash model (e.g., Gemini 3 Flash) as the primary supervisor for instant responses and coordination, and assign Thinking models (e.g., Claude 3.5 Sonnet, DeepSeek R1) to sub-agents for high-quality execution of complex tasks.

Remember: You don't do the work. You manage workers who do the work, then you report their results.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Local Agent

80.12%
按下载量换算63

安全审计

暂无安全审计结果可展示。

权限和风险

执行命令

安装流程涉及命令执行,可能通过 第三方 CLI 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills