
Prumo
io.github.TomD4vs由 GitHub 帳號 TomD4vs 發布v0.9.7更新於 Oct 24, 2026
Checks the context files a coding agent reads against the git index, and reports what drifted.
概覽
對照 git 索引檢查編碼代理讀取的脈絡檔案(CLAUDE.md、AGENTS.md、規則、技能),回報路徑、連結與大小寫漂移。
- 可以做什麼
- 對照 git 索引檢查脈絡檔案,列出附檔案、行號與修正建議的問題
- 修正字母大小寫以及 git 本身記錄的重新命名
- 產生 drift 報告:哪些章節描述的程式碼自撰寫後已變更
- 產生 budget 報告:每個脈絡檔案帶給代理的負擔及重複內容
- 產生 coverage 報告:哪些程式碼資料夾未被任何脈絡檔案提及,依活躍度排序
- 適用情境
- 適用於倉庫中維護 CLAUDE.md、AGENTS.md、Cursor 規則或 Copilot 指示等代理脈絡檔案,希望在代理照做之前找出失效路徑、斷鏈與大小寫不一致的情況。也適合在 CI 流程與提交前檢查中讓這類問題導致建置失敗。
- 執行需求
- 透過 npx 從 npm 套件以 stdio 在本機執行;需要 Node.js 18+ 與 git,並須在 git 倉庫內執行。無需帳號、API 金鑰或額外設定。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Prumo,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
[prumo, a context linter for coding agents. Is your documentation still true?]
Checks the context files your coding agent reads against the code beside them.
[npm version] [CI] [MIT license]
The problem
Three months ago someone wrote this in CLAUDE.md:
The folder has since been renamed to Layouts, with a capital L. Windows and macOS still open that path, so nothing ever complained. Linux and CI don't, and every agent that reads the file gets sent somewhere that doesn't exist.
That line survived six hand-run audits of the same files. prumo found it in four seconds.
Quick start
If you already have Node.js 18+ and git, you are ready. Nothing to install, nothing to configure, no account to create. From a terminal inside any git repository:
prumo locates your context files on its own: CLAUDE.md, AGENTS.md, .cursor/rules, .github/copilot-instructions.md, installed skills in .claude/skills/ and the rest. Every file and folder it looks for is in the reference.
For frequent use, install it once:
Either way the command is prumo, with zero dependencies. Errors at this step, such as an old Node or a folder that isn't a git repository, are in Troubleshooting.
Reading the result
A clean run:
A run with findings, annotated:
Every finding carries a file, a line number and the correction, and a missing path says where git moved it when the history holds a rename. Nothing is guessed and nothing is written. What each finding means, and what to do about it, is in the reference. If it flags a line you know is correct, Silencing a finding covers the two ways to say so, and when it stays quiet about a line you expected it to flag, prumo --explain CLAUDE.md:12 says what it read there and which filter decided (why a line was or was not reported).
What it will not do
Three limits, chosen on purpose and explained in Design:
- It does not judge claims. Whether "this flag disables caching" is still true needs a model, and that is a different tool.
- It does not edit beyond letter case and the renames git itself recorded. A link suggested from a name is an educated guess, and a missing path with no history may be missing on purpose.
- It makes no network calls. No telemetry, no account, no model.
Every check was measured on public repositories before it shipped, and the design page publishes the numbers, the ugly ones included.
Using it from an agent
prumo is a plain CLI, so any agent with shell access can run it.
Ask the agent to run it. npx @tomd4vs/prumo works in any git repository, and covers skills installed under .claude/skills/ on its own. For a repository that is itself a skill, name the file: npx @tomd4vs/prumo . SKILL.md. The text output names the file, the line and the correction, which is enough for an agent to act on without parsing. --format json returns the same findings as structured data.
Expose it as a tool. The package also ships prumo-mcp, an MCP server over stdio with five tools: prumo_check, which is read only, prumo_fix, which rewrites letter case and the renames git recorded, and the three reports, prumo_drift, prumo_budget and prumo_coverage, read only as well. In Claude Code:
The configuration for any other MCP client is in Agents.
Add a slash command. A file at .claude/commands/prumo.md turns the check into /prumo:
Run it after every edit. A PostToolUse hook runs prumo whenever the agent writes a context file, so the findings land in the transcript and it can fix them in the same turn. The hook, for bash and for PowerShell, is in Agents.
Continuous integration
prumo exits non-zero on findings, so it drops into a pipeline as a single step. The shortest form is the action this repository ships:
It annotates the exact line of the pull request and fails the job when something needs review. npx @tomd4vs/prumo --quiet after actions/setup-node does the same in any pipeline. Use actions/checkout as normal; prumo reads the git index, so a checkout that omits it will not work. Three options cover the rest:
--baselinerecords what a repository with a backlog already has, once; later runs fail only on what is new.--since origin/mainchecks only the context files a pull request touched.--sarif FILEwrites the findings for code scanning, and.pre-commit-hooks.yamlruns the same check before each commit through the pre-commit framework.
The action's inputs, the SARIF upload and the pre-commit block are in the reference.
Three reports
Beyond the checks, three commands measure instead of judging, and exit 0 whatever they find:
drift reads from git blame when each section was last written, counts the commits that touched the files it cites since then, and lists the sections most moved first: a reading order for a review, since a section whose files changed forty times may still be right. budget estimates what the context files cost at every session, with the files a CLAUDE.md imports, and what they add only when a skill, a folder's note or a scoped rule is used, how much that grew since a commit, and which paragraphs are written in more than one place. coverage lists the folders of the code, package by package in a workspace, that no context file mentions, the most commits in ninety days first: what the agent is never told about. All three are on the reference, and all three are tools of the MCP server.
Documentation
License
MIT
來源:README.md,提交 ce29466
工具
0版本歷史
3- v0.9.7最新Oct 12, 2026
- v0.9.6Oct 11, 2026
- v0.9.5Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分