shuletadev/certbuddycr/tree/main/mods/git-status-band
git-status-band
Claude Code 提示框上方的一行状态带,用直白的语言说明你的工作是否已保存并与 GitHub 一致。只读:只运行 `git status`,从不修改任何内容。
关于这个 mod
Claude Code 提示框上方的只读状态带,用来表示你的工作是否已保存并与 GitHub 同步。它区分已提交与未提交的变更,以及相对于 GitHub 的领先/落后状态,每 15 秒、每个回合结束后以及通过 Refresh 按需刷新;Hide 会在本次会话中隐藏它。
试用:claude --plugin-dir ./mods/git-status-band。需要带 mod 的 Claude Code 2.1.286 或更新版本。使用同一版本通过 claude plugin validate mods/git-status-band 验证。
安装
请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。
claude plugin marketplace add shuletadev/certbuddycr claude plugin install git-status-band
原文 / README
git-status-band
A one-line band above the Claude Code prompt that says, in plain language, whether your work
is saved and matches GitHub. Read-only: it only runs git status, never changes anything.
| You see | It means | What to do |
| --- | --- | --- |
| ✓ Everything is saved and matches GitHub | Nothing to do | — |
| ● N files have changes that are not saved yet | Edits not committed | /save |
| ↑ Saved on this computer, not on GitHub yet | Committed, not pushed | /save |
| ↓ GitHub has newer updates | The other account pushed | /start |
| ⇅ Both have new work | Needs care | Ask Claude to sort it out |
It refreshes every 15 seconds, after each turn, and when you press Refresh. Hide hides it
for the session. "Behind GitHub" is based on the last time git contacted GitHub, so /start
(which fetches) is what makes it fully current.
Try it
claude --plugin-dir ./mods/git-status-band
Needs Claude Code 2.1.286 or newer with mods. Validate with claude plugin validate mods/git-status-band
using the same version (an older claude on PATH will report false errors).
