Who it is forA tech lead inheriting a repo whose instruction files were written after most of the code, who wants to know what already breaks.
The problemRules were added to AGENTS.md later, and nobody knows how much existing code violates them.
The outcomeA table grouped by rule and a list grouped by file, showing where the codebase departs from its own instructions.
What you need first
- A TypeSafe API key from typesafe.ai, or a Vercel AI Gateway key
- A terminal with npx available
- A git repository with project instruction files such as AGENTS.md or CLAUDE.md
- One or more supported agents installed: Claude Code, Codex, OpenCode or Pi
Steps
- Run
npx @coldtea/abide loginand paste your key if you have not already. - Run
abide audit src/from the repo root, or changesrc/to another path. - Read the table by rule to see which rules are broken most often.
- Read the list by file and prioritise the files with the most violations.
- Run
abide audit src/ --jsonto save the results for tracking over time. (inferred, check the README)
Prompt for your agent
In the repo <repo-path>, run `abide audit src/` and save the output. Then list the three rules with the most violations and the three files with the most violations, and report the total cost the README-style audit printed.
Caveat. The README gives one audit example of 33 API routes taking 12 seconds and about a cent, so cost and time for a larger repo will scale with file count and are not stated.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for coldteadotai/abide and "Find every existing rule violation in a codebase at once"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer