The two files have materially drifted
Only 0% of unique instruction lines match. Pick one source of truth before editing either file again.
CLAUDE.md and AGENTS.md agree.Compare, clean, and sync your coding-agent instructions before stale rules waste another session—or ship the wrong command.
Only 0% of unique instruction lines match. Pick one source of truth before editing either file again.
AGENTS.md mentions pnpm; CLAUDE.md mentions npm. An agent can install a second lockfile or run the wrong scripts.
Compare “- Do not push directly to main.” with “- Push directly to main after the task.”. Resolve the intended behavior manually.
The official Claude Code pattern is @AGENTS.md plus only the Claude-specific overlay below it.
We keep shared instructions in AGENTS.md and turn CLAUDE.md into a small, reviewable overlay. Review the result before replacing files.
# Project instructions
## Setup
- Use pnpm install.
- Start the app with pnpm dev.
## Quality gates
- Run pnpm test and pnpm lint before finishing.
- Add tests for behavior changes.
## Boundaries
- Never commit secrets or .env files.
- Do not push directly to main.
@AGENTS.md
## Claude Code
<!-- Keep only Claude-specific instructions below this line. -->
Cross-platform and leaves room for Claude-only rules.
# Cross-platform source of truth
printf '@AGENTS.md\n' > CLAUDE.mdBest when both tools must read exactly the same content.
# macOS / Linux — preserve the old file first
mv CLAUDE.md CLAUDE.md.backup
ln -s AGENTS.md CLAUDE.mdThey are both Markdown instruction files. The practical difference is who discovers them, how they compose, and how easily duplicated rules drift.
Put build commands, architecture, testing, safety, and delivery rules in one canonical AGENTS.md.
Keep tool-specific preferences out of the common file. Import the contract, then add the smallest necessary exception.
Markdown guides behavior. Use permissions, hooks, tests, and branch protection for controls that cannot be optional.
The free checker compares what you paste. A full repository audit checks whether referenced paths, commands, nested rules, security boundaries, and definitions of done still match the codebase.
One repository · human-reviewed · delivered as a clear change plan.
Request an audit No repository access is requested until scope is agreed.Compare two files, find drift, and download a cleaner setup.
Use it nowPR checks for changed rules, broken references, and instruction drift.
Join the betaShared baselines, multiple repositories, history, and team alerts.
Talk to usUse AGENTS.md for shared, tool-agnostic project instructions. Keep CLAUDE.md as a small Claude-specific overlay that imports AGENTS.md.
Yes. Put @AGENTS.md in CLAUDE.md, then add only Claude-specific instructions below it. Claude Code documents this as the cross-tool setup.
An import is the safest cross-platform default and allows Claude-specific additions. A symlink is useful when both files must remain byte-for-byte identical.
No. The free checker runs entirely in your browser. Your instruction files are not sent to a server or stored by this site.
No. Instruction files guide model behavior; they are not enforcement. Use permissions, hooks, tests, and branch protection for rules that must be guaranteed.
File comparison, checks, and downloads run in your browser. We do not receive or store the contents of files used in the free checker.