hamzafer/claude-code-mods/tree/main/mods/context-bar

컨텍스트 창을 프롬프트 위의 누적 막대 그래프로 표시하고, 카테고리별 색상, 토큰 수 및 압축 지점을 보여줍니다. /context-bar로 표시하거나 숨길 수 있습니다.
hamzafer/claude-code-mods/tree/main/mods/context-bar

<td align="center" width="33%"><a href="docs/mods.md#-where-am-i"><img src="images/gallery/where-am-i.png" alt="where-am-i: 세션 목표, 현재 단계, 당신을 기다리는 것, Claude Code 프롬프트 위" width="260"></a><br>📍 <b>where-am-i</b><br>목표, 현재, 당신을 기다리는 것</td>
<td align="center" width="33%"><a href="docs/mods.md#-lines-above-the-prompt"><img src="images/gallery/lines.png" alt="token-weather, usage-meter 및 기타 Claude Code 상태 줄이 프롬프트 위에 쌓여 있습니다" width="260"></a><br>🌦️ <b>token-weather와 친구들</b><br>프롬프트 위의 줄</td>
<td align="center" width="33%"><a href="#mission-control"><img src="images/gallery/mission-control.png" alt="mission-control: Claude Code 하위 에이전트, 도구 호출, 그들이 건드리는 파일, 실시간" width="260"></a><br>🛰️ <b>mission-control</b><br>에이전트와 그들이 건드리는 코드</td>
</tr>
</table>
마켓플레이스를 한 번 추가한 다음, 원하는 모드를 이름으로 설치하세요:
claude plugin marketplace add hamzafer/claude-code-mods
claude plugin install context-bar@claude-code-mods
또는 범용 세트를 한 번에 설치하세요:
for m in context-bar token-weather usage-meter where-am-i next-steps agent-radar review-watch replay-theater md-preview blast-radius mission-control; do
claude plugin install "$m@claude-code-mods"
done
설치 후 Claude Code를 재시작하세요. 설치하지 않고 사용해 보려면:
git clone https://github.com/hamzafer/claude-code-mods && cd claude-code-mods
claude --plugin-dir mods/context-bar
필요 Claude Code 2.1.287+. 일부 모드는 더 필요합니다(Chrome,
gh, 커넥터). 어떤 모드가 필요한지는 표에 나와 있습니다.
| | 모드 | 기능 | 명령 |
| --- | --- | --- | --- |
| 🛰️ | mission-control | 에이전트, 도구 호출 및 그들이 건드리는 코드의 실시간 맵 | /mission |
| 📊 | context-bar | 컨텍스트 창을 하나의 누적 막대로 표시, 카테고리별 색상, 토큰 수 및 압축되는 위치 | /context-bar |
| 🌦️ | token-weather | 컨텍스트 채우기를 Clear에서 Compact soon까지 표시, 프롬프트 캐시 카운트다운 포함 | |
| ⏱️ | cache-clock | 상태 줄 아래에 프롬프트 캐시 줄 표시, Claude Code 자체 수치 기반: 남은 시간, 적중률 및 미스, 그리고 차가워진 후 다음 메시지가 다시 캐시하는 토큰. Node와 Claude Code 2.1.251+ 필요 | /cache-clock setup |
| 📍 | where-am-i | 목표, 현재 하는 일, 당신을 기다리는 것, 다음 단계 | /where |
| ➡️ | next-steps | 각 턴 후 가능성 높은 다음 프롬프트 2~3개, 키 하나로 초안 작성 | 1 2 3, 0 숨김 |
| 💰 | usage-meter | 5시간 및 7일 플랜 사용량, 재설정 카운트다운, 세션 비용 | |
| 💳 | openai-balance | OpenAI API 크레딧: 게이지가 있는 예상 잔액, 오늘 지출, 주로 어디에 돈이 쓰였는지, 마지막 호출. OpenAI 조직 Admin 키 필요 | /openai-balance |
| 📡 | agent-radar | 실행 중인 각 하위 에이전트당 한 줄 실시간 정보 | /radar |
| 🔍 | review-watch | 실행 중인 각 코드 리뷰(Codex 또는 리뷰 하위 에이전트)당 한 줄 실시간 정보, 모델, 대상, 경과 시간, Codex의 최신 출력 포함. 종료 시 토스트로 발견 사항 목록 표시 | |
| 🌐 | browser-lanes | 이 세션에 브라우저가 있는지, 누가 보유하고 있는지 | /browser |
| 🕌 | prayer-times | 현재 기도와 남은 시간, 다음 기도, 그리고 zawal. 당신의 컴퓨터에서 계산, Hanafi 또는 표준 Asr | /prayers |
| 🎬 | replay-theater | 지난 턴의 편집을 한 번에 하나의 diff로 단계별로 보기 | /replay |
| 📝 | md-preview | Claude가 편집하는 Markdown 파일을 GitHub처럼 렌더링, 전후를 나란히 표시. Chrome과 이미지를 표시할 수 있는 터미널 필요 | /md |
| | 모드 | 기능 | 명령 |
| --- | --- | --- | --- |
| 💥 | blast-radius | rm -r, 강제 푸시, 마이그레이션을 보류하고, 삭제될 항목을 보여주며, 60초 안에 응답이 없으면 취소합니다 | |
| | 모드 | 기능 | 명령 |
| --- | --- | --- | --- |
| 🔀 | switchboard | 모델을 지정하지 않은 각 하위 에이전트에 대해 짧은 라벨만으로 OpenAI's Decisions API 또는 Jev를 사용해 모델을 선택합니다. 각 하위 에이전트의 비용을 보여줍니다 | /route |
이것들은 내 도구와 규칙을 중심으로 만들어졌습니다. 포크해서 규칙을 자신의 것으로 바꾸세요.
| | 모드 | 기능 | 명령 |
| --- | --- | --- | --- |
| 👀 | glance | 당신이 필요한 일을 한 줄로 표시: 다음 회의, PR, Linear 이슈, Slack DM. gh와 Google Calendar, Linear, Slack 커넥터가 필요합니다 | /glance |
| 🚦 | merge-gate | CI가 통과되고 Codex가 한 번 리뷰할 때까지 gh pr merge를 보류합니다. gh와 Codex CLI가 필요합니다. 리뷰는 하나의 고정 모델에서 실행됩니다. 자신의 것으로 바꾸세요 | /gate |
| 📏 | rulebook-guard | 내 글쓰기와 git 규칙을 강제합니다. em 대시를 다시 쓰고, --amend, 포맷되지 않은 푸시, 노트의 이메일과 전화번호 앞에서 확인합니다 | |
| 💾 | session-saver | 중단한 지점을 저장하고 재개할 때 보여줍니다. unpause가 필요합니다 | /park [note] |
| | 모드 | 기능 | 명령 |
| --- | --- | --- | --- |
| 📱 | reels | Claude가 작업하는 동안 YouTube Shorts를 재생하고, 끝나면 일시정지합니다 | /reels |
| 🐍 | snake | Claude가 작업하는 동안 스네이크 | /snake |
| 🎵 | now-playing | Spotify에서 재생 중인 내용을 진행 표시줄, 노래되는 가사, ⏮ ⏸ ⏭ 버튼과 함께 표시합니다. macOS와 Spotify 앱이 필요합니다 | /music |
<a id="mission-control"></a>
모든 서브에이전트, 모든 도구 호출, 그리고 그들이 건드리는 모든 파일을 채팅 옆 패널에 표시합니다. 4배속으로 표시: 두 서브에이전트가 네 개의 파일에 걸쳐 로그아웃 기능을 구축합니다.

다른 mod처럼 설치하고, 재시작한 뒤 /mission을 입력하세요(코드 맵을 열려면 /mission code). q로 닫습니다.
w는 에이전트와 모든 도구 호출을 실시간으로 표시합니다c는 가져오기 화살표가 있는 코드 맵을 표시합니다Code 뷰는 macOS, Google Chrome, 그리고 이미지를 표시하는 터미널(Ghostty, kitty, iTerm2)도 필요합니다. Who 뷰는 어디서나 작동합니다.
먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.
claude plugin marketplace add hamzafer/claude-code-mods claude plugin install context-bar
Add the marketplace once, then install any mod by name:
claude plugin marketplace add hamzafer/claude-code-mods
claude plugin install context-bar@claude-code-mods
Or install the general-purpose set in one go:
for m in context-bar token-weather usage-meter where-am-i next-steps agent-radar review-watch replay-theater md-preview blast-radius mission-control; do
claude plugin install "$m@claude-code-mods"
done
Restart Claude Code after installing. To try one without installing:
git clone https://github.com/hamzafer/claude-code-mods && cd claude-code-mods
claude --plugin-dir mods/context-bar
Needs Claude Code 2.1.287+. A few mods need more (Chrome,
gh, a connector); the tables say which.
| | Mod | What it does | Command |
| --- | --- | --- | --- |
| 🛰️ | mission-control | Live map of agents, tool calls and the code they touch | /mission |
| 📊 | context-bar | Your context window as one stacked bar, a color per category, with token counts and where it compacts | /context-bar |
| 🌦️ | token-weather | Context fill from Clear to Compact soon, plus a prompt-cache countdown | |
| ⏱️ | cache-clock | A prompt-cache line under your status line, from Claude Code's own figures: time left, hit rate and misses, and the tokens your next message re-caches once it goes cold. Needs Node and Claude Code 2.1.251+ | /cache-clock setup |
| 📍 | where-am-i | Goal, doing now, waiting on you, next step | /where |
| ➡️ | next-steps | 2 or 3 likely next prompts after each turn, one key to draft one | 1 2 3, 0 hides |
| 💰 | usage-meter | 5-hour and 7-day plan usage, the reset countdown and the session's cost | |
| 💳 | openai-balance | Your OpenAI API credit: an estimated balance with a gauge, today's spend, where the money mostly went, and the last call. Needs an OpenAI organization Admin key | /openai-balance |
| 📡 | agent-radar | One live line per running subagent | /radar |
| 🔍 | review-watch | One live line per running code review (Codex or a review subagent) with the model, target, elapsed time and Codex's latest output. A toast lists the findings when it ends | |
| 🌐 | browser-lanes | Whether this session has a browser, and who holds it | /browser |
| 🕌 | prayer-times | The current prayer and how long is left, the next one, and zawal. Computed on your computer, Hanafi or standard Asr | /prayers |
| 🎬 | replay-theater | Steps through the last turn's edits, one diff at a time | /replay |
| 📝 | md-preview | Renders the Markdown files Claude edits like GitHub does, with before and after side by side. Needs Chrome and a terminal that shows images | /md |
| | Mod | What it does | Command |
| --- | --- | --- | --- |
| 💥 | blast-radius | Holds rm -r, force pushes and migrations, shows what they'd delete, cancels after 60 s with no answer | |
| | Mod | What it does | Command |
| --- | --- | --- | --- |
| 🔀 | switchboard | Picks the model for each subagent that doesn't name one, with OpenAI's Decisions API or Jev, from its short label only. Shows what every subagent cost | /route |
These are built around my own tools and rules. Fork them and change the rules to yours.
| | Mod | What it does | Command |
| --- | --- | --- | --- |
| 👀 | glance | One line with what needs you: next meeting, PRs, Linear issues, Slack DMs. Needs gh and the Google Calendar, Linear and Slack connectors | /glance |
| 🚦 | merge-gate | Holds gh pr merge until CI is green and Codex reviewed once. Needs gh and the Codex CLI. Reviews run on one fixed model; change it to yours | /gate |
| 📏 | rulebook-guard | Enforces my writing and git rules: rewrites em dashes, asks before --amend, unformatted pushes, emails and phone numbers in notes | |
| 💾 | session-saver | Saves where you left off, shows it on resume. Needs unpause | /park [note] |
| | Mod | What it does | Command |
| --- | --- | --- | --- |
| 📱 | reels | YouTube Shorts while Claude works, pauses when it's done | /reels |
| 🐍 | snake | Snake while Claude works | /snake |
| 🎵 | now-playing | What Spotify is playing, with a progress bar, the lyric being sung, and ⏮ ⏸ ⏭ buttons. Needs macOS and the Spotify app | /music |
<a id="mission-control"></a>
Every subagent, every tool call and every file they touch, in a pane next to the chat. Shown at 4x: two subagents building a logout feature across four files.

Install it like any mod, restart, and type /mission (or /mission code to open the code map). q closes it.
w shows the agents and every tool call, livec shows the code map, with import arrowsThe Code view also needs macOS, Google Chrome and a terminal that shows images (Ghostty, kitty, iTerm2). The Who view works everywhere.