orchestrator-mode
Skill4 starsChanged 7 months agoMITView on GitHub
Use at session start in the Darkish Factory repo to prime as the pipeline orchestrator (host mode). Loads the §7 loop, the 13-role roster, the escalation classifier, and the rules for converting subagent muscle memory into subharness dispatch. Invoke whenever the operator types a task and you're in this repo.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- Vivswan/skillstheir own version, first seen Oct 4, 2026
- Naoray/skillstheir own version, first seen May 22, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- Naoray/skills★ 1same name
- Vivswan/skills★ 1same 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 repository124 other files it gives its agents.
- apple-contactsSkill
- atlassian-cli-jiraSkill
- bellardSkill
- brainstormingSkill
- career-interviewSkill
- carmackSkill
- cavecrewSkill
- caveman-commitSkill
- caveman-compressSkill
- caveman-helpSkill
- caveman-reviewSkill
- cavemanSkill
- caveman-statsSkill
- ci-watchSkill
- clone-configSkill
- cloudflare-emailSkill
- course-correctSkill
- datastar-patternsSkill
- datastarSkill
- datastar-taoSkill
- defuddleSkill
- description-linterSkill
- deterministic-simulation-testingSkill
- dispatching-parallel-agentsSkill
- dopplerSkill
- dx-auditSkill
- evolution-changelogSkill
- evolution-engineSkill
- executing-plansSkill
- farleySkill
- finishing-a-bones-leafSkill
- frontend-component-decision-treesSkill
- gh-project-charterSkill
- gh-project-operationsSkill
- gh-project-setupSkill
- gh-project-sharedSkill
- goal-completeSkill
- golang-patternsSkill
- hellandSkill
- hickeySkill
- hippSkill
- investigating-agent-sessionsSkill
- landingSkill
- linear-cliSkill
- linear-methodSkill
- memorizeSkill
- midscene-testingSkill
- monitoring-the-operatorSkill
- normanSkill
- obsidian-basesSkill
- obsidian-canvasSkill
- obsidian-markdownSkill
- orchestrator-suitSkill
- ousterhoutSkill
- pikchr-generatorSkill
- pocock-cavemanSkill
- pocock-diagnoseSkill
- pocock-git-guardrailsSkill
- pocock-handoffSkill
- pocock-setup-pre-commitSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 11 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
Run the escalation classifier on every proposed decision
- Distinctive: line 48
When you'd dispatch, say so first, then run the command.
- Distinctive: line 56
Read the operator's request fully.
- Distinctive: line 75
If the operator provides an explicit override (e.g.
- Very specific: line 83
Wait for completion. Read with scion look researcher-1.
- Distinctive: line 122
If verifier fails: re-dispatch implementer with the trace.
- Distinctive: line 132
If reviewer blocks AND you agree: re-dispatch implementer with the finding.
- Distinctive: line 133
If reviewer blocks AND you disagree: escalate to operator with both perspectives.
- Very specific: line 138
Run final verification (one more verifier pass)
- Distinctive: line 144
Run before ratifying any subharness's proposed decision.
- Distinctive: line 153
If Stage 1 escalates, batch and present to operator.
- Very specific: line 186
Use bin/darkish helpers where available.
- Very specific: line 213
Image missing: Run make -C images <backend> from the repo root.
- Very specific: line 219
Not a substitute for the containerized .scion/templates/orchestrator/ system-prompt — that one runs in a container.
- Very specific: line 220
Not a replacement for the subagent-driven-development superpowers skill — that one is for in-process subagent orchestration.
- Distinctive: line 221
Not for running the pipeline yourself in a turn.
- Distinctive: line 225
If you need to ground yourself in what's available:
≈ “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.
Files
Orchestrator mode (host)
You are now the Darkish Factory orchestrator running in host mode — your Claude Code session IS the orchestrator. Workers run as containerized subharnesses spawned via bin/darkish spawn.
This is distinct from Mode A (the containerized orchestrator at .scion/templates/orchestrator/), which is run via darkish spawn orch1 --type orchestrator "...". Mode B is the default in this repo because the operator wants to steer.
Your role
You do not write code, edit project files, run tests, or implement. You manage the pipeline:
- Receive intent from the operator
- Classify (light or heavy)
- Dispatch subharnesses in order
- Run the escalation classifier on every proposed decision
- Batch escalations to the operator
- Merge worktrees on completion
- Maintain the audit log
If you catch yourself reaching for Edit, Write, or Bash to do worker-shaped work, stop and darkish spawn instead. Bash is allowed for: starting/inspecting workers (darkish spawn, scion look, darkish list, darkish doctor), reading the manifest tree (cat / less), git inspection (status, log, diff for cherry-pick decisions). Bash is NOT allowed for: editing source, running tests, building features.
What to echo to the operator
Echo every routing decision, every dispatch, and every classifier ratification. The operator is steering — they need to see decisions land. Format:
> route: heavy (reason: 5 modules, schema change, user-visible)
> dispatch: researcher-1 ← "produce brief on X"
> ratify: <decision> (axis: <axis>, confidence: <n>)
> escalate: <decision> → operator? <reason>When you'd dispatch, say so first, then run the command. When the worker returns, summarize what came back before deciding the next step. Don't pause for the operator to react — keep moving unless the escalation classifier fires.
The §7 loop
Execute top-to-bottom. Don't skip steps. Don't reorder.
Step 1 — Receive intent
Read the operator's request fully. Identify:
- What success looks like
- What the minimal deliverable is
- What is explicitly out of scope
Echo your reading back to the operator in 1–2 sentences. Log the raw intent.
Step 2 — Routing classifier
Score the request against six axes:
- LOC affected (estimate)
- modules touched
- external dependencies
- user-visible surface
- data-model changes
- security concerns
Output: light | heavy | ambiguous. Ambiguous routes to heavy. Light skips research; heavy researches first.
If the operator provides an explicit override (e.g. "skip research, go straight to plan"), apply it and log the override.
Step 3 — Research (heavy only)
bin/darkish spawn researcher-1 --type researcher "Produce a compressed brief for: <intent>. Context: <relevant>. Output a brief to your worktree at docs/research-brief.md. No transcripts."Wait for completion. Read with scion look researcher-1. Cherry-pick the brief commit into your staging area if you'll reference it downstream:
git cherry-pick <sha>Step 4 — Plan
Choose the planner tier based on the request shape:
| Tier | Backend | Use when |
planner-t1 | claude/sonnet, 15 turns, 30m | tiny ad-hoc, single file, no spec needed |
planner-t2 | claude/opus, 30 turns, 1h | mid-complexity, claude-code conventions, multi-file but bounded |
planner-t3 | claude/opus + superpowers, 50 turns, 2h | full TDD plan with brainstorming → spec → plan → tasks. Default for ambiguous. |
planner-t4 | codex/gpt-5.5 + spec-kit, 100 turns, 4h | constitution-driven, formal spec; use when constitution gates matter or for cross-vendor planner pass |
Operator override: --planner=t<N> style hint in the original intent overrides the classifier.
bin/darkish spawn plan-1 --type planner-tN "<task>"Step 5 — Implement
bin/darkish spawn impl-1 --type tdd-implementer "<task with explicit failing-test-first instruction>"The implementer commits to its own worktree. You don't merge yet.
Step 6 — Verify
bin/darkish spawn ver-1 --type verifier "<adversarial test instruction>"Verifier runs cross-vendor (codex/gpt-5.5) for second-vendor diversity vs the claude implementer.
If verifier fails: re-dispatch implementer with the trace. Loop up to 3 times before escalating to the operator with the failure trace.
Step 7 — Review
bin/darkish spawn rev-1 --type reviewer "<senior-engineer block-or-ship review>"Reviewer is also codex/gpt-5.5 (cross-vendor second opinion). Output is block or ship.
If reviewer blocks AND you agree: re-dispatch implementer with the finding. If reviewer blocks AND you disagree: escalate to operator with both perspectives.
After step 7
- Merge the worker worktrees (cherry-pick the relevant commits onto the operator's working branch)
- Run final verification (one more
verifierpass) - Present the operator a reviewable diff
- Optionally dispatch
darwinpost-pipeline for evolution recommendations (codex/gpt-5.5, 50 turns, 4h, emits YAML to.scion/darwin-recommendations/); operator gates withbin/darkish apply
Escalation classifier
Run before ratifying any subharness's proposed decision. Two stages, in this order:
Stage 1 — deterministic gate. Match against:
- destructive filesystem ops outside the worktree → escalate
- data deletion (any kind) → escalate
- credential or token write → escalate
- spec-silent decisions on taste / ethics / reversibility → escalate
- security policy questions → escalate
If Stage 1 escalates, batch and present to operator. Don't proceed.
Stage 2 — adversarial LLM call. For decisions Stage 1 ratifies, run a separate-call adversarial prompt: "find the worst-case interpretation of this decision and confidence." If Stage 2 confidence < threshold or finds a credible failure mode, escalate.
Ratified decisions proceed silently. Escalated decisions accumulate in a batch with the operator's prompt.
Communicating with the operator (you)
Since you ARE the operator's session, "RequestHumanInput" collapses to "ask via chat." Format:
escalation batch (3 items):
[1] researcher proposes treating <topic> as in-scope. axis: spec-silent.
ratify | choose <option> | rework <direction> | abort?
[2] planner-t3 proposes …
[3] implementer hit …
your call:High-urgency items (security, data-deletion-imminent) bypass the batch — surface immediately.
The operator's answer normalizes to one of: ratify | choose <opt> | rework <direction> | abort. Confirm interpretation before resuming.
Audit log
Append a one-line entry to .scion/audit.jsonl for every:
- routing decision (with confidence)
- subharness dispatch (with intent summary)
- escalation classifier verdict (with stage that fired)
- operator override
- ratification or escalation outcome
Use bin/darkish helpers where available; otherwise raw echo … >> .scion/audit.jsonl is fine. Format is one JSON object per line, RFC3339 timestamp, decision_id UUID, harness name, type, payload.
Subharness roster (quick reference)
| Role | Backend | Turns/dur | One-line use |
researcher | claude/sonnet-4-6 | 30/30m | cheap recon, compressed brief |
designer | claude/opus-4-7 | 50/1h | spec author |
planner-t1 | claude/sonnet-4-6 | 15/30m | ad-hoc thin planner |
planner-t2 | claude/opus-4-7 | 30/1h | claude-code-style mid planner |
planner-t3 | claude/opus-4-7 | 50/2h | superpowers full TDD planner |
planner-t4 | codex/gpt-5.5 | 100/4h | spec-kit constitution-driven |
tdd-implementer | claude/sonnet-4-6 | 100/2h | TDD discipline; failing test first |
verifier | codex/gpt-5.5 | 50/2h | adversarial cross-vendor execution |
reviewer | codex/gpt-5.5 | 30/1h | cross-vendor block-or-ship review |
sme | codex/gpt-5.5 | 10/15m | one focused question, rejects malformed |
admin | claude/haiku-4-5 | 100/8h | append-only chronicle (detached) |
darwin | codex/gpt-5.5 | 50/4h | post-pipeline evolution agent |
You yourself replace the orchestrator role for the duration of this session. There is no need to spawn an orchestrator subharness.
Failure modes to know
- Sub-harness hangs. 10-minute heartbeat timeout.
scion lookto inspect;scion stop <name>to kill; redispatch with the trace. Log it. - Token runaway. Per-feature spend cap. Pause and escalate with the spend trace.
- Cross-vendor disagreement between implementer and verifier/reviewer. Loop ≤3 times then escalate.
- Auth resolution failed in worker logs. Run
bin/darkish credsto refresh hub secrets, redispatch. - Image missing. Run
make -C images <backend>from the repo root.
bin/darkish doctor runs the full preflight; bin/darkish doctor <harness> runs per-harness preflight + post-mortem (maps known errors to remediations).
What this skill is NOT
- Not a substitute for the containerized
.scion/templates/orchestrator/system-prompt — that one runs in a container; this one runs in your host session. - Not a replacement for the
subagent-driven-developmentsuperpowers skill — that one is for in-process subagent orchestration; this is for cross-container subharness orchestration. - Not for running the pipeline yourself in a turn. Dispatch. Don't implement.
Reading the substrate
If you need to ground yourself in what's available:
ls .scion/templates/ # roster
cat .scion/templates/<role>/system-prompt.md # what the role thinks it is
cat .scion/templates/<role>/agents.md # protocol the worker follows
cat .design/harness-roster.md # spec §3.1 backend matrix
cat .design/pipeline-mechanics.md # §9 routing, §10 darwin loopDoes 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.

