/darkroom:proof-of-workfrom Darkroom Engineering
Runs typecheck, tests, lint, and browser verification to gate human review. Exits with review-ready verdict only when all machine checks pass.
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.
Read when SKILL.md points to them; scripts run unread.
The Amdahl-shrink move from the Orchestration Tax: human review is the serial bottleneck, so don't spend it confirming what a machine can verify. An agent's diff is review-ready only when the machine-verifiable battery is green — types, tests, lint (and a screenshot for UI). What a machine can prove shouldn't cost a human's attention.
For browser QA, read the Browsee guide when Browsee is installed or connected. It also covers authorized browser workflows such as signed-in tabs. For a browser-only request, use the guide directly and run the checks relevant to the request.
Run the battery on the current working tree:
PROOF_RUNNER="${CODEX_HOME:-$HOME/.codex}/darkroom/source/src/scripts/proof.ts"
[ -f "$PROOF_RUNNER" ] || PROOF_RUNNER="$HOME/.claude/src/scripts/proof.ts"
bun "$PROOF_RUNNER"
This is the portable installed runner — it works in any repo. (bun run proof is a shortcut that only exists inside the cc-settings repo itself; don't reach for it in a consumer project.) It detects typecheck / test / lint from the project's package.json, runs them cheapest-first, and prints one verdict:
review-ready ✓NOT review-ready ✗ — fix the failing gate before a human looksProjects can opt into advisory probes by depending on the tool — the gate then runs the project's pinned binary: react-doctor (React render/quality score, telemetry off) and/or deslop (framework-agnostic cross-file dead-code count). Advisory results are reported but never flip the verdict — deterministic signals alongside the hard gates, not blockers. Silent for projects that don't depend on them.
For browser UI changes, attach a screenshot as visual proof. Use Browsee MCP in the calling session when connected and appropriate. The Claude tester agent can use its pinned Chrome DevTools MCP for isolated browser runs.
A web project can carry its own verification skill at
.claude/skills/verify-app/SKILL.md. It gives the launch command, URL and
readiness signal, a doctor check, a feature map with one entry per key flow
(route, steps, expected result), where evidence goes, and how to clean up.
references/verify-app-template.md from the project's package.json
scripts and its routes (app/**/page.tsx for Next.js, app/routes for
React Router), write it to .claude/skills/verify-app/SKILL.md, and run it
once before relying on it. Until then, fall back to the screenshot.What it proves is narrow: the mapped flows work in a local build, in the browser it drove, with local data. It says nothing about unmapped routes, production data or auth, third-party services, or how the page looks at other breakpoints. A generated skill is written from reading code, so its steps stay unconfirmed until a run passes them. Say which flows ran and which did not.
For a native macOS app, run and capture it on a virtual display with the offscreen tool, never by driving the user's real cursor, keyboard, or focus. Read references/offscreen.md first; it gives the tool's installed path.
Use spawn_agent to create a fresh read-only reviewer, send_message to
deliver context while it runs, followup_task to trigger another turn once it
is idle, wait_agent to wait, and interrupt_agent only to stop its current
turn. Treat findings as advisory beside
the mechanical verdict. Never spawn codex-verifier and never run codex-run.ts from inside Codex.
Skip the Claude bridge branch below.
Writers share the working tree unless the live host explicitly offers isolation. Only read-only reviewers may overlap; serialize any implementer and test-writer remediation with non-overlapping ownership. For browser proof use the configured MCP that fits the task, with Browsee as described above. Use native screenshot tooling when appropriate and report what remains unverified. This package does not auto-run unpinned registry MCP packages.
The mechanical battery proves the diff is self-consistent — it compiles, tests pass, lint is clean. It cannot prove the diff is correct: a bug that typechecks and passes the tests you wrote sails straight through. When the Codex bridge is available, add a semantic probe from a different model family on top of the mechanical gate:
bun "$HOME/.claude/src/scripts/codex-run.ts" review
Treat it exactly like react-doctor and deslop: advisory — reported alongside the verdict, never flips it. A green mechanical gate stays review-ready even if Codex raises a finding; surface the finding for the human to weigh, don't block on it. The bridge is gated and fails open — silent when Codex isn't installed, authed, or has quota.
Keep it out of the proof runner itself. That gate is cheapest-first and runs constantly; a remote model call would make every proof slow. Run it as the one cross-model review per PR, /land, or direct push to the default branch (see CLAUDE-FULL.md "Claude and Codex routing"), or when the user asks. Do not repeat it on each diff-producing task, and skip it if a Codex review already covered this diff.
the review-queue branch of tool-cadence.ts) limits how many unproven diffs pile up; this gate makes each one cheaper to close.Pure-research or read-only agent output (explore) has no diff to prove — proof-of-work is for changes, not findings.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx 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