XavierYounan/claude-code-tmux-status

一個 Claude Code 外掛,在 tmux 狀態列顯示每個 Claude 工作階段正在做什麼,讓你一眼看出哪些視窗忙碌、哪些需要你、哪些已經完成。
XavierYounan/claude-code-tmux-status

一個 Claude Code 外掛,將每個工作階段的狀態(工作中、等待你、已完成)以有色字元顯示在 tmux 視窗分頁上,並提供適用於市集與 tmux/tpm 的安裝說明,以及示範 GIF。
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add XavierYounan/claude-code-tmux-status claude plugin install tmux-status
A Claude Code mod that shows what each Claude session is doing in your tmux status bar, so you can see at a glance which windows are busy, which need you and which have finished.

| Glyph | State | Shown | | --- | --- | --- | | <img src="docs/working.svg" width="16" height="16" alt="yellow dot"> yellow | working on a turn | always | | <img src="docs/waiting.svg" width="16" height="16" alt="red dot"> red | waiting for you: a permission prompt, a question, an MCP elicitation | always | | <img src="docs/done.svg" width="16" height="16" alt="green tick"> green | finished its turn | only on windows you are not looking at |
Outside tmux the mod does nothing.
1. The mod. From GitHub:
claude plugin marketplace add XavierYounan/claude-code-tmux-status
claude plugin install tmux-status@tmux-status
Or from a local clone, for one session: claude --plugin-dir /path/to/claude-code-tmux-status.
2. The tmux side. With tpm, add
this after your theme's @plugin line (themes usually overwrite the window
formats, so this needs to load after them), then press prefix + I:
set -g @plugin 'XavierYounan/claude-code-tmux-status'
Without tpm, clone the repo and source the snippet after your theme loads:
source-file /path/to/claude-code-tmux-status/tmux/claude-status.tmux
That prefixes the glyph to every window tab. To put it somewhere else, comment
out the two if -F lines at the bottom of that file and drop
#{E:@claude_status} into your own format. Colours are the @claude_icon_*
options, so you can override them after sourcing.
The mod hooks Claude Code's turn, permission and tool events and runs
tmux set-option -w -t $TMUX_PANE @claude_state <state>. Everything visual
lives in tmux formats, so it works with any theme. The done state stays
until your next prompt, but the format only shows it on inactive windows.
One state per window: if you run two Claude sessions in split panes of the same window, the last one to change wins.
Mods (Claude Code's function-hooks plugins) are early access, and their API can change between releases. Built and tested against Claude Code 2.1.289; if it stops working after an update, please open an issue.
claude plugin validate .
claude plugin test .