- Category
- Developer Tools
- Rank
- No. 4441Tools index
Previous survey · No. 4311 ·
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Software Testing & Quality · Agent Building
- Interfaces
- CLI
- GitHub
- 1 stars
- Latest release
- v0.1.3
- Date
About
ruleherd is a zero-dependency Node CLI that audits agent instruction files such as CLAUDE.md, AGENTS.md, .cursor/rules and copilot instructions. It flags contradictions between files, dead file and command references, duplicated paragraphs that have drifted, stale version mentions, dead globs and oversized files, then gives a score and per-file token estimate. A strict mode exits with code 1 for CI use.
At a glance
ruleherd scans existing coding-agent instruction files for likely contradictions, repeated paragraphs and references that no longer resolve. It is worth trying if your team keeps similar rules in several agent formats and they keep drifting apart.
Good fit
Developers maintaining AGENTS.md, CLAUDE.md and editor-specific rules for the same repository.
Consider something else when
If you need an enforcement mechanism that stops an agent from violating policy, use a separate control. This tool reports findings for you to review.
Start here
Point ruleherd at a disposable checkout with two instruction files. Follow one reported command or file reference back to its definition before editing any rule.
Cost and requirements
MIT-licensed. Requires Node 18 or later. It reads files from the selected checkout. The optional --user mode scans supported global config paths.
Limits to know
The conflict checks use patterns and keywords. They can miss disagreements that are phrased differently. Treat the score and token estimates as rough indicators.
Sources checked 2026-11-05. Source-based assessment.
Similar tools
Tags
Tech Stack
Media
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.