agentleFS
expoexpo/exact/skills/orchestrate/SKILL.md

orchestrate

Skill4.3k starsChanged 3 days agoMITView on GitHub

Run a multi-lane program to completion across the machine fleet — route coding to codex, reviews to two blind model families, supervise on a 20-minute judgment tick, and report milestone/percent/ETA with a program total. Use when the user hands over a body of work and wants it driven rather than discussed.

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

8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 151 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every wait must be harness-tracked (a background task whose exit re-invokes you, or a bounded foreground loop).

    line 56
  2. Distinctive:

    Every 20 minutes until the program is done, check in.

    line 61
  3. Distinctive:

    When you genuinely need the user, put every open question in one plain-text list.

    line 91
  4. Very specific:

    Above ~80% confidence, just decide: Do not ask. But log it under DECIDED WITHOUT ASKING in the next check-in, with the reason — an …

    line 98
  5. Distinctive:

    Stop and rethink — do not grind — when any of these fire:

    line 106
  6. Distinctive:

    Never git stash — the stash stack is global across worktrees and will apply another lane's work into yours.

    line 118
  7. Distinctive:

    When a reviewer's finding count barely moves between rounds, stop delegating the diagnosis and do it yourself.

    line 122
  8. Distinctive:

    Verify by running the thing, never by grepping for it or type-checking it.

    line 124

“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

Drive a body of work to done. You own sequencing, dispatch, and judgment. The user owns scope and the decisions you are not confident about.

Trigger

"Orchestrate this," "supervise this work," "run this program," or any handoff of a multi-part body of work where the user expects progress rather than a plan.

Posture

Decide autonomously and keep moving. The user is not a queue you block on. When you hit a fork you can resolve from the code, the brief, or a sensible default, resolve it and log it. Blocking questions are for decisions where proceeding under any assumption would be unsafe or would waste the work if wrong.

Model routing

WorkModel
Implementationcodex gpt-6.1-sol high / xhigh / ultra
Code reviewboth grok-4.7 and codex gpt-6.1-sol xhigh
Hard directional decisions, RFC/LLP refinementthe panel — see the panel skill; it replaces super-refine
Everything elseyour call

Codex: codex exec -m gpt-6.1-sol -c model_reasoning_effort=<effort>, prompt on stdin; -s read-only for reviews.

Reviews are mutually blind: two families, neither shown the other's findings, both on the same revision. Agreement across families is signal; a finding only one family raises is a hypothesis to check, not a defect to fix.

Scope every reviewer prompt: one reviewer, no spawning, no clones, no remote commands. A reviewer with bypass permissions will otherwise clone the repo and start running suites on a machine you did not assign it.

Chunk work small for xhigh — it dies under load, and a lane that dies mid-task costs more than two lanes that finish.

Fleet routing

Probe load before dispatching. The control plane saturating while the fleet sits idle is the default failure, not an edge case. Check load, memory, disk, and running jobs on a target before sending work — online is not the same as idle or qualified.

Assign a specific box per lane in the brief, not "use the fleet." Use warm pre-provisioned worktrees; never clone fresh. Record every PID you launch and kill only those — never by name or pattern, on any machine, ever.

Every wait must be harness-tracked (a background task whose exit re-invokes you, or a bounded foreground loop). A detached watcher is killed silently and the lane strands.

The 20-minute tick

Every 20 minutes until the program is done, check in. This tick is for judgment, not polling — harness-tracked work already re-invokes you when it finishes. The question the tick answers is "is this approach still right?", not "is it done yet?"

Report exactly this, in text:

PROGRAM: <name>                                     <N>% · ETA <duration>

  <milestone>            <N>% · ETA <duration> · <one line>
  <milestone>            <N>% · ETA <duration> · <one line>
  ...

DECIDED WITHOUT ASKING
  <decision> — <why, one line>

NEEDS YOU
  <the questions list, per the protocol below>

Percent must be countable. It is N of M concrete checkable items, and the check-in says what M is. A percentage derived from feeling is worse than no percentage, because it never moves and nobody can tell.

Report ETA movement, not just ETA. ETA 40m (was 20m, second slip) is the useful form. A milestone that has been twenty minutes away for two hours is the single most important thing on the page, and a bare current estimate hides it perfectly.

Questions protocol

When you genuinely need the user, put every open question in one plain-text list. No multiple-choice UI, no one-at-a-time. For each:

  1. ELI11 — what the choice is, in language that assumes no context on this codebase.
  2. Your recommendation.
  3. Your confidence, as a number.

Above ~80% confidence, just decide. Do not ask. But log it under DECIDED WITHOUT ASKING in the next check-in, with the reason — an autonomous decision nobody can see is not autonomy, it is a surprise. The user gets a veto without paying for a round trip.

Batch questions to the tick. Interrupting between ticks is for a hard block only.

Escalate the approach, not the task

Stop and rethink — do not grind — when any of these fire:

  • A milestone reports the same percent on two consecutive ticks.
  • An ETA slips twice.
  • A lane has produced no commit in 40 minutes.
  • A fix loop has run three rounds. Three is the limit; then descope, change approach, or ask.
  • A check surfaces one defect per run. That is a broken instrument, not a stream of bugs — fix the instrument to report everything at once before running it a fourth time.

Invariants

  • Never git stash — the stash stack is global across worktrees and will apply another lane's work into yours. Use a temporary commit.
  • Two independent implementations plus a diff beat either one's test suite. Worth it when a piece is subtle and central.
  • When a reviewer's finding count barely moves between rounds, stop delegating the diagnosis and do it yourself.
  • Verify by running the thing, never by grepping for it or type-checking it. A syntax check passes on code that cannot run.

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.