/agent-utilities:clean-room-rebuildfrom agent-utilities
Clean-room rebuild of a feature from a shipped app without its source. REA investigation writes a behaviour-only spec, a fresh session builds from it, and mutation-tested checks verify the result. For investigation only, use reverse-engineer-anything.
Ships in agent-utilities. 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.
Study the original. Ship your own. The model proposes and the test oracle decides, and the oracle gets tested too.
"Oracle" in this skill always means a verification check: tests, a byte comparison, or the real app's output.
Proceed only for software the user owns or is allowed to examine, and for behavioural understanding, interoperability, preservation, education or security research. Stop and say so if the goal is to bypass DRM, license checks, anti-cheat, authentication or access controls, to cheat in or tamper with online services, or to ship the original's code, assets, names or icons. Output carries no rights to the original. Server-side code was never shipped and can't be read. The model may refuse or re-route protection-adjacent targets; that is expected, not a setup failure.
Room A needs the REA MCP server and REA's own reverse-engineer-anything skill,
both installed by REA setup (see Setup in prompts.md). Room B needs
neither.
Scaffold with bash scripts/new-rebuild.sh <root> <feature-slug> (scripts live in
this skill's directory):
<root>/
reader/ Room A: git repo, AGENTS.md, NOTES.md, evidence/, SPEC.md (draft)
builder/ Room B: git repo, AGENTS.md, SPEC.md (copied across the wall), src/,
tests/, oracle/mutants/*.patch, NOTES.md
wall/ denylist.txt: original names, symbols, strings that must not cross
Each room's AGENTS.md states its rules (CLAUDE.md links to it). The wall is a process, not a sandbox: separate folders, a fresh session, and only SPEC.md crosses. Separate folders also keep agent memory and repo-local learnings apart.
reader/ using REA, routed by
reverse-engineer-anything. Run the reader prompt. Every claim is tagged
observation / inference / unknown and cites Evidence IDs. Output:
reader/SPEC.md from templates/SPEC.md. Use a higher
reasoning setting for the spec: every gap in it becomes a bug in the build.bash scripts/cross-wall.sh <root> blocks addresses, decompiler
names, code blocks and denylisted terms, then copies SPEC.md to builder/.
Fix the spec in Room A if it fails. SPEC.md is the only thing that crosses.
The lint catches common leaks, not all of them: read the spec before it
crosses. --force copies anyway and prints WALL FORCED.builder/: never a fork, resume
or subagent of Room A. In the Claude desktop app, that means a new session
with fresh context and builder/ as its folder. Run the builder prompt, then
the goal prompt.builder/oracle/mutants/: one changed constant, one swapped
branch, one boundary shifted by one. Run
bash scripts/check-oracle.sh <builder> "<test cmd>". Every mutant must fail.
A mutant only counts if it modifies existing implementation code under src/
(not tests, not new or deleted files) and still builds: set ORACLE_BUILD to
the build or parse command so a mutant that merely breaks the build is
reported invalid instead of rejected.
If any passes, fix the tests first; every earlier green result is suspect.
A real case: a byte-matching check passed 0.0 where the original used 128.0."Unknown" is a valid answer. Evidence decides what you claim.
Run both rooms as plain agent sessions. Don't use planning, multi-agent review or delivery plugins (for example Compound Engineering or Railyard) in either room, even if startup routing suggests them: SPEC.md is the plan and the mutant-tested oracle is the review, so they add time without adding confidence. Use one only when the user explicitly asks for it.
The scaffold also sets railyard.off in both rooms' git config, which turns
Railyard's startup guide and hooks off there and in any worktree of either
room. It is never committed; git config --unset railyard.off turns Railyard
back on.
Railyard's "Oracle" is a model consult and unrelated to this skill's test oracle; never invoke it for these steps.
Adapted from "How to Turn Opus 5.5 Into a Reverse Engineer" (N01ennn, Oct 2026), REA (https://github.com/morluto/rea, https://rea.tools) and its disclaimer, and the oracle lessons in https://rea.tools/blog/touhou-reconstruction/.
If the rebuild continues someone else's reconstruction, keep their history and credit, and respect their contribution rules.
prompts.md (opens in a new tab)scripts/check-oracle.sh (opens in a new tab)scripts/cross-wall.sh (opens in a new tab)scripts/new-rebuild.sh (opens in a new tab)templates/NOTES.md (opens in a new tab)templates/SPEC.md (opens in a new tab)templates/builder-AGENTS.md (opens in a new tab)templates/reader-AGENTS.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
agent-utilities@novotnyllc is listed by novotnyllc/marketplace — review the source before installing
npx claudepluginhub novotnyllc/marketplace --plugin agent-utilities16 skills in this plugin
/browser-useControl the user's existing signed-in Chrome: native browser tool first, with direct DevTools attachment only as a last fallback./cleanup-codexDiagnose and recover macOS Codex app-servers under descriptor pressure — read-only inspect, two-pass recycle of a detached server (native daemon restart) or of the ChatGPT/Codex desktop app, and snapshot-bound reaping of leftover processes./create-cliCLI UX/spec: args, flags, help, output, errors, config, dry-run./fleet-chezmoiInspect, compare, and deliberately reconcile chezmoi source and live-state drift across configured machines. Use for chezmoi status, diff, pull, add, apply, source-repository drift, or post-apply verification./frontend-designCreate distinctive, production-grade frontend UI. Use when building web pages, apps, or components and design quality matters./fusion-parametric-designCreate, edit, repair, inspect, or validate CAD / Autodesk Fusion models and 3D-printable parametric mechanical parts (enclosures, mounts, brackets, assemblies, fit coupons) via Fusion MCP. Not for artistic mesh sculpting, animation, or rendering.