ClaudeMods
☰
EN
● 0 online · Views 0 times
SponsorsSubmit a project
GitHub repositories · by XavierYounan

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.

XavierYounan@XavierYounan

XavierYounan/claude-code-tmux-status

Original post image1
Translated

About this mod

A Claude Code mod that shows each session's state (working, waiting for you, done) as coloured glyphs on your tmux window tabs, with install instructions for the marketplace and tmux/tpm, and a demo GIF.

Installation

Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.

claude plugin marketplace add XavierYounan/claude-code-tmux-status
claude plugin install tmux-status
Original text / README

claude-code-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.

tmux window tabs changing state: yellow dots while Claude works, red while it waits for you, green ticks when it finishes

| 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.

Install

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.

How it works

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.

Compatibility

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.

Develop

claude plugin validate .
claude plugin test .

Similar projects