ClaudeMods
☰
ZH-TW
● 0 人在線上 · 瀏覽 0 次
贊助提交作品
GitHub 儲存庫 · 發布者 iamalvisng

sieve-pane

一個 Claude Code mod,會以 Tokyo Night 儀表板面板顯示代理程式讀取與編輯之程式碼的呼叫者、影響範圍與記錄的決策,並附帶動畫像素吉祥物與提示列上方的狀態帶。

iamalvisng@iamalvisng

iamalvisng/sieve/tree/main/crates/sieve-cli/assets/claude-mod/sieve-pane

已翻譯

關於這個 mod

sieve-pane 是一個 Claude Code 外掛,會透過 /sieve-pane 為代理程式讀取與編輯的程式碼開啟儀表板面板。面板由上而下排列:含像素吉祥物、符號名稱與 file:line · kind 上下文的標頭;SAVED TODAY、THIS WEEK 與 IMPACT 磁貼;深度為 2 的 WHO DEPENDS ON THIS 呼叫者樹;以綠色(1–5)、橘色(6–20)或紅色(>20)呼叫者上色的 IMPACT 長條;記錄的 WHY IT EXISTS 決策(已被取代的決策以紅色顯示並附帶警告);以及 SAVED · LAST 7 DAYS 長條圖。非程式碼檔案會顯示休息中的吉祥物、節省量磁貼與「not code」通知。

吉祥物在終端機中呈現為 Raster,在桌面與 vscode 中呈現為 Svg,手機上則不顯示。面板開啟時每 600 ms 在兩個畫格之間交替,只重繪有變化的部分;新增節省量後會搖擺,影響範圍為紅色或決策為 SUPERSEDED 時,會以畫格 0 變暗。共有六個吉祥物(sieve、soya、cloud、sifty、hoot、grit);/sieve-mascot <name> 會將選擇存到 .sieve/config.json。吉祥物由 assets/mascots.json 透過 node scripts/gen-mascots.mjs 產生。

面板會回應 Read、Edit 與 Write 工具,以及透過 Bash 和 MCP 發出的 Sieve 查詢;在 Edit、MultiEdit 或 Write 之後,會在提示列上方顯示類似 ✎ checkApiKeyRateLimit → affects 6 callers in 2 routes 的狀態帶,並使用該層級的顏色。儲存的數字最多每 30 秒來自一次 sieve stats --json。試用方式:執行 sieve build,將 sieve 放進 PATH,接著執行 claude --plugin-dir <absolute path to this folder>;執行 claude plugin test <this folder> 進行測試。這個 mod 從不變更工具呼叫,也不會呼叫模型。

安裝

請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。

claude plugin marketplace add iamalvisng/sieve
claude plugin install sieve-pane
原文 / README

sieve-pane

A Claude Code mod. It shows a Tokyo Night dashboard for the code the agent reads and edits.

The pane (/sieve-pane) has these parts, top to bottom:

  • Header: a pixel mascot, the symbol name in bold, and file:line · kind · edited 9:58pm in dim.
  • Tiles: SAVED TODAY (green), THIS WEEK (blue) and IMPACT (green, orange or red).
  • WHO DEPENDS ON THIS: the callers to depth 2 as a tree, 4 rows, then "+N more".
  • IMPACT: a bar and "N callers · H hops". Green is 1 to 5, orange 6 to 20, red above 20.
  • WHY IT EXISTS: the recorded decisions. A superseded one is red with ⚠.
  • SAVED · LAST 7 DAYS: a bar chart, oldest left, today green. A non-code file shows the resting mascot, the savings tiles and "not code · Sieve indexes code files only".

The mascot is a Raster in the terminal and an Svg on desktop and vscode. The phone has none. It alternates 2 frames every 600 ms while the pane is open, and only blits a change. It wags (frame 1) after a new saving. A red impact or a SUPERSEDED decision dims it and keeps frame 0. The default mascot is sieve. The six mascots are sieve, soya, cloud, sifty, hoot and grit. The value none shows no mascot. /sieve-mascot <name> saves the choice in .sieve/config.json, as "mascot": "<name>". You can also set that key by hand. assets/mascots.json is the source. Run node scripts/gen-mascots.mjs to make hooks/mascots.ts. The pane reacts to the Read, Edit and Write tools, and to Sieve queries made through Bash and MCP. The band above the prompt shows, after an Edit, MultiEdit or Write: ✎ checkApiKeyRateLimit → affects 6 callers in 2 routes, in the level color. The saved numbers come from sieve stats --json, at most every 30 seconds. Try it: run sieve build, put sieve on PATH, then claude --plugin-dir <absolute path to this folder>. Run claude plugin test <this folder> for the tests. The mod never changes a tool call and makes no model call.

更多類似作品