TUI that lists all running Claude Code instances with their status and jumps to the tmux window of the selected one.
Reads ~/.claude/sessions/{PID}.json (written by Claude Code, contains live status: busy / idle / waiting), filters dead and recycled PIDs, and matches each instance to its tmux pane by walking the process tree up to a pane_pid.
go install github.com/knowald/cmon@latestOr build from source:
go build -o cmon .Run inside tmux:
cmon # TUI: enter jump, j/k move, r refresh, q quit
cmon -list # plain text dump, no TUISessions sort waiting first, then busy, then idle. Refreshes every 2 seconds.
Recommended binding in ~/.tmux.conf, opens as popup from any window:
bind-key C-a display-popup -E -w 110 -h 20 "$HOME/go/bin/cmon"
Jumping requires an attached client (run from a regular pane or popup, not detached).
- tmux 3.x
- Claude Code 2.x (relies on its session metadata files)
- macOS or Linux