---
title: "git-status-band"
url: "https://claudemods.dev/zh-cn/builds/git-status-band-492eff"
source: "https://github.com/shuletadev/certbuddycr/tree/main/mods/git-status-band"
source_type: "github"
repo: "https://github.com/shuletadev/certbuddycr/tree/main/mods/git-status-band"
author: "shuletadev"
author_handle: "shuletadev"
stars: 0
category: "Git 与代码审查"
categories: ["git"]
tags: ["git", "hooks", "hud", "read-only", "status"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add shuletadev/certbuddycr\nclaude plugin install git-status-band"
added: "2026-10-05T17:15:27.329Z"
updated: "2026-10-16T00:41:03Z"
locale: "zh-cn"
content_locale: "zh-cn"
---

# git-status-band

Claude Code 提示框上方的一行状态带，用直白的语言说明你的工作是否已保存并与 GitHub 一致。只读：只运行 `git status`，从不修改任何内容。

## Description

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` 验证。

## Install

```
claude plugin marketplace add shuletadev/certbuddycr
claude plugin install git-status-band
```

## Original 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).
