← ClaudeAtlas

monitor-fleetlisted

Put every machine's claude-monitor on one page, using claude-monitor-fleet to discover monitors and open SSH tunnels to them. Trigger when the user says "manage my environments", "show all my monitors in one place", "monitor my other machines", "aggregate claude-monitor across hosts", "多环境管理", or otherwise wants agent activity from more than one machine in a single view.
tanghong123/claude-replay · ★ 3 · AI & Automation · score 69
Install: claude install-skill tanghong123/claude-replay
# monitor-fleet `claude-monitor` shows what is happening on **one** machine, over loopback only. `claude-monitor-fleet` is a separate binary that opens one SSH tunnel per environment and serves a switcher page with each machine's unmodified monitor page inside it. The monitor itself is unchanged and needs no flag. ## Discover before you configure **Never write a host name the user did not give you, and never assume a port.** The tool ships with an empty config on purpose. Everything in it comes from discovery or from the user. ``` claude-monitor-fleet discover ``` This probes this machine and every literal `Host` in the user's own SSH config, reads each monitor's port out of its lock file, and prints what exists. It writes nothing. Show the user the list. Then persist it: ``` claude-monitor-fleet discover --add ``` Or curate by hand when the user only wants some of it: ``` claude-monitor-fleet add prod --ssh prod-box claude-monitor-fleet add laptop # no --ssh means this machine claude-monitor-fleet remove prod claude-monitor-fleet list ``` The config is JSON at `$CLAUDE_MONITOR_FLEET_CONFIG`, else `$XDG_CONFIG_HOME/claude-monitor/fleet.json`, else `~/.config/claude-monitor/fleet.json` — the user can edit it directly. ## Serve the page ``` claude-monitor-fleet up ``` It brings up the tunnels, prints a `http://127.0.0.1:<port>/` URL and opens a browser. **It stays in the foreground and owns the tunnels: they close when it exits.** So run it where it