Skip to main content

what ails
claude

Reporails reads the instruction files your coding agents load (CLAUDE.md, AGENTS.md, .cursorrules) and reports where the phrasing will make the agent miss your directives. Runs locally, no model calls.

npx @reporails/cli check

Your agent reads a file before it writes code. How that file is phrased decides whether the agent follows your instructions or invents its own.

Built on research

Every rule is checked against a corpus before it ships

The rules are not opinions. We analyzed 28,721 repositories, replayed 8.8 million diagnostic runs, and cross-validated findings across 5 coding agents (Claude, Codex, Copilot, Cursor, Antigravity) to derive 120+ deterministic rules.

28,721
repositories analyzed
8.8M
diagnostic runs replayed
120+
deterministic rules

Reproduce any rule: the full rule set is at /rules.

See it in action

Instructions decay under load. Watch it happen.

The context load rising until weakly-written rules sink under the water and the high-stakes rules flag red Open the interactive demo →
ails check
scanned in 14.7s
$ ails check
Reporails: Diagnostics
 
┌─ Main (1) 6 directive / 1 constraint · 85% prose
CLAUDE.md 6 dir / 1 con · 85% prose
Missing project description CORE:C:0013
Missing agent role CORE:C:0014
Missing output format spec CORE:C:0025
└─ 26 findings
 
┌─ Nested (16) 47 directive / 28 constraint · 75% prose
hub/CLAUDE.md 14 dir / 6 con · 74% prose
Prohibition at L9 comes before directive CORE:D:0003
Reorder: directive first, reasoning in between
└─ 127 findings
 
┌─ Agents (20) 318 directive / 165 constraint · 72% prose
analytics 25 dir / 7 con · 75% prose
'reporails' should be in backticks (×6) CORE:E:0003
└─ 986 findings
 
── Summary ──────────────────────────────────────
 
Quality 6.0 / 10 ▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░ (0s)
Findings 10 errors · 1359 warnings · 398 info
Agent: Claude
Level: L7 Adaptive
 
Scope: 566 directive / 1954 prose (70%)
285 constraint / 60 ambiguous
 
Main ▓▓▓▓▓▓▓▓▓▓░░░░░ 6.6 6 err
Nested ▓▓▓▓▓▓▓▓▓▓░░░░░ 6.9
Skills ▓▓▓▓▓▓▓▓▓░░░░░░ 6.0
Agents ▓▓▓▓▓▓▓▓▓░░░░░░ 6.1
Memory ▓▓▓▓▓▓▓▓░░░░░░░ 5.0 4 err
 
Top rules (by finding count):
CORE:E:0004 x704 warn Too long (18 words)
CORE:E:0003 x412 warn Bold on a prohibition
CORE:C:0042 x362 err Vague instruction
CORE:C:0053 x161 info Prohibition with no matching directive

Run it on every commit

Wire npx @reporails/cli check --strict into a git pre-commit hook. It exits non-zero when a rule fails, so the commit is blocked until the instruction file is clean.

.git/hooks/pre-commit
#!/bin/sh
npx @reporails/cli check --strict
Exits non-zero on rule failure CI variant: npx @reporails/cli check --format github