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

statusline-band

statuslineV4.sh를 프롬프트 위 밴드로 옮겨 Desktop Code 탭에 디렉터리, git, 모델, effort, 소요 시간, 버전, session id, 속도 제한, 컨텍스트, 비용, 출력 스타일, RAM을 두 줄의 색상 상태 줄로 보여 주는 Claude Code 모드입니다.

zakattack9@zakattack9

zakattack9/agentic-coding/tree/main/claude-code/plugins/statusline-band

번역 완료

이 mod 소개

statusline-band는 claude-code/statuslines/statuslineV4.sh를 프롬프트 위 밴드로 옮깁니다. statusLine 스크립트를 실행하지 않는 Claude Desktop Code 탭에서도 같은 값을 두 줄의 색상 표시로 볼 수 있습니다. 1행에는 디렉터리, git 브랜치, 모델, effort, 소요 시간, 버전, 축약된 session id가 표시되고, 2행에는 5h/7d 속도 제한, 컨텍스트 비율, 비용, 출력 스타일, RAM 사용량이 표시됩니다. 색상은 스크립트의 xterm-256 팔레트를 hex로 변환한 것이며, 비어 있지 않은 NO_COLOR가 색상을 끕니다. session id는 버튼처럼 동작합니다. 터미널에서는 전체 id를 복사하고, 아직 클립보드 쓰기를 지원하지 않는 Desktop 앱에서는 toast를 표시합니다. /plugin marketplace add zakattack9/agentic-coding과 /plugin install statusline-band@zaksak으로 설치합니다. 옵션(show_in_terminal, dir_levels, refresh_seconds)은 /plugin configure 또는 /config으로 설정합니다. mods를 지원하는 Claude Code 빌드가 필요하며 v2.1.286에서 테스트했습니다.

설치

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

claude plugin marketplace add zakattack9/agentic-coding
claude plugin install statusline-band
원문 / README

statusline-band

A mod that ports claude-code/statuslines/statuslineV4.sh into the band above the prompt, so the Claude Desktop Code tab (which doesn't run statusLine scripts) gets the same figures in two rows:

statusline-band  ⟡  main  ⟡  Opus 5.5  ⟡  high               2m  ⟡  v2.1.286  ⟡  f00a9b5b…afddad
5h 13% · 7d 26%  ⟡  ctx 8%  ⟡  $0.77  ⟡  Caveman                        RAM 2.03GB (6 · 2.9%)

Each row puts its main figures on the left and pushes the rest to the right edge. Each figure is drawn in its own color, labels included. The 5h/7d labels and the RAM process count are a shade darker, and the ⟡ separators are dimmed. Colors are the script's xterm-256 palette converted to hex. A non-empty NO_COLOR turns them off.

The session id is a button. In the terminal, pressing it copies the full id. The Desktop app doesn't let mods write to the clipboard yet, so there it shows the full id in a toast instead.

Install

/plugin marketplace add zakattack9/agentic-coding
/plugin install statusline-band@zaksak

Requires a Claude Code build with mods. Tested on v2.1.286 in the Desktop Code tab.

Options

Set via /plugin configure statusline-band@zaksak or /config:

| Option | Default | What it does | | --- | --- | --- | | show_in_terminal | false | Also draw the band in terminal sessions. Off so the CLI's real status line isn't doubled. | | dir_levels | 3 | Trailing path components shown; 0 shows the full path. | | refresh_seconds | 5 | How often git, RAM and duration refresh between turns. |

Differences from the script

  • Draws above the prompt: mods can't draw in the status line slot below it.
  • Two rows instead of three. Duration, version and session id sit on the right of row 1, output style ends row 2, and the session id is shortened to first8…last6. Duration and output style keep each other's old colors.
  • Effort comes from the main loop's last request (turn.step), and is blank for a model without effort. Before the first request, or after /effort or /model changes between turns, it comes from the /config row until the next request.
  • Output style comes from the engine's own /config row, matched by key name. It shows default when not found.
  • Context shows — until the first response of a fresh or just-compacted session, where the script showed 0%.
  • Rate limits read 0% once a window's reset time has passed, since the engine's reading is from the last response. A gateway's spend_limit shows as spend. With no reading at all, the segment is left out instead of saying No ongoing session.
  • Cost is left out when the host keeps no cost ledger, instead of showing $0.00.
  • Duration counts from this run's start, read from the engine process's uptime. The engine's own session start counts from a resumed session's first launch. /clear still resets it.
  • RAM sums every process named claude for this user, as the script does: all Desktop Code tabs and terminal sessions, not just this one. This session's engine is always included, and the Desktop app's disclaimer wrapper is skipped.

Develop

claude plugin validate claude-code/plugins/statusline-band
claude plugin test claude-code/plugins/statusline-band
claude --plugin-dir claude-code/plugins/statusline-band

동명의 다른 작품

비슷한 프로젝트