Claude War Room
Instant, trustworthy context for any legacy codebase — right inside Claude Code.

🇺🇸 English | 🇧🇷 Português
Inherited a repo with no docs, no context, nobody to ask? Point the War Room at it.
You lead teams with legacy repositories nobody documented. The War Room walks into that
unknown territory and hands you back a trustworthy map: what the system does, how it works, the
business rules, and where the landmines are — in minutes, persisted as living documentation the
whole team inherits.
Install
As of v2.0, War Room is a Claude Code plugin. Inside Claude Code:
/plugin marketplace add RandMelville/claude-war-room
/plugin install claude-war-room
Prerequisite: the Claude Code CLI.
No git clone, no internal path editing, no script.
Coming from v1? See Migrating from v1.
Two commands
/warroom — Recon (the hero)
/warroom # map the whole repository
/warroom src/billing # focus on a module/feature
Runs the Recon agent (reverse engineering) and persists living docs to .warroom/:
stack, flows with Mermaid diagrams, integrations, business rules and tech debt. This is what you
run on day 1 of a legacy repo.
/warroom-audit — full War Room
/warroom-audit # 360° risk audit
/warroom-audit Authentication # focus on a feature
Reuses Recon's map and fans out 6 agents (4 specialists in parallel + consolidation) to
produce a Confidence Report with severities and an action plan, plus structured findings.json.
How it works
graph TD
CMD["/warroom-audit [scope]"] --> R
R["RECON\nReverse Engineering\n(map of the territory)"]
R --> A2["INFRA-ARCHITECT\nScalability"]
R --> A3["CONCURRENCY\nRace conditions"]
R --> A4["CHAOS-SRE\nResilience"]
R --> A5["SEC-AUDIT\nSecurity"]
A2 --> L["LEAD-REPORT\nConsolidation + findings.json"]
A3 --> L
A4 --> L
A5 --> L
L --> OUT[".warroom/\narchitecture.md · audit/ · findings.json"]
style CMD fill:#1a1a2e,stroke:#e94560,color:#fff
style R fill:#0f3460,stroke:#e94560,color:#fff
style A2 fill:#16213e,stroke:#0f3460,color:#fff
style A3 fill:#16213e,stroke:#0f3460,color:#fff
style A4 fill:#16213e,stroke:#0f3460,color:#fff
style A5 fill:#e94560,stroke:#c70039,color:#fff
style L fill:#e94560,stroke:#0f3460,color:#fff
style OUT fill:#0f3460,stroke:#e94560,color:#fff
Map → parallel fan-out → reduce. Recon builds the map; the 4 specialists analyze it in parallel
(each with a deliberate bias); the Lead consolidates everything into business language. Running in
parallel cuts time and avoids blowing the context window — the bottleneck of v1's sequential mode.
The 6 Agents
| # | Agent | What it does | Output |
|---|
| 1 | Recon | Maps flows, business rules and architecture from code | Architecture doc with Mermaid diagrams |
| 2 | Scalability Architect | Finds infra bottlenecks, connection limits, missing cache | Bottleneck inventory + load simulation |
| 3 | Concurrency Specialist | Hunts race conditions, deadlocks, inconsistencies | Write map + locking recommendations |
| 4 | Chaos Engineer / SRE | Simulates catastrophic failures, assesses resilience | Disaster catalog + resilience plan |
| 5 | Security Auditor | Audits OWASP Top 10, secrets, authz, privacy (LGPD/GDPR) | Vulnerabilities + remediation plan |
| 6 | Quality & Stability Lead | Consolidates everything into business language | Confidence Report + findings.json |
What gets generated (.warroom/)
Artifacts are created in the repo you analyze and are designed to be committed — the whole
team inherits the context.
.warroom/
├── architecture.md # living docs (Recon)
├── manifest.json # analyzed files + hashes + commit (drift baseline)
├── findings.json # structured findings (severity, evidence, status)
└── audit/ # specialist outputs + Confidence Report (only with /warroom-audit)
See a real example in examples/.
Domains