CLAUDE.md & AGENTS.md checker
Paste your repository’s agent instructions to measure turn-1 token cost, catch secrets, vague prose, and dated history, and see where your file lands against 76 production open-source repositories. Everything runs locally in your browser.
CLAUDE.md & AGENTS.md checker
100% local · nothing leaves your browserEmpirical baseline (2026-12-05)
What 76 top GitHub repositories actually ship
~2,201 turn-1 tokens across 76 top OSS repos.
21 of 76 repos cross Anthropic's cap once @imports expand.
71 of 76 repos standardize on AGENTS.md; 90% of hand-maintained dual files drifted.
34 repos use nested AGENTS.md/CLAUDE.md; only 2 use .claude/rules/.
What the checker catches
Turn-1 length & token tax
Counts lines, characters, estimated tokens (~chars/4), and ranks your file against 76 production GitHub repositories including linux, next.js, react, vscode, node, and n8n.
Accidental secrets & machine-only paths
Flags API keys, private key headers, /Users/ or /home/ paths, and localhost URLs that should live in .gitignore’d CLAUDE.local.md instead of team git history.
Unverifiable prose & un-enforced "NEVER" rules
Surfaces vague instructions ("properly", "best practices") and ALL-CAPS prohibitions that belong in a hook, deny rule, or CI check instead of soft prompt context.
Dated history, inline procedures & @import traps
Catches changelog notes that burn context on every unrelated turn, 6+ step procedures that belong in skills, and @import directives that silently inflate turn-1 tokens.
Need whole-repo CI checks? Run rulevet.
A single-file browser paste can’t inspect your full repository tree. rulevet runs on every PR to catch CLAUDE.md ↔ AGENTS.md mirror drift, recursive @import budget blowups, Codex’s 32 KiB truncation cliff, dead paths/scripts/CLI flags (with .gitmodules, .gitignore, and Git rename archaeology), .mcp.json & hook security, multi-tool context simulation, and hidden prompt-injection Unicode — with safe --fix.
npx github:sntnldev/rulevet- uses: sntnldev/rulevet@v1
with:
format: githubKeep static rules in git. Put living team decisions in shared memory.
Most bloated CLAUDE.md files start clean and fill up with “why we did this in October” notes that every agent has to pay for on turn 1. Keep build commands and invariants in git, and let coding agents query past decisions on demand over MCP when they actually touch that area.