/darkroom:orchestratefrom Darkroom Engineering
Coordinates multiple agents across plan, implement, test, and review phases, or fans out 3+ independent workstreams. Includes a GO/NO-GO gate to assess whether multi-agent orchestration is appropriate.
Ships in Darkroom Engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create each bounded worker
with spawn_agent, deliver context to a running worker with send_message,
trigger another turn for an idle existing worker with followup_task, wait with
wait_agent, and stop a current turn with interrupt_agent only when necessary.
Never spawn codex-verifier or call codex-run.ts.
Read the live concurrency limit and stay within it. Writers share the working tree unless the live host explicitly offers isolation. Assign non-overlapping ownership and serialize implementer and test-writer phases; only read-only reviewers may overlap. Codex implementers are not promised Claude worktree isolation. The lead owns every git operation: subagents never commit, stash, switch branches, or touch worktrees; they leave changes in place and report them, and the lead stages, verifies, and commits once per territory.
Before delegating to agents:
GO/NO-GO Verdict:
Do not proceed past this gate without an explicit verdict.
This skill runs as the maestro agent: select agents, run them in parallel, and coordinate per agents/maestro.md. For simple delegation (1-2 agents), call Agent() directly without this skill.
Rule, don't stall. When a review finding conflicts with the plan, two briefs disagree, or a detail is ambiguous, decide it and record one line in the plan or status log: Ruling: <what you decided> / <why> / <cost if wrong>. Then keep going. Stop to ask only when the ruling would change the user's stated direction.
A subagent's "done" is a claim, not a result. Before building on it, committing, or reporting success:
scope_expansion status from an implementer is reviewed against its listed
paths before anything lands.send_message while it is running or followup_task once idle. A respawn
rebuilds its context from nothing and re-does paid work.git rev-parse HEAD)
before dispatching each implementer. When it reports done, run
git add -N . so new files show, write git diff <base> from the tree it
wrote to into a scratch file, and hand the reviewer that path, the base
SHA, and the brief. The implementer's report goes along only as claims to
check, never as a summary in place of the diff. A verdict holds only for
the SHA it judged: any later commit in that territory gets a fresh diff and
a fresh verdict before it lands.model: "fable" (standalone Codex: the strongest model
the host offers), carrying the brief, the open findings, and what earlier
rounds tried; three failed resumes usually mean the implementer cannot see
its own mistake. If findings are still open after round 5, stop that task
and report it blocked with each round's attempt and the open findings;
other tasks continue. This cap covers review findings; crashed or timed-out
agents follow maestro's retry rule.Failure mode this section exists to prevent: chaining on an unverified "done" and discovering three phases later that the build never ran.
Follow the native lifecycle at the top of this skill: use spawn_agent for each new bounded workstream, queue dependent work instead of exceeding the live concurrency limit, and never invoke the Claude-to-Codex bridge. Claude agent teams and dynamic workflows are Claude-only; do not emulate their APIs in Codex.
Use full parallel team fan-out instead of sequential subagent delegation when:
| Scenario | Fan out? | Why |
|---|---|---|
| 3+ independent file areas | Yes | Maximum parallelism, isolated context per agent |
| Frontend + Backend + Tests | Yes | No file conflicts, clear boundaries |
| Large codebase analysis | Yes | Independent context per agent prevents bleed |
| Competing approaches | Yes | Explore alternatives in parallel before deciding |
| Sequential dependent work | No | Use subagents in sequence; fan-out adds overhead |
| Quick single investigation | No | Overhead not worth it; spawn the explore agent directly |
Two different mechanisms get confused here, so be explicit about which one you want:
Agent calls in one message) needs nothing enabled. This is what cc-settings actually uses, and what the rest of this skill assumes. Each subagent gets its own context window and reports back to you.CLAUDE-FULL.md → "Agent teams". For split panes, config/10-core.json pins teammateMode: "auto" (tmux, or iTerm2 with the it2 CLI).A dynamic workflow is a JS harness that spawns subagents, holds plan state outside your context window, runs up to 16 agents concurrently (1000 total; raise the concurrency cap with CLAUDE_CODE_WORKFLOW_MAX_CONCURRENT_AGENTS, 1–256, since v2.1.269), and resumes from cached results within a session. The trigger isn't task size — it's whether the task risks one of three failure modes a single context window is prone to:
Shapes worth naming when you build one: classify-and-act, fan-out-and-synthesize, generate-and-filter, tournament, loop-until-done (spawn until a stop condition, not a fixed count). Not only for marathons — a quick workflow is valid: "quick workflow to adversarially check this one assumption."
workflowSizeGuideline settings key when a task genuinely needs more.Two entry points:
ultracode in your prompt. Pair with /loop for repeatable triage/verification/research./effort ultracode — auto-orchestrates a workflow for every substantive task.The maestro Agent() fan-out above is the default in cc-settings; workflows are for replayability or scale beyond subagent fan-out. Don't rewire skills to depend on the Workflow tool — its API is still preview-stage — but a skill may ship an opt-in example (see audit's references/nuclear-review.workflow.js): a template you adapt, never a runtime dependency.
Report: team composition (when fan-out chosen), task assignments, coordination strategy, and progress.
For tasks too large for a single context window. Implements git-commit checkpoints, automatic verification, and graceful recovery.
No hook saves state automatically — the agent must commit and write a handoff
itself when it notices context usage crossing a threshold. At 70% commit
finished work and log a progress summary; at 80% compact or run /handoff; at
90% stop, commit, and run /handoff (the usage table is in the handoff skill).
A checkpoint is a git commit of verified work. Commit at these milestones:
A completed phase is a commit checkpoint, not a stopping point — the job is the whole plan, not the first green milestone; finishing a phase means starting the next, and you only hand back to the user on a genuine blocker. On long runs, spend one pass every few phases on maintenance before drift accumulates: prune plan bloat (tasks that no longer match what the code taught you), refresh the live handoff so a cold resume lands cleanly, delete dead TODOs, and reconcile the plan with the current architecture rather than preserving development-only shims the plan predates.
Stamp the plan with the commit it was written against (git rev-parse --short HEAD) and re-stamp on every maintenance pass. The reconcile semantics: re-run the done-criteria of tasks marked complete (a "done" that no longer verifies gets reopened, not trusted), refresh file/line refs that drifted since the stamp, and retire tasks obsoleted by intervening changes with a one-line reason so they aren't re-litigated later.
To undo a bad phase, use Claude Code's built-in /rewind (conversation and file state), or git revert --no-edit <checkpoint-commit>..HEAD to undo every commit after the last good one (a soft reset would leave the bad phase's changes staged). /handoff carries the plan, decisions, and remaining todos into a new session.
Every checkpoint commit must pass Levels 1-3 first. Full verification (Levels 1-5) at task completion. See hooks/verification-check.md for the complete 5-level stack, per-agent requirements, and failure handling.
Agent(planner, "Break down [task] into phases with dependencies and estimates")
Produce a phased plan with:
## Functional DAG up top (docs/functional-dag.md) — the fan-out piles are its
columns, so the parallelizable set is read off the diagram instead of guessedFor each phase:
To drive this loop unattended, set a /goal whose condition matches the
completion promise — e.g. /goal all phases complete, tsc + lint + tests exit 0, git status is clean. The goal evaluator runs after every turn and
keeps the session going until the condition holds; it survives --resume
so a goal set before a handoff carries into the next session.
End with the Completion Promise below.
When resuming after interruption:
/handoff resume to load the latest handoff, if one was savedgit log for the last checkpoint commit and uncommitted workThe task is NOT complete until:
1. All phases done
2. Verification passes (compile + lint + test)
3. Git is clean (all changes committed)
4. Summary provided with what was done
Only then output:
<promise>COMPLETE</promise>
Never claim completion with failing verification.
What SKILL.md sets; muted values are Claude Code's defaults
maestro), in the backgroundnpx claudepluginhub darkroomengineering/cc-settings --plugin darkroom24 skills in this plugin
/auditRepo audits, one mode or all (codebase, docs, process, perf, tests, state, threat-model, motion, SEO, platform guidelines, debt). Triggers "audit the codebase", "full audit", "perf audit", "audit the tests", "find the implicit state machines", "threat model", "motion audit", "seo audit", "platform audit", "does this follow the HIG", "debt ledger"./autoresearchAutonomous mutate/score/keep optimization of a SKILL.md prompt. Triggers "autoresearch", "optimize skill", "tune this skill", "evolve this skill"./buildBuild a feature, page, or integration end-to-end with a GO/NO-GO gate. Triggers "build a feature", "implement feature", "add feature", "build integration". Components go to /component./case-studyTurn any web project (WebGL, three.js, React Three Fiber, Theatre.js, GSAP or Lenis scroll sites, plain DOM sites, and browser games or app-like flows) into case-study material for the studio website. Produces frame-perfect 16:9 clips of every chapter and transition (games are played through by a script with real input), layer-by-layer decompositions of every scene, Blender turntables and clay/wire/bake renders, every sound exported separately with mixes rebuilt from the animation data, every image asset (glyphs, logos, frames, textures, sprite sheets) exported separately, and a shareable exploration board with playable pieces rebuilt from the project's own assets. Triggers "case study", "showcase", "portfolio piece", "making-of", "breakdown", "how it's made", "decompose the scene", "take apart the landscape", "record the site", "capture footage", "turntable", "export the sounds", "extract the icons/assets". Use when a finished project needs to be shown, even if nobody says "case study"./ccSync cc-settings with Claude Code and Codex upstreams, update a local install, or migrate a project's CLAUDE.md to AGENTS.md. Triggers "sync with claude code", "update cc-settings", "migrate to agents.md"./codexClaude-to-Codex bridge to delegate bulk mechanical work, get an independent cross-model diff review, or ask a read-only question. Triggers only when the user names Codex, as in "use codex", "have codex review", "cross-check with codex", "ask codex".Other plugins' skills for the same job