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

pixelbar

為 Claude Code 顯示模型、context、速率限制、成本、git 狀態與工作階段統計的動畫像素風格狀態列,提供 /pixelbar、/session-files 和 /focus-timer 等互動式指令。

elkinaguas@elkinaguas

elkinaguas/claude-mods/tree/main/pixelbar

原貼文圖片1
已翻譯

關於這個 mod

pixelbar 是繪製在提示列上方的動畫像素風格狀態列。四行分別顯示模型與 effort、context 視窗大小、資料夾與 git 分支(包含未提交與未推送計數);context、5 小時與每週用量條;狀態、測試或建置結果、工作階段成本、時間與 context 使用量 sparkline;以及目前回合的即時統計與上一回合摘要。螃蟹會隨 Claude 工作揮動螯、慶祝測試通過、擔心失敗,在 context 快滿時變紅冒汗,閒置 10 分鐘後入睡。另有 context 超過 80% 時的閃爍警示與 /compact? 提示、未提交變更提醒,以及可開啟檔案面板的 [ N files ] 按鈕。指令包括 /pixelbar、/session-files 和 /focus-timer [minutes]。需求為近期版本的 Claude Code、git、Pro 或 Max 訂閱,以及支援區塊字元的終端機字型。

安裝

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

claude plugin marketplace add elkinaguas/claude-mods
claude plugin install pixelbar
原文 / README

pixelbar

An animated pixel-art status band for Claude Code, drawn above the prompt.

pixelbar demo

Demo data, generated from pixelbar's own drawing code (tools/pixelbar-demo/make-gif.sh).

What it shows

| Row | What's there | | --- | --- | | 1 | Model and effort, context window size, folder, git branch with uncommitted (●) and unpushed (↑) counts | | 2 | Context, 5-hour and weekly usage bars with time to reset; a warning if you'd hit the 5h limit before it resets at your current pace | | 3 | Status (working / ready / mood), last test or build result, session cost, session time, context-usage sparkline | | 4 | Live stats for the current turn, then the last turn's summary: time, tools, files and lines changed, cost |

The crab works along with Claude: it waves its claws while working, celebrates passing tests, worries about failures, turns red and sweats as the context fills, and falls asleep after 10 idle minutes.

More signals:

  • Context warning: above 80% context the percentage blinks and /compact? appears.
  • Uncommitted-work nudge: ⚑ when 10+ files are uncommitted, or changes have sat uncommitted for 30 minutes.
  • Files button: [ N files ] appears once a file is edited, and opens the files pane.

Commands

| Command | What it does | | --- | --- | | /pixelbar | Show or hide the band | | /session-files | Open a pane listing the files edited this session, with their diffs (also the [ N files ] button, hotkey f) | | /focus-timer [minutes] | Start a focus timer (default 25 minutes) shown under the crab; /focus-timer off stops it |

Requirements

  • A recent Claude Code (built on 2.1.289)
  • git, for the git section and the uncommitted-work nudge
  • A Pro or Max subscription, for the 5-hour and weekly bars
  • A terminal font with good block characters

Install

See the repository README.

Develop

claude plugin validate pixelbar
claude plugin test pixelbar
tools/pixelbar-demo/make-gif.sh   # rebuild demo.gif after visual changes

更多類似作品