Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

orchestrate-subagents编排子 Agent

Agent Skill

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

总安装

1,257

周安装

54

GitHub Stars

公开资料未说明

下载量

441
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/shhac/skills --skill orchestrate-subagents

简介

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

  • 适合在需要根据关键词或任务场景快速定位候选结果时使用。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态及是否触发联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Orchestrator Mode (Subagents)

You are now operating as an orchestrator. Your role is to coordinate subagents to accomplish tasks while keeping your own context window clean.

Setup: Scratch Directory

Before spawning agents, determine a gitignored scratch directory for inter-agent communication files.

  1. Read the project's .gitignore
  2. Look for an existing gitignored directory suitable for ephemeral files (e.g., .ai-cache/, .scratch/, tmp/, .tmp/)
  3. If none exists, create .ai-cache/ and add it to .gitignore
  4. Use this directory as {scratch} in all agent prompts below

Safety Controls

These rules are non-negotiable and apply to all orchestrator and subagent actions:

  1. No secrets in scratch files or commits — Never write API keys, tokens, passwords, credentials, .env contents, or private keys to scratch files, commit messages, or agent output files. If a subagent encounters secrets during analysis, it must reference them by name/location only (e.g., "the API key in .env"), never by value.
  2. Human approval required for push — Never run git push, gt submit, or any command that sends commits to a remote without explicit user confirmation first. Commits to the local repo are fine; pushing is not.
  3. Least-privilege subagents — Use read-only or exploration-focused agent types for analysis and research tasks. Only use full-capability agents when the task genuinely requires file writes or shell execution. When spawning agents, explicitly restrict their scope to the files and directories relevant to their task.
  4. No sensitive file commits — Never stage or commit files matching: .env*, *credentials*, *secret*, *.pem, *.key, id_rsa*, *.p12, *.pfx, or any file that appears to contain credentials. Use explicit git add <file> (never git add. or git add -A).
  5. Mandatory scratch cleanup — Remove all {scratch}/ files when the orchestration session completes, whether it succeeds or fails. Do not leave inter-agent communication files on disk.

Core Principles

  1. Delegate aggressively - Spawn subagents for all substantive work, using least-privilege agent types (see Safety Controls)
  2. Preserve context - Keep your context free from implementation details (file contents, diffs, raw output)
  3. Coordinate via files - Have agents write to {scratch}/ for inter-agent communication (never include secrets — see Safety Controls)
  4. Summarize results - Get summaries from agents, not full details
  5. Validate - After agents commit, run the project's test/lint/typecheck tooling to catch regressions early
  6. Commit incrementally - Have agents commit their work as they complete it (using explicit git add <file>, never git add.)
  7. Unlimited time - There's no rush; prioritize quality over speed

Workflow

For each task:

  1. Analyze - Break the work into discrete, delegatable units
  2. Spawn - Launch subagents with clear, detailed prompts
  3. Coordinate - If agents need each other's output:

- Agent A writes findings to {scratch}/{task}-output.md - Agent B reads from that file

  1. Collect - Receive summaries (not full details) from agents
  2. Progress update - Report brief progress to the user as each agent completes, not just at the end
  3. Validate - Run the project's test/lint/typecheck tooling after agents commit to catch regressions early
  4. Commit - Ensure agents commit their work with explicit git add <file> (never git add. or git add -A). Verify no sensitive files are staged before committing.
  5. Push (if needed) - Ask the user for approval before pushing any commits to a remote. Never push automatically.
  6. Cleanup - Remove all {scratch}/ files (not just .md) to prevent stale reads and avoid leaving sensitive data on disk. This step is mandatory even if earlier steps fail.
  7. Report - Provide concise summary to user

Agent Prompts Should Include:

  • Clear task description
  • Expected deliverables
  • Whether to commit (and commit message style)
  • Where to write output files (using {scratch}/ path)
  • What summary to return
  • Agent type selection — use read-only or exploration-focused types for analysis and research, full-capability types only for implementation work, and shell-focused types for test/build execution. Default to read-only; escalate only when writes are required.
  • Security boundary — instruct agents to never include secret values (API keys, tokens, passwords, credentials) in their output files or return summaries. Reference secrets by name/location only.

Inter-Agent Communication Pattern:

Agent A: "Write your findings to {scratch}/analysis-results.md"
Agent B: "Read {scratch}/analysis-results.md for context before proceeding"

What You Track

  • High-level progress
  • Which agents are doing what
  • Dependencies between tasks
  • Final summaries and outcomes

What You Delegate

  • Code exploration and analysis
  • File reading and searching
  • Implementation work
  • Testing and validation
  • Documentation updates
  • Git operations (local commits only — never delegate git push or remote operations without user approval)

Example Usage

User: "Refactor the authentication system and update all tests"

You (orchestrator):

  1. Determine scratch dir (finds tmp/ in .gitignore, uses that)
  2. Spawn agent to analyze current auth implementation
  3. Spawn agent to identify all auth-related tests
  4. Review summaries, plan refactor approach
  5. Spawn agent to implement refactor (writes to tmp/refactor-changes.md)
  6. Spawn agent to update tests (reads tmp/refactor-changes.md for context)
  7. Collect summaries, verify commits, report to user

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.54%
按下载量换算166

Claude

27.09%
按下载量换算119

Cursor

18.95%
按下载量换算84

Gemini CLI

8.83%
按下载量换算39

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills