Lecarvalho/Pomegr/tree/main/plugins/claude-code
關於這個 mod
Pomegr 是以本機優先為設計、用於程式代理工作階段的唯讀觀察器。這個外掛會載入儲存庫擁有的回報政策,讓 Claude Code 回報有界的專案專屬訊號,並透過本機 Pomegr 監視器已提交的標準化觀察結果提供唯讀查詢。
外掛不會將轉錄內容、原始碼、提示、回應、命令、工具輸出或供應商憑證傳送到 Pomegr。回報透過 .pomegr/signals.md 以儲存庫為單位選擇啟用;本機觀察器無法使用時,查詢工具會安全失敗。唯讀查詢只連接到回送位址上的 Pomegr 程序,並使用短期的本機能力;該能力不是帳戶憑證,也永遠不會離開電腦。
開始使用
- 在與 Claude Code 相同的電腦上安裝並執行 Pomegr。
- 安裝此外掛並重新載入外掛。
- 在儲存庫中執行
/pomegr:init,審查並建立回報政策。 - 執行
/pomegr:doctor,進行唯讀設定檢查。
工作階段提示列
在 Claude Code 2.1.288 或更新版本中,外掛會在提示上方畫出一條安靜的提示列,以儲存庫資料夾名稱開頭,顯示主要代理的上下文、最近 5 次要求、代理自己的進度估計、帳戶用量視窗,以及目前提示的子代理。它只讀取 Claude Code 已為這個工作階段提供的數字,不需要 Pomegr 應用程式,也不會阻擋或改變提示或工具呼叫。執行 /pomegr-hud 可移動或隱藏它。
文件與原始碼位於 Pomegr 儲存庫。請透過 GitHub Issues 回報問題。
發佈說明
隨附圖示是 Pomegr 的第一方產品標誌,應用程式與 favicon 也使用它。產生的 JavaScript bundle 讓外掛不必安裝 node_modules 就能執行;其規範來源、固定的相依版本、建置腳本與保留的第三方法律聲明都位於 Pomegr 儲存庫。
安裝
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add Lecarvalho/Pomegr claude plugin install pomegr
原文 / README
Pomegr for Claude Code
Pomegr is a local-first, read-only observer for coding-agent sessions. This plugin loads a repository-owned reporting policy, lets Claude Code report bounded project-specific signals, and exposes read-only queries over normalized observations already committed by the local Pomegr monitor.
The plugin does not send transcript contents, source code, prompts, responses, commands, tool output, or provider credentials to Pomegr. Reporting remains opt-in per repository through .pomegr/signals.md, and query tools fail closed when the local observer is unavailable. Read-only queries connect only to the loopback Pomegr process and use its short-lived local capability; that capability is not an account credential and never leaves the computer.
Get started
- Install and run Pomegr on the same computer as Claude Code.
- Install this plugin and reload plugins.
- Run
/pomegr:initin a repository to review and create its reporting policy. - Run
/pomegr:doctorfor a read-only setup check.
Session line
On Claude Code 2.1.288 or newer the plugin draws one quiet line above the prompt, led by the repository's folder name: the main agent's context, its last 5 requests, the agent's own progress estimate, account usage windows, and the subagents of the current prompt. It reads only the figures Claude Code already has for the session, works without the Pomegr app, and never blocks or changes a prompt or tool call. Run /pomegr-hud to move or hide it.
Documentation and source are available in the Pomegr repository. Report problems through GitHub Issues.
Distribution notes
The included icon is Pomegr's first-party product mark, also used by the app and favicon. The generated JavaScript bundles let the plugin run without installing node_modules; their canonical sources, pinned dependency versions, build script, and preserved third-party legal notices are available in the Pomegr repository.
