/clean-room:refocusfrom Clean Room
Audits a Clean Room run against gate checklists and realigns it to declared scope, controller policy, and artifact schemas without expanding boundaries.
Ships in Clean Room. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Refocus realigns the current run to the declared scope, controller policy, artifact schemas, and clean-room boundary.
Refocus does not optimize, expand, or reinterpret the task. It does not invent new requirements or add behavior beyond preflight-goal.json, task-manifest.json, clean-run-context.json, ledgers, implementation plan/report, QC, and abstract delta tickets.
Use the canonical clean-room skill workflow and references in this plugin. Preserve the same clean-room boundary, role separation, artifact schemas, leakage rules, implementation-root rules, and hook expectations.
Compare current artifacts to the canonical gate checklist:
preflight-goal.schema.json, and is referenced by task-manifest.json with preflight_goal_ref and preflight_goal_sha256.handoff_sequence and does not skip Stage 0.init-config.json drift is reported instead of silently applied.clean-run-context.json exists before clean roles run and excludes source roots, visual roots, contaminated roots, source index refs, visual index refs, and ledger paths.clean-run-context.json records artifact-only coordination: Agent 0 does not directly steer Agent 2, Agent 3, or Agent 4, and clean implementation/polish roles report to Agent 0 only at terminal status.role-session-brief.json inside the recorded budgets. controller-status.json remains contaminated-side only.task-manifest.json units.task-manifest.json, source-index.json, visual-index.json, raw screenshots, source or visual paths, raw diffs, copied comments, copied visible words, private identifiers, exact UI palettes/layouts/iconography, source-shaped pseudocode, and contaminated ledgers.implementation-plan.json when the run reached that gate.implementation-report.json when the run reached implementation.qc-report.json with schema, leakage, coverage, and abstract delta ticket status when the run reached that gate.polish-report.json when the run reached final polish review.Validate schemas and handoff hashes before trusting the artifacts. Use source-index.json or visual-index.json only on the contaminated side and only when referenced by the task manifest.
Emit missed-gate findings only:
not verified unless clean-room-skill run --dry-run (or npx clean-room-skill@latest run --dry-run if the binary is not available) succeeds against the canonical task-manifest.json.public_contract_refs, terminal implementation reports, and coverage-ledger public_surface_coverage.Do not suggest speculative improvements. Do not change source scope, target profile, public API, or implementation plan. If the user asks to add scope, stop and route to a new scope gate instead of silently expanding the run.
Return a bounded next-action plan containing:
If root separation, authorization, or clean/contaminated boundary cannot be proven, the single next action is to stop and repair that gate.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub whit3rabbit/clean-room-skill --plugin clean-room9 skills in this plugin
/attendedStarts the Clean Room startup wizard in attended controller mode for authorized source-to-implementation work with human review pauses at clean-room gates./clean-roomUse for authorized clean-room, reverse-engineering, source-to-implementation, compatibility rewrite, or migration tasks. Produces clean behavioral specs, implementation plans, clean code changes, verification reports, QC reports, open questions, and test plans without moving source expression into the clean implementation./clean-room-loopFront door for running the clean-room unattended loop as a Claude Code dynamic WORKFLOW using in-session subagents, so it never spends `claude -p` API tokens. Use when the user wants to run a clean-room / reverse-engineering / source-to-clean-implementation task hands-off but without paying per-token for `clean-room-skill run`, or says "clean-room as a workflow", "unattended clean-room without API cost", "/clean-room-loop". Runs a short discussion (authorization, end goal, target stack, policies, source roots, output roots, iterations) then launches the `clean-room-loop` workflow with the answers. NOT the enforced OS-level wall - that is `clean-room-skill run --agent-runtime claude`./initRecords Clean Room initialization preferences, separated artifact locations, model policy, schema profile, and clean-safe rule defaults before a clean-room run starts or resumes./preflightCreates or reviews the required Clean Room preflight goal contract before source discovery, decomposition, attended execution, or unattended execution./resume-crContinues an existing Clean Room run from durable artifacts without relying on prior chat history.Other plugins' skills for the same job