ClaudeMods
☰
KO
● — 명 접속 중 · 조회 — 회
후원프로젝트 제출
GitHub 저장소 · 작성자 nnemirovsky

status-band

Git, 모델, 컨텍스트와 브랜치의 PR 검토 상태를 보여 주는 Claude Code용 테두리 상태 밴드입니다.

번역 완료

이 mod 소개

status-band는 Claude Code의 명령 상태 줄을 고정된 2줄 레이아웃으로 바꿉니다. 첫째 줄에는 워크트리, 브랜치, 스테이징됨/스테이징되지 않음 줄 수, 모델과 노력 수준, 컨텍스트 창 사용량, 작업 디렉터리를 표시합니다. PR이 있을 때만 둘째 줄에 병합 가능 여부, 검토, CI, 충돌, 기준 브랜치보다 뒤처진 정도, 미해결 스레드, 승인, draft/merged/closed 상태를 표시하고 PR 번호를 링크로 만듭니다. Git과 컨텍스트는 10초마다, 각 턴 후, Bash 또는 파일 편집 후 갱신되며 PR 줄은 매분, 디렉터리나 브랜치 변경 후, gh pr·gh api·git push·git checkout·git switch 직후 갱신됩니다. /plugin marketplace add nnemirovsky/cc-status-band와 /plugin install status-band@status-band로 설치한 뒤 /status-band-setup을 실행합니다. Claude Code 2.1.289+, git, 로그인된 gh가 필요하며 MIT 라이선스입니다.

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

claude plugin marketplace add nnemirovsky/cc-status-band
claude plugin install status-band@status-band
원문 / README

Status Band

Opinionated framed status band for Claude Code with git, model, context, and the branch's PR review state. It takes the place of a command status line and tidies the hint line under the prompt.

Status Band while the PR's checks run

Status Band once the PR is ready to merge

It is opinionated, not configurable

This is not ccstatusline or any of the other status line builders. There are no widgets to pick, no themes and no layout options. It draws one fixed layout in one fixed palette, the way its author wanted it. The only setting is whether the PR and CI marks use Nerd Font glyphs. If you want a different look, fork it: the whole thing is one file, hooks/register.tsx.

What it shows

First row, the same fields a typical status line has:

  • the worktree (main for the main checkout), the branch, and staged plus unstaged line counts from git diff --shortstat HEAD
  • the model and the effort level its requests actually use
  • tokens in the context window and the share used: grey, yellow from 60%, red from 85%
  • the working directory, with (from …) when the session started somewhere else. When the row does not fit, the path moves to its own line.

Second row, only when the branch has a pull request, and only what needs attention:

| Shown when | Text | |---|---| | GitHub reports it mergeable and no changes are requested | ready to merge (the review state is left out) | | Review required | review required | | Changes requested | changes requested | | CI passed, running, failed | CI ✓, CI ●, CI ✗ 2 failed | | Merge conflicts, branch behind its base | conflicts, behind | | Unresolved review threads, when there are any | 3 unresolved | | Approvals, when there are any | 2 approvals | | Draft, merged, closed | draft, merged, closed | | GitHub is still working out the PR after a push, nothing else to show | checking |

PR #2899 is a link to the pull request.

Hint line under the prompt: the band replaces Claude Code's own PR badge, so that badge is removed from the hint line, together with (shift+tab to cycle).

Git and context refresh every 10 seconds, after each turn and after Bash or file edits. The PR row refreshes every minute, on a change of directory or branch, and right after a gh pr, gh api, git push, git checkout or git switch command. While checks run or GitHub has not yet worked out the merge state, it looks again every 15 seconds.

What it cannot change

Mods reach only some of Claude Code's interface. These stay as Claude Code draws them:

  • the permission mode pill (⏵⏵ auto mode on)
  • the /rc indicator
  • the notification row above the prompt (the usage-limit warning, Image in clipboard), which keeps its line even when empty

Requirements

  • Claude Code 2.1.289 or later, with function-hook mods available to your account
  • git, and gh logged in for the PR row
  • For nerdFont: a Nerd Font in your terminal (the glyphs are GitHub octicons)

Install

/plugin marketplace add nnemirovsky/cc-status-band
/plugin install status-band@status-band

Then run the setup command once:

/status-band-setup

It asks three things and changes only what you agree to, skipping what is already done:

  • whether you see a Nerd Font icon, to set nerdFont
  • whether to set FORCE_HYPERLINK=1, when it is not set (see Links that print the URL); it applies after a restart
  • whether to turn off your status line, if you have one, since it would draw under the band; it is kept as statusLineDisabled, so renaming it back restores it

It writes only ~/.claude/settings.json, and the nerdFont option through Claude Code's own config.

Settings

| Option | Default | | |---|---|---| | nerdFont | false | PR and CI marks as octicons ( ) instead of PR ✓ ● ✗ |

Set it from /config, or in ~/.claude/settings.json:

"pluginConfigs": { "status-band@status-band": { "options": { "nerdFont": true } } }

Links that print the URL

The PR number is an OSC 8 hyperlink. Claude Code decides whether your terminal supports those from its environment, and does not recognise every terminal (agterm, for one). If you see the URL printed after PR #2899, set FORCE_HYPERLINK=1 in the env block of ~/.claude/settings.json, or let /status-band-setup do it.

Development

claude plugin validate .
claude plugin test .
claude --plugin-dir .

Claude Code watches a --plugin-dir folder and reloads the mod on each save.

License

MIT

배지 받기

내 프로젝트인가요? 이 배지를 README나 웹사이트에 넣으면 이 페이지로 연결됩니다.

Featured on ClaudeMods
크기
테마
Markdown
HTML

동명의 다른 작품

비슷한 프로젝트