orchestrate
Skill1 starsChanged 43 days agoMITView on GitHub
Coordinate several dependency-safe ticket workers at once in a project that runs in orchestrator mode.
161 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- alexratmanpl/business-agent-skillstheir own version, first seen Nov 8, 2026
- gtonkov/claude-codetheir own version, first seen Nov 8, 2026
- edilsonvilarinho/usage-monitortheir own version, first seen Nov 8, 2026
- nathanonn/agent-skillstheir own version, first seen Nov 8, 2026
- peterpme/skillstheir own version, first seen Nov 8, 2026
- GDriem/agent-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use define-requirements, orchestrate-plan and 8 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-erSkilldefine-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
EternallLightSkillorchestrate-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-erSkillrecord-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
PinkneyJiangSkillimprove-architecture
扫描代码库中的架构摩擦点,识别浅模块并挖掘深模块演进机会。生成可视化交互式 HTML 诊断报告,并在用户确认后闭环实施深度重构。
Also in 4 projects that use this
ranchengSkillcodex-imagegen
Generate or edit images by invoking OpenAI's gpt-image-2 ("image 2") through headless `codex exec`. Trigger when the user asks to create, generate, draw, design, or edit an image, logo, icon, illustration, banner, sprite sheet, placeholder art, or any visual asset — and they have not specified a different generator (Stable Diffusion, Midjourney, DALL·E API directly, etc.). Also use when the user wants to transform or extend a reference image they have provided locally.
Also in 3 projects that use this
GoogleSkilldeliver
Posts a condensed version of the briefing to a Google Chat or Slack incoming webhook, so the daily run delivers itself — skips silently when no webhook is configured.
Also in 3 projects that use this
Other versions161 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- rikilamadrid/lorekeeper★ 119% same
Wrote their own version · 160
- Significant-Gravitas/AutoGPT★ 188ksame name
- rohitg00/pro-workflow★ 2.9ksame name
- apmantza/pi-lens★ 521same name
- boshu2/agentops★ 453same name
- quantumaikr/quant.cpp★ 403same name
- Noizefield/audio-plugin-coder★ 334same name
- kagenti/kagenti★ 303same name
- varun29ankuS/shodh-memory★ 294same name
- provencher/codex-skills★ 271same name
- first-fluke/fullstack-starter★ 226same name
150 more not listed
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 repository53 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- blog-post-redactorSkill
- challenge-meSkill
- debate-meSkill
- debug-issueSkill
- handoffSkill
- hooksmithSkill
- kickstart-pathfinderSkill
- learn-codebaseSkill
- learn-featureSkill
- learning-reviewSkill
- map-systemSkill
- orchestrateSkill
- prototypeSkill
- quiz-meSkill
- reflectSkill
- render-artifactSkill
- reverse-engineerSkill
- roleSkill
- setup-trackerSkill
- skillsmithSkill
- teach-architectureSkill
- teach-featureSkill
- ticketSkill
- to-specsSkill
- to-ticketsSkill
- whereamiSkill
- blog-post-redactorSkill
- challenge-meSkill
- debate-meSkill
- debug-issueSkill
- handoffSkill
- hooksmithSkill
- kickstart-pathfinderSkill
- learn-codebaseSkill
- learn-featureSkill
- learning-reviewSkill
- map-systemSkill
- prototypeSkill
- quiz-meSkill
- reflectSkill
- render-artifactSkill
- reverse-engineerSkill
- roleSkill
- setup-trackerSkill
- skillsmithSkill
- teach-architectureSkill
- teach-featureSkill
- ticketSkill
- to-specsSkill
- to-ticketsSkill
- whereamiSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 144 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Only in a project whose context/execution-mode.md says <!-- pathfinder:execution-mode orchestrator -->, read as skills/ticket/SKILL.md …
- Distinctive: line 32
If none was given, list the actions below and stop.
- Distinctive: line 33
If it is not one of them, say so, list them, and stop.
- Very specific: line 34
Read only skills/orchestrate/actions/<action>.md and follow it exactly.
- Distinctive: line 149
Only a run's owner process — or anyone, once that process is provably dead — may add trees to it, finish it or fail it, and prune never …
- Distinctive: line 184
Run the one action the human named.
- Very specific: line 185
Never implement, review, accept, or merge.
- Distinctive: line 187
Never delete a worktree or a branch unless the human asks.
- Very specific: line 188
Never edit .gitignore, context/execution-mode.md, or a ticket's substance.
“Common” is measured: kept by at least 6 in 10 of the 144 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.
Files
Orchestrate
The coordinator for orchestrator mode. The human names the action:
/orchestrate status
/orchestrate start [feature NN | all] [--workers N]
/orchestrate resume <key>
/orchestrate integrate [<key>]
The orchestrator decides what approved work can execute now and how; the
integrator action decides whether completed work can land under human approval.
Neither implements, reviews for correctness, or accepts work. Every lifecycle
transition remains the ordinary ticket action.
When this applies
Only in a project whose context/execution-mode.md says
<!-- pathfinder:execution-mode orchestrator -->, read as
skills/ticket/SKILL.md §Execution mode defines it. In any other project —
human-in-the-loop, no mode file, or an invalid one — every action refuses,
names the file and the two values, and changes nothing.
Process
- Take the action from the invocation. If none was given, list the actions below and stop. If it is not one of them, say so, list them, and stop.
- Read only
skills/orchestrate/actions/<action>.mdand follow it exactly.
Actions
status— the operator's view: every ticket in scope with its worker, execution state, branch and worktree, gate or blocker, and last recorded result. Reads only.start— plan the scope, ask the human once, then claim, dispatch, review, and surface gates for one round, and stop at the round boundary. A new session continues the run from engine state.resume— continue one existing claim deliberately: a stale worker, or one whose human gate was resolved.integrate— assume the integrator role, check completed work, request any necessary revalidation, present each merge for approval, complete and release.
The model
- A worker is a worktree. Each claimed ticket has exactly one linked Git
worktree at
.pathfinder/worktrees/<key>on one branchticket/<key>-<slug>. The worktree path is the worker's identity and the claim. The worktree's owncontext/current-ticket.mdis that worker's transient state, so two workers never share one. - Git is the lock. A claim first creates
refs/pathfinder/claims/<key>, which Git creates only if it does not exist, under its own ref lock, so of any number of concurrent claims exactly one proceeds. A claim that then fails removes the branch and ref it created. The engine also refuses a ticket that already has a worktree, aticket/<key>-*branch, a claim ref, or an unregistered directory at its worktree path. There is no lock file, database, daemon, or server, and the claim ref is not sent by a normal push. - Claims outlive sessions. A session that dies leaves its worktree, branch,
and state file behind. Any claim this session did not start is
staleuntil a person confirms its old session has stopped. It is then continued deliberately, throughresumeor as a pending claim understart§Continuing a run, and never dispatched while another session may still own it. .pathfinder/is machine-local and ignored. The project's.gitignoremust carry/.pathfinder/; the engine refuses to claim until it does and never edits the file itself.- The store is the board. Eligibility is
skills/ticket/actions/load.md§Readiness, computed from the configured store and nothing else. A status the engine cannot read — an unknown word, a GitHub issue closed while still labelled in progress, two status labels — is never eligible and never unblocks a dependent.
Engine
Paths below are relative to this skill's own directory. The engine needs Node
and, for a GitHub Issues store, the gh CLI. It holds no state of its own:
every call re-derives its answer from Git, the worktrees, and the store.
engine/bin/orchestrate.mjs board | claim | owner | status | estimate | brief | check | judge | release | scratch | disk
engine/store.mjs reads the configured ticket store
engine/board.mjs eligibility
engine/claims.mjs claims, from git worktrees and state files
engine/claim.mjs the one write: a claim ref, then a worktree on a new branch
engine/integration.mjs conflict/divergence/overlap evidence and safe release
engine/status.mjs the operator's view and its state vocabulary
engine/mode.mjs the execution-mode and routing-policy markers
engine/estimate.mjs estimate: complexity, context, parallel safety, risk
engine/profile.mjs the pathfinder.execution-profile/1 schema
engine/policies/ routing policies; select: role, model, effort
engine/route.mjs estimate, then select, into one profile
engine/brief.mjs the worker brief and each harness's translation
engine/plan.mjs the dispatch plan: claim now, wait, blocked, stale
engine/comments.mjs every note the orchestrator writes, one spelling each
engine/tracker.mjs notes and the gate label, idempotent by marker
engine/statefile.mjs updates to a worker's state file lines
engine/stage.mjs current-head checkpoint validation and recovery session
engine/experiments.mjs bounded transient Adversary experiments
engine/findings.mjs bounded transient independent Tester review
engine/judgment.mjs optional Evidence Judge: bundle, validation, policy, checkpoint
engine/judges/ Evidence Judge providers; jev is the first
engine/scratch.mjs review scratch runs: owner, ticket, role, head; reclaim and prune
engine/deps.mjs content-addressed dependency cache and copy-on-write trees
engine/disk.mjs physical free space, warning and floor thresholds
engine/process.mjs process identity and ancestry on macOS, Linux, WSL and Windowsprofile.md documents the profile, its thresholds, and routing policies.
brief.md documents the brief and the harness translation table.
worker-brief.md and resume-brief.md state what each brief asks a worker to do.
evidence-judge.md documents the optional Evidence Judge and its trust boundary.
Review scratch
Adversary and Tester rounds build their trees — base, head, mutants — in a
run under .pathfinder/scratch/<key>/, never in a harness's private temporary
area, and never with a fresh npm ci per tree:
node skills/orchestrate/engine/bin/orchestrate.mjs scratch new <key> --role tester --head <sha>
# prints <run-dir>, then: session <s>
node skills/orchestrate/engine/bin/orchestrate.mjs scratch deps <run-dir> --tree head --session <s>
PATHFINDER_SCRATCH_RUN=<run-dir> PATHFINDER_SCRATCH_SESSION=<s> \
node skills/orchestrate/engine/findings.mjs --checkpoint < report.jsonscratch deps installs each lockfile once into .pathfinder/deps/<key>/,
keyed by lockfile, package.json, Node, npm, platform and architecture, and
gives the tree its own copy-on-write clone: an APFS clone on macOS (only when
the cache and the tree share one APFS volume — cp -c silently copies
anywhere else), a reflink
on Linux filesystems that support it (Btrfs, XFS), otherwise a full,
independent copy with a warning — always on Windows, and on ext4, overlay or a
WSL /mnt/<drive> path. A full copy is checked against the disk floor first.
A mutant's edits stay in its own tree; an install that links outside its own
tree (workspaces, file: packages, junctions) is refused rather than shared.
Windows, WSL and containers each key their own entries, and an owner recorded
on another platform or host is never judged dead. A checkpoint written with
PATHFINDER_SCRATCH_RUN, or scratch done, reclaims the run's node_modules
and .next and keeps every log, report, patch and source. A failed or
interrupted run is preserved; scratch prune is a dry run until --execute,
and reclaims a preserved run's dependencies only with --include-preserved.
Only a run's owner process — or anyone, once that process is provably dead —
may add trees to it, finish it or fail it, and prune never touches a run whose
owner is alive or cannot be checked. One harness process can host several
sessions, so every run also has a session: scratch new mints a unique one
(or records --session), and deps, done, fail and the checkpoint hook
(PATHFINDER_SCRATCH_SESSION) require it. Where ancestry cannot be read (no
ps), scratch new needs --owner-pid, and the session then stands as the
proof of ownership. npm settings that change the install — NODE_ENV, the
install-affecting npm_config_*, the user and global npmrc — are part of the
cache key; lifecycle scripts that read other variables or files are not. npm never runs through a shell: on Windows the engine runs
the npm-cli.js beside Node, and --npm must name a .js entry point. A
reviewer killed mid-copy can leave an orphaned clone finishing in the
background; a retry into that tree refuses, and scratch done reclaims it. Clean-ups that remove a cache entry take its lock and rename it
out of place first, so a copy in progress is never left without its source.
New runs are refused below the disk floor — <!-- pathfinder:disk warn=25
floor=10 --> in context/execution-mode.md, in GB, or
PATHFINDER_DISK_WARN_GB / PATHFINDER_DISK_FLOOR_GB — unless
--allow-low-disk names the human's explicit approval. disk reports
physical free space (per-file totals overstate clones); status stays
byte-stable and only names a threshold once it is crossed.
Verified so far: macOS (APFS clones) and Linux (full-copy fallback) run the
whole orchestrate suite; native Windows runs the scratch and cache tests in CI
and always takes the full-copy fallback. Not yet verified: the rest of the
orchestrate suite on Windows (its older harness tests are not portable), a
checkpoint reclaiming its own run end to end on Windows (scratch done is
tested there), the Windows paths for unreadable ancestry, a planted cache link,
a failed reclaim after checkpoint and antivirus EBUSY retries, a successful
Linux reflink on Btrfs or XFS, and WSL2 in any form.
A store other than local Markdown needs one machine-readable line in
context/tracker.md, described in skills/ticket/store.md.
Rules
- Run the one action the human named.
- Never implement, review, accept, or merge. Those belong to
developer,tester, and the human. - Never delete a worktree or a branch unless the human asks.
- Never edit
.gitignore,context/execution-mode.md, or a ticket's substance. - Human authority is unchanged: approval, acceptance, merge, and release are the human's in this mode exactly as in human-in-the-loop.
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
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.

