Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/JackScammell/Parliament-Of-ChaosWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/jackscammell/parliament-of-chaos/onboard-codebase)<a href="https://agentmods.dev/commands/jackscammell/parliament-of-chaos/onboard-codebase"><img src="https://agentmods.dev/badge/commands/jackscammell/parliament-of-chaos/onboard-codebase/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/jackscammell/parliament-of-chaos/onboard-codebase"><img src="https://agentmods.dev/badge/commands/jackscammell/parliament-of-chaos/onboard-codebase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00012 | $0.04927 |
| Opus 5.5 | $0.00005 | $0.01971 |
| Sonnet 5.5 | $0.00002 | $0.00985 |
| Haiku 4.5 | $0.00001 | $0.00493 |
Grade A, and why
onboard-codebase scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 421 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Onboard Codebase
Generate comprehensive onboarding documentation for an undocumented codebase by running specialists in parallel.
Purpose
When a developer joins a project with little or no documentation, this command reverse-engineers the codebase and produces a complete docs/getting_started/ directory covering everything they need to get productive.
Arguments
This command accepts optional arguments:
- No argument: Analyse the current working directory
- With path: Analyse a specific directory (e.g.,
/onboard-codebase /path/to/project)
Pre-conditions
Before starting, verify:
- Target directory exists and contains source code files
- Write access to create
docs/getting_started/in the target directory - Existing documentation check: If
docs/getting_started/already exists, ask the user whether to:- Overwrite all files (start fresh)
- Skip existing files and only generate missing ones
- Archive existing to
docs/getting_started_backup_<date>/and regenerate
Process
Phase 1: Parallel Analysis
Fan out the following specialists in parallel to analyse the codebase. Each specialist focuses on their domain and returns a structured analysis report. Do NOT ask them to write files — they analyse and report only.
IMPORTANT: Inventory Header Requirement. Every specialist MUST begin their report with a structured ## Inventory section containing counts and a complexity self-assessment. This metadata drives adaptive document splitting in Phase 2. The format:
## Inventory
- <item_type>: <count>
- <item_type>: <count>
- estimated_complexity: small | large | massive
- logical_groups:
- <group_name>: <brief description> (<count> items)
- <group_name>: <brief description> (<count> items)
Complexity thresholds (specialists MUST use these to self-assess):
| Specialist | Small | Large | Massive |
|---|---|---|---|
| data-warlock | <30 tables | 30-100 tables | 100+ tables |
| api-keeper | <50 endpoints | 50-200 endpoints | 200+ endpoints |
| config-curator | <30 env vars | 30-100 env vars | 100+ env vars |
| dependency-detective | <30 deps | 30-100 deps | 100+ deps |
| system-architect | <5 services/modules | 5-15 services/modules | 15+ services/modules |
| backend-goblin | <10 entry points/controllers | 10-40 entry points/controllers | 40+ entry points/controllers |
| test-prophet | <20 test files | 20-80 test files | 80+ test files |
| pipeline-engineer | <3 CI/CD configs | 3-10 CI/CD configs | 10+ CI/CD configs |
| security-knight | <5 auth/security layers | 5-15 auth/security layers | 15+ auth/security layers |
| observability-oracle | <5 logging/monitoring configs | 5-15 logging/monitoring configs | 15+ logging/monitoring configs |
| package-wizard | <3 build tool configs | 3-10 build tool configs | 10+ build tool configs |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 421 lines · 12 tokens per session scan A f83cb1957e8f
onboard-codebase is a command published in the GitHub repository JackScammell/Parliament-Of-Chaos (4 stars, last pushed 1mo ago), licensed MIT. It adds 12 tokens to every session and 4,927 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
onboard-codebase compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| onboard-codebaseJackScammell/Parliament-Of-Chaos | Command | 4 | 1mo ago | MIT | A | 12 | Claude Code |
| xp-builderoracle-devrel/oracle-ai-developer-hub | Command | 4.5k | 2d ago | none | A | 0 | Claude Code |
| xp-finishoracle-devrel/oracle-ai-developer-hub | Command | 4.5k | 2d ago | none | A | 0 | Claude Code |
| xp-statusoracle-devrel/oracle-ai-developer-hub | Command | 4.5k | 2d ago | none | A | 0 | Claude Code |
| visualizeatretyak1985/swarmery | Command | 9 | today | Apache-2.0 | A | 64 | Claude Code |
| challenge-thoughtsjimmc414/claude-code-plugin-marketplace | Command | 4 | today | MIT | A | 12 | Claude Code |
| hatch3r-onboardhatch3r/hatch3r | Command | 26 | 2mo ago | MIT | A | 56 | Claude Code |