ClaudeMods
☰
EN
● 0 online · Views 0 times
SponsorsSubmit a project
GitHub repositories · by elkinaguas

pixelbar

An animated pixel-art status band for Claude Code showing model, context, rate limits, cost, git status and session stats, with interactive commands like /pixelbar, /session-files and /focus-timer.

elkinaguas@elkinaguas

elkinaguas/claude-mods/tree/main/pixelbar

Original post image1
Translated

About this mod

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

Installation

Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.

claude plugin marketplace add elkinaguas/claude-mods
claude plugin install pixelbar
Original text / 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

Similar projects