SuperAPI AI Directory

prumo

Checks coding-agent context files (CLAUDE.md, AGENTS.md, SKILL.md) against the git index: broken links, missing paths, undefined commands and drift.

Open website

About this tool

prumo is a command-line tool for checking the accuracy of coding agent context files, developed by TomD4vs and hosted on GitHub. Its core goal is to answer "is the documentation still true," that is, to check whether context files read by agents, such as CLAUDE.md, AGENTS.md, and SKILL.md, remain consistent with the code beside them.

Purpose prumo targets the "drift" problem that occurs after documentation evolves alongside code. For example, a folder mentioned in CLAUDE.md has been renamed to Layouts (capital L); Windows and macOS can still open that path, so no error is reported, but Linux and CI environments will fail, and the agent reading that file will also be directed to a nonexistent path. prumo can find this kind of problem in seconds, whereas manual audits may miss it multiple times.

Main capabilities prumo provides five high-precision checks and two reports, with zero dependencies. It automatically locates context files, including CLAUDE.md, AGENTS.md, .cursor/rules, .github/copilot-instructions.md, skills installed in .claude/skills/, and more. The checks cover: whether links are broken, whether paths exist, whether commands are defined, whether the documentation has drifted from the code, and more. Each finding gives the file, line number, and a suggested fix; if a missing path has a rename record in git history, it also points out where git moved it. All results are evidence-based, no guessing, and no files are written. In addition, prumo provides three measurement-oriented commands: drift counts, based on git blame, when each section was last written and the number of commits referencing the file since then, listing the sections most in need of priority review; budget estimates the cost of context files per session, as well as the additional cost when skills, folder comments, or scoped rules are used, the growth since a given commit, and which sections have been written repeatedly in multiple places; coverage lists, by workspace package, the parts of code folders not mentioned by any context file, sorted by the number of commits within ninety days, revealing what the agent has never been told. These three commands exit with code 0 no matter what they find.

Usage Node.js 18+ and git are required before use. No installation, configuration, or account creation is needed. In the terminal of any git repository, it can be run directly via npx @tomd4vs/prumo; if frequent use is needed, it can also be installedThen invoke it with the prumo command. For repositories that are themselves a skill, a filename can be specified, such as npx @tomd4vs/prumo . SKILL.md. Text output indicates the file, line number and correction, enough for an agent to act directly; --format json returns structured data.

Agent integration prumo is a pure CLI tool, and any agent with shell access can run it. It can also be used as an MCP server: the package includes prumo-mcp, a stdio-based MCP server that provides five tools: prumo_check (read-only), prumo_fix (rewrites casing and git-recorded renames), and three read-only reports, prumo_drift, prumo_budget and prumo_coverage. In Claude Code it can be used via configuration. In addition, a slash command can be added at .claude/commands/prumo.md to turn the check into /prumo; it can also be run automatically via a PostToolUse hook when the agent writes a context file, so findings go directly into the conversation record and are fixed in the same turn.

CI integration prumo exits with a non-zero status code when it finds issues, so it can be embedded in a pipeline as a single step. The action provided by the repository can annotate the specific lines of a pull request and fail the job when review is needed. Running npx @tomd4vs/prumo --quiet after actions/setup-node achieves the same effect in any pipeline. Note that actions/checkout must be used normally, because prumo reads the git index, and omitting checkout will not work. Other options include: --baseline records existing backlog, and subsequently fails only on new issues; --since origin/main checks only the context files touched by the pull request; --sarif FILE writes the results required for code scanning; .pre-commit-hooks.yaml can run the same check before every commit via the pre-commit framework.

Limitations prumo has three intentional limitations: it does not judge whether statements are correct, for example whether "this flag disables caching" still holds requires model judgment and is outside its scope; it does not perform editing beyond casing and git-recorded renames, because links suggested by name alone are guesses, and missing paths with no history may be intentional; it does not make network requests, with no telemetry, no account, no model. All checks are measured on public repositories before release, and the design page publishes the relevant data, including unfavorable results.editing, because links suggested by name alone are guesses, and missing paths with no history may be intentional; it does not make network requests, with no telemetry, no account, no model. All checks are measured on public repositories before release, and the design page publishes the relevant data, including unfavorable results.