agentleFS
YuY-QKYuY-QK/agent-kit/skills/orchestrate/SKILL.md

orchestrate

Skill0 starsChanged 22 days agoMITView on GitHub

Run work across subagents as the main thread — choose models by difficulty, decide how many to run at once, write the tasks, merge the results and report once per stage. Use it when a task is split into delegated or parallel parts (batches of similar items, multi-module changes, inventories); don't use it for a small change you can simply do yourself.

169 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use define-requirements, orchestrate-plan and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • sson0-erSkill

    define-requirements

    Work with the user, one question at a time, to complete the requirements document (docs/claudex/<slug>/01-requirements.md). Run by the orchestrator (parent). Stays out of design and implementation.

    Also in 3 projects that use this

  • EternallLightSkill

    orchestrate-plan

    Use when executing a locked, reviewed PLAN.md by delegating the implementation to visible worker agents in Orca, herdr, or cmux ONE PHASE at a time — splitting the plan into context-window-sized phases, giving every phase a pristine worker context, and (when the plan touches INDEPENDENT repos) running one worker per repo IN PARALLEL. Triggers on "run the plan with a worker", "execute the plan in the other pane", "split the plan into phases and build it with workers", "build the backend and frontend in parallel panes". Not for edits you can finish inline; outside Orca, herdr, or cmux use tgc-skills:orchestrate.

    Also in 3 projects that use this

  • sson0-erSkill

    record-evidence

    How to record external facts (docs, command output, codebase findings) as evidence and design choices as decisions. Used by the researcher, designer and reviewer agents.

    Also in 3 projects that use this

  • PinkneyJiangSkill

    improve-architecture

    扫描代码库中的架构摩擦点,识别浅模块并挖掘深模块演进机会。生成可视化交互式 HTML 诊断报告,并在用户确认后闭环实施深度重构。

    Also in 4 projects that use this

  • kjnezSkill

    ticket

    Work on a JIRA/Linear ticket end-to-end: read ticket details, explore codebase, create a branch, implement with TDD, run quality checks, update ticket status, and create a PR. Use when the user provides a ticket ID to implement. Triggers on requests like "/ticket PROJ-123", "work on this ticket", "implement PROJ-123".

    Also in 4 projects that use this

  • xfstudioSkill

    reverse-engineer

    Expert reverse engineer specializing in binary analysis,

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 151 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write every task so it can be done without this conversation: the goal, the documents and files to read, the files it may change, the …

    line 13
  2. Distinctive:

    Don't delegate what is quicker to do yourself, such as a few lines of change or a single lookup.

    line 14
  3. Distinctive:

    Never give a subagent the strongest tier.

    line 24
  4. Distinctive:

    If the remaining usage isn't enough to finish a task, don't start it: an interrupted task has to re-read its context when it resumes.

    line 31
  5. Distinctive:

    Read only the summary each subagent returns, not its full transcript.

    line 36
  6. Distinctive:

    After merging, run one quick local check.

    line 38
  7. Distinctive:

    Do fact-checking (items marked "to verify") and content review once per batch, not inside every task.

    line 39
  8. Distinctive:

    Don't send progress messages in the middle of a stage.

    line 44
  9. Distinctive:

    Update the progress summary at the end of each stage.

    line 45

“Common” is measured: kept by at least 6 in 10 of the 151 edited versions of this file we could read. “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

Orchestrate subagents

You are the main thread. You plan, decide, review and merge; subagents do bounded pieces of work. The goal is to finish with the least total usage without losing quality.

Before starting

  • Work from the plan in the project's progress summary (docs/progress.md unless the project's AGENTS.md names another file). Split only what the plan covers; confirm anything outside it with the user first.
  • Write every task so it can be done without this conversation: the goal, the documents and files to read, the files it may change, the branch, the done-criteria, and the summary format (see the agent briefs below).
  • Don't delegate what is quicker to do yourself, such as a few lines of change or a single lookup.

Choose the model by difficulty

WorkWho does itModel tier (Claude Code)
Specifications, architecture decisions, final reviewThe main thread itselfStrongest (opus)
Implementing or migrating a bounded piecetask-worker subagentBalanced (sonnet)
Read-only inventories, lookups, merging, running checksrepo-scout or task-workerFastest (haiku) or balanced
  • Never give a subagent the strongest tier. If a piece needs it, it is design work, and the main thread does it.
  • In tools that can't choose a model per subagent, keep the same division of who does what.

Usage

  • Running several subagents at once doesn't change total usage. Usage is saved only by making each task cost less, keeping the main thread's context short, and matching the model to the difficulty.
  • Choose how many to run at once only so that you don't hit a usage limit halfway through a task; normally one or two.
  • If the remaining usage isn't enough to finish a task, don't start it: an interrupted task has to re-read its context when it resumes.
  • Give one subagent at most two closely related items. More makes its context long and the quality drops.

Merge and verify

  • Read only the summary each subagent returns, not its full transcript.
  • Requests to change shared files arrive in the summaries; decide and make those changes yourself, once, after reading all of them.
  • After merging, run one quick local check. Leave the full test suite to CI when the project has CI.
  • Do fact-checking (items marked "to verify") and content review once per batch, not inside every task.
  • At the end of a stage, look at one or two screenshots of the result yourself if visual quality matters; subagents don't look at screenshots.

Report and context

  • Don't send progress messages in the middle of a stage. At the end of each stage, report once: what was done, how many subagents ran and with which models, verification results, and open items.
  • Update the progress summary at the end of each stage. When the main conversation gets long, tell the user to start a new session; it continues from AGENTS.md and the summary.

Agent briefs

The agents/ folder next to this file holds the briefs that subagents follow. Each brief is the only place its rules are written.

  • task-worker — implements one bounded task and returns a fixed-format summary.
  • repo-scout — answers read-only questions about the code and documents.

In Claude Code, agent-kit installs these as user-level agents (~/.claude/agents/), so you can start them by name. In tools without agent definitions, include the text of the brief (without its front matter) at the top of the subagent's task.

A project can add its own agents with project-specific rules (for example in .claude/agents/). Give them different names, and put only what is specific to the project in them; the general rules stay in these briefs.

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.