Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmon

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.

Install

go install github.com/knowald/cmon@latest

Or build from source:

go build -o cmon .

Usage

Run inside tmux:

cmon          # TUI: enter jump, j/k move, r refresh, q quit
cmon -list    # plain text dump, no TUI

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

Requirements

  • tmux 3.x
  • Claude Code 2.x (relies on its session metadata files)
  • macOS or Linux

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages