Rig Doctor
How heavy and how safe is your agent setup? Get your context tax (tokens loaded every turn, by source), a guardrail score out of 5, your archetype and percentile against 17.0k real public rigs, and concrete fixes with ready-to-paste guardrail snippets. Same method as every rig page. Free.
We fetch only agent config at standard paths (CLAUDE.md, AGENTS.md, .claude/settings.json, .mcp.json, skill/agent frontmatter, Kiro .kiro/steering, settings/mcp.json, hooks and agents) from raw.githubusercontent.com, with size caps and timeouts. Env values, headers and anything secret-looking are redacted before analysis; nothing is stored. Repos with an .agentrigs-ignore file are skipped.
Keep the Rig Doctor free
Rigs drift: a new MCP here, a skill pack there, and your context tax doubles. Bookmark this page and re-run the Doctor whenever your config changes; it's free. If it saved you tokens, Pro is a simple supporter tier that pays for the crawl and hosting. It doesn't unlock extra features.
$5 / month $39 / yearGet one guardrail tip a week
The Rig Report: rising MCPs and skills, standout new rigs, one stat and one guardrail tip per week. Free.
No spam, no sharing. Read past issues · privacy
How the Doctor scores
- Context tax = always-loaded instructions (characters ÷ 4 of your primary rules file plus
@imports) + skill and subagent metadata (name + description ÷ 4, +8 each) + an estimate of each MCP server's tool schemas (measured sizes for ~30 popular servers, 2,500 tokens for unknown ones). Index median: 2.3k. Details. - Guardrails (one point each): blocks destructive commands · protects secrets · PreToolUse hook · no YOLO mode · sandbox or ask-first rules. Details.
- Guardrail Quality 0–100 (Guardrails v2, Oct 2026): tests your deny/ask rules and hook against 22 dangerous command variants (incl. known bypasses), checks Read+Edit protection of 6 secret path types, statically grades your PreToolUse hook script (never runs it), penalises broad allows, and looks for explicit safety rules in CLAUDE.md/AGENTS.md. Rubric.
- Kiro: steering files with
inclusion: always(the default) + AGENTS.md count as instructions;autosteering counts its name + description;fileMatch/manualsteering and specs cost nothing per turn. Disabled servers in.kiro/settings/mcp.jsonare skipped. Custom-agentpermissionsrules (and legacytoolsSettings/allowedTools) count as deny/ask rules; PreToolUse hooks count as screening hooks. Full mapping. - Repo mode reads root-level agent files (plus
@imports, skill and subagent frontmatter). Rig pages also add nested CLAUDE.md files from subfolders, so they can show a higher instructions number for the same repo. - Percentiles compare you with every indexed rig: "leaner than" counts rigs with a higher tax, "safer than" rigs with a lower guardrail score.