gugahoi

Tmux Agent Monitor β€” AI skill for Claude Code

AI community

🚦 tmux-native traffic light for parallel AI coding agents (Claude Code, opencode, pi) β€” one keystroke to the session that needs you.

How to install Tmux Agent Monitor

This entry records only its repository, not the path inside it, so there is no exact command to give. Open gugahoi/tmux-agent-monitor and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Tmux Agent Monitor does

🚦 tmux-native traffic light for parallel AI coding agents (Claude Code, opencode, pi) β€” one keystroke to the session that needs you. No daemon, no config.

Alternatives in AI

  • Nodeterm β€” Node-based terminal manager for AI coding agents β€” tmux-backed terminals and parallel agent sessions as dragga 1.3k β˜…
  • Syrtis β€” AI token usage & quota monitor for the macOS menu bar β€” native Swift, Liquid Glass, 3D contribution graph 368 β˜…
  • TokenBar β€” AI token usage & quota monitor for the macOS menu bar β€” native Swift, Liquid Glass, 3D contribution graph 299 β˜…

README

tmux-agent-monitor

**🚦 Air-traffic control for parallel AI coding agents β€” see which tmux session needs you, jump to it in one keystroke.**

[![CI](https://github.com/gugahoi/tmux-agent-monitor/actions/workflows/ci.yml/badge.svg)](https://github.com/gugahoi/tmux-agent-monitor/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![tmux β‰₯ 3.2](https://img.shields.io/badge/tmux-%E2%89%A5%203.2-green.svg)](https://github.com/tmux/tmux)

The problem

You run Claude Code, opencode, pi β€” several at once, one git worktree per task, one tmux session per worktree. Right now one of them is blocked on a permission prompt, another finished ten minutes ago, and a third is mid-refactor. tmux is holding all of them β€” but nothing tells you *which one needs a decision*.

So you cycle through sessions reading spinners, or you forget one entirely and it sits blocked for an hour.

The fix

Every agent gets a traffic light β€” βšͺ idle Β· 🟑 busy Β· πŸ”΄ waiting for you Β· 🟒 done (unreviewed) β€” and `Alt+a` opens a picker with the ones that need you on top, how long they've been waiting, and a live preview:

![demo](docs/demo.gif)

No daemon. No database. No background process. Agents stamp their own state into tmux pane options through their **native hook systems** β€” tmux itself is the state store.

Install

Requirements: **tmux β‰₯ 3.2** Β· **fzf** (for the picker) Β· **jq** (optional β€” auto-merges the Claude hooks for you)

**1. tmux side (TPM)** β€” add to `~/.tmux.conf`:

set -g @plugin 'gugahoi/tmux-agent-monitor'

`prefix + I` to install. That wires the picker key and the focus-acknowledge hook.

**2. agent side** β€” each agent needs its tiny adapter linked into its own config dir:

~/.tmux/plugins/tmux-agent-monitor/install.sh

(Or clone the repo anywhere and run `./install.sh`.) Claude's hooks are merged into `~/.claude/settings.json` β€” existing hooks are preserved, backup written to `settings.json.bak`. Adap