Concurrent Session Monitor
The watch never sleeps.
A Claude Code plugin that gives you real-time visibility into multiple parallel
Claude Code sessions. Hooks silently record which files each session is touching,
slash commands let a session annotate what it is working on, and a live terminal
panel shows, across every running session, active files, current activity,
conflict warnings, and per-session metadata (uptime, model, port and GSD-phase
context). Built for a developer who runs several sessions at once and keeps
hitting file conflicts: when sessions run in parallel, everyone can see who is
touching which files and what work is being done, so overlapping edits are
noticed before they collide.
Highlights
- Live file map: every file each session is touching, updated within about a second, with no manual refresh.
- Conflict warnings: the instant two sessions claim the same file, the panel flags it, before the edits collide.
- Session context: per-session uptime, model, current intent, listening ports, and GSD-phase progress at a glance.
- Session names: name a session with Claude Code's own
/rename <name>, claude -n <name>, or Ctrl+R in the session picker, and CSM uses that name as the session's label. On the card header the name is the bold lead and the folder moves into the dim · folder · branch · shortid tail; the compact row, conflict lines, port headings, the ended row, /csm-status and the cross-session edit advisory lead with the name too. Names longer than 24 characters are cut with an ellipsis (…). An unnamed session shows its folder with a dim (unnamed) on the card and compact row; every other surface keeps folder · branch · shortid. The name comes from the documented session_title hook field at session start and on each prompt; on the panel a mid-session /rename also appears within a moment through a best-effort read of the end of the session transcript, while /csm-status and the advisory pick it up after that session's next prompt. AI-generated session titles are never used, and CSM never renames a session.
- Branch awareness: each session's live current branch, plus the target branch it declares with
/csm-branch; the panel flags a mismatch when a session is not yet on the branch it means to work on.
- Needs-you markers: a session that asked you a question (Claude's
AskUserQuestion tool) shows a magenta ◉ asking; a session blocked on a permission prompt, or sitting idle for CSM_IDLE_WAIT_MS (1 s) after its turn ended, shows a yellow ◉ waiting. The panel header counts both, and /csm-status shows the same markers. A marker clears only when the session itself moves on. asking clears when you answer the question, the turn ends, or you submit a prompt. waiting clears when the main session finishes its next tool; for a permission prompt that is the approved tool, so a long-running approved command keeps the marker up while it runs. It also clears when the turn ends or you submit a prompt. Activity from subagents or parallel agents never clears a marker, so a session blocked on you stays flagged while its other agents keep working; for a prompt raised inside a subagent, the marker therefore stays until the main session itself moves on. Claude Code fires no hook when you approve or deny a permission, reject a question, or press Esc, so after Esc or a rejection the marker stays until your next prompt. asking has no time limit while the session's process is alive; waiting, and asking for a session whose process CSM cannot confirm, end at the CSM_ATTN_WINDOW_MS ceiling (60 min). A session with a marker up stays on the roster even when it has been quiet longer than CSM_STALE_MS. The question is captured by an async PreToolUse hook on AskUserQuestion; waiting comes from the Notification hook.