Independent by design · no pay-to-rank placements  · How we evaluate tools →
Anclum Submit
M

manishrawal95/check-agent-docs

Checks that CLAUDE.md, AGENTS.md and other agent instruction files still match your code: moved paths,…

Before you install: no copy-paste command · license MIT · link reachable

First step: nothing runnable here yet - start from the repository: https://github.com/manishrawal95/check-agent-docs

no SECURITY.md
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Star count
0 ★ · manishrawal95/check-agent-docs · read from the GitHub search API · (checked 2026-11-13 20:00:50)
Source
read directly from its GitHub page · type: open-source project
Harvest history
first seen 2026-10-22 · last seen 2026-11-14 · seen 27× · listed by 2 sources
Score
score 203 · 2 sources · repo
FAQ (answers come from our records)
Who is it for?
We filed it under these tags: 开源项目. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository manishrawal95/check-agent-docs;first catalogued 2026-10-22;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.

# check-agent-docs

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Checks that your CLAUDE.md, AGENTS.md and other agent instruction files still match your code. When a file moves, a script is renamed or the package manager changes and the instructions don't follow, it tells you which line is wrong and where the thing went.
$ check-agent-docs
src/pydanticclai2/AGENTS.md:315 [moved] tests/menuscript.py
The scripted menu runner lives at tests/clai2/menuscript.py, not at tests/menuscript.py.
fix: tests/clai2/menuscript.py
AGENTS.md:43 [other] make lint # mypy type checking
make lint runs ruff and its recipe says no type checker is configured; it is not a mypy run.
12 instruction file(s), 2 issue(s), 0.9s
It reads CLAUDE.md, AGENTS.md, GEMINI.md, .cursor/rules/, .cursorrules, .github/copilot-instructions.md, .github/instructions/, .windsurfrules, .windsurf/rules/ and .clinerules (file or folder) in one pass.
## Why
Agents follow these files literally. When code moves and the instructions don't, the agent goes looking for a folder that isn't there, runs a script that was renamed, or installs with the wrong package manager. In tests on 216 popular open-source repos with agent files, 54 (1 in 4) had at least one instruction that was wrong at the current commit.
## How it works
1. Local checks (fast, no network, no AI). Every path, file name, folder-tree diagram, script, task, make/just target and install command is checked against the repo with git: tracked and staged files, every .gitignore, submodules, symlinked folders, the nearest lockfile, package.json, pyproject.toml (project scripts, poe, pdm, hatch), Makefiles (including Makefile.), justfiles, Taskfiles, deno.json, turbo and mise. This takes about 0.1 s per repo, and --fix rewrites moved paths in place.
2. AI review (optional, experimental). With ANTHROPICAPIKEY set, a small model reads each flagged instruction file next to those facts, including what each mentioned command really runs, and reports only claims that would mislead an agent. It skips examples, placeholders, files you're told to create, other repos and gitignored paths. Files where every claim checked out are never sent, results are cached, and requests run in parallel. Read How good is it? before relying on it.
## Use it in Claude Code (plugin)
/plugin marketplace add manishrawal95/check-agent-docs
/plugin install check-agent-docs@check-agent-docs-marketplace
/check-agent-docs:check checks every instruction file. Use --fix to rewrite moved paths, --changed origin/main for a branch, or --only CLAUDE.md for one file. The review is done by Claude in your session, or by the bundled instruction-reviewer subagent, so no API key is needed. The tool still applies its guard rails to the answers.
Automatic check after edits: when Claude edits an instruction file, a hook runs the local checks (about 0.1 s, no network) and tells Claude about any path, script or target that doesn't exist.
To try it from a local copy: claude --plugin-dir ./check-agent-docs.
## Install the CLI
A single Python file with no dependencies (Python 3.10+; 3.11+ for pyproject.toml tasks).
bash
pipx install git+https://github.com/manishrawal95/check-agent-docs
# or copy checkagentdocs.py into your repo and run: python3 checkagentdocs.py
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/en/s/manishrawal95-check-agent-docs/)
Source
github · https://github.com/manishrawal95/check-agent-docs
Browse by field
Open source
Listed by
2 independent sources
added
today
Security policy
no SECURITY.md at the repository root (which does not mean it is unsafe)

More like this

All 1,671 →

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields →

← Back to index