ClaudeMods
☰
JA
● 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 ごとに 2 フレームを切り替え、変更だけを blit します。新しい節約があると揺れ、影響が赤い場合や決定が SUPERSEDED の場合はフレーム 0 で暗くなります。マスコットは 6 種類(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.

関連作品