agentleFS
fengsihao23-engfengsihao23-eng/shen-hua/skills/subagent-orchestrator/SKILL.md

subagent-orchestrator

Skill1 starsChanged 6 months agoMITView on GitHub

Shen-Hua orchestration workflow for coordinating multiple Codex subagents or simulated specialist roles. Use when the user explicitly asks for subagents, parallel agents, delegation, or multi-agent work, or when a complex task can be split into independent explorer, architect, worker, tester, reviewer, or docs-researcher streams under the current runtime policy.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. flc1125/skills★ 35same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository9 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when:

    line 12
  2. Distinctive:

    Do not use this skill when:

    line 19
  3. Distinctive:

    Keep working locally while subagents run.

    line 46
  4. Distinctive:

    Wait only when the result is needed for the next step.

    line 47
  5. Very specific:

    Update .agent/ memory with assignments, results, and integration status.

    line 49
  6. Very specific:

    Use $deep-planner before orchestration if the task is not yet decomposed.

    line 64
  7. Very specific:

    Use $verification-loop after integrating any edits.

    line 65
  8. Very specific:

    Use $self-reviewer after integration.

    line 66
  9. Very specific:

    Use $handoff-writer before ending.

    line 67

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Subagent Orchestrator

Subagent Orchestrator splits complex work into bounded specialist tasks while keeping one main agent responsible for integration and final correctness.

Trigger Conditions

Use this skill when:

  • The user asks for subagents, custom agents, delegation, parallel work, or multi-agent execution.
  • $project-commander identifies independent work streams that can run in parallel.
  • Research, implementation, tests, and review can be separated without overlapping write sets.

Do Not Trigger

Do not use this skill when:

  • The runtime has no subagent tool and simulated roles add no value.
  • The next critical-path step is blocked on the delegated work.
  • Tasks would duplicate each other or write to the same files without a merge plan.
  • Current tool policy requires explicit user permission and the user has not provided it.

Role Catalog

  • explorer: answer a specific codebase question; read-only.
  • architect: assess design options and risks; usually read-only.
  • worker: implement a bounded change with explicit file/module ownership.
  • tester: run focused verification and report failures.
  • reviewer: inspect diffs for bugs, regressions, and missing tests.
  • docs-researcher: check external or local docs when current information may have changed.

Orchestration Workflow

  1. State the local critical path: what the main agent will do immediately.
  2. Split only independent sidecar tasks.
  3. For each subagent task, specify:
    • role
    • objective
    • allowed files/modules
    • forbidden files/modules
    • expected output
    • whether edits are allowed
  4. Spawn real subagents only if available and permitted. Otherwise, run the role sequence locally.
  5. Keep working locally while subagents run.
  6. Wait only when the result is needed for the next step.
  7. Integrate outputs. Review any subagent code before trusting it.
  8. Update .agent/ memory with assignments, results, and integration status.

Required .agent/ Updates

Always update:

  • .agent/TASKS.md: add each delegated task and owner/role.
  • .agent/LOG.md: record spawned or simulated agents, prompts, results, and integration notes.
  • .agent/HANDOFF.md: list active/completed subagent streams and unresolved dependencies.

Update when relevant:

  • .agent/DECISIONS.md: delegation strategy, accepted design choice, or merge decision.
  • .agent/PLAN.md: phase changes caused by findings.

Other Skills

  • Use $deep-planner before orchestration if the task is not yet decomposed.
  • Use $verification-loop after integrating any edits.
  • Use $self-reviewer after integration.
  • Use $handoff-writer before ending.

Verification

Subagents do not replace verification. After integration, the main agent must run or follow $verification-loop.

Output Format

ORCHESTRATION PLAN
Main-agent critical path:
Delegated streams:
- Role:
  Objective:
  Scope:
  Output:
  Status:
Integration plan:
Verification plan:

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.