monitor-fleet

monitor-fleet is a skill for Claude Code, Codex from tanghong123/claude-replay. It costs 84 tokens per session (892 once invoked), scanned A, original, MIT.

A dashboard that puts claude-monitor pages from multiple machines into one switchable page. claude-monitor shows activity on one machine, while this tool connects to other machines through SSH tunnels.

In plain words
What is it for?
Discovering available monitors, adding or removing machines, configuring SSH connections, and viewing their monitor pages together.
Why use it?
It removes the need to open and manage separate monitor pages for each environment.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Discovering available monitors, adding or removing machines, configuring SSH connections, and viewing their monitor pages together.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tanghong123/claude-replay/monitor-fleet
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tanghong123/claude-replay --skill monitor-fleet
Clone the repo
git clone --depth 1 https://github.com/tanghong123/claude-replay

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for monitor-fleet

README.md
[![agentmods](https://agentmods.dev/badge/skills/tanghong123/claude-replay/monitor-fleet/github.svg)](https://agentmods.dev/skills/tanghong123/claude-replay/monitor-fleet)
Your own site
<a href="https://agentmods.dev/skills/tanghong123/claude-replay/monitor-fleet"><img src="https://agentmods.dev/badge/skills/tanghong123/claude-replay/monitor-fleet/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for monitor-fleet

Your own site · 80×15
<a href="https://agentmods.dev/skills/tanghong123/claude-replay/monitor-fleet"><img src="https://agentmods.dev/badge/skills/tanghong123/claude-replay/monitor-fleet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 892 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00084 $0.00892
Opus 5 $0.00042 $0.00446
Sonnet 5 $0.00017 $0.00178
Haiku 4.5 $0.00008 $0.00089

Measured 10d ago against content hash 38de0a302134, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

monitor-fleet scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

integrations/shared/skills/monitor-fleet/SKILL.md · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 will outlive your turn — the user's own terminal is the honest answer, and if you background it yourself, tell the user that closing that shell takes the page down with it. --no-open skips the browser, --port N pins the local port.

To look without saving anything to the config:

claude-monitor-fleet up --discover

When something is missing

Report what the tool reported. Do not fill gaps by guessing.

  • No monitor on a host: it is not running there. Suggest starting claude-monitor on that machine, or add <name> --port N if the user knows the port.
  • A host skipped during discovery: discovery uses ssh BatchMode, so a host that would ask for a passphrase is skipped rather than left hanging. Suggest loading the key into an agent (ssh-add), or adding that host with add, where prompts work.
  • Two monitors on one machine: they are found separately, each at its own published port, and told apart by cache root. That is expected, not a bug.
  • An alias missing from the results: two Host entries for the same machine are collapsed to one environment — discovery says so on stderr when it happens.
  • A tunnel that dies later: the page's health dots go red and name the reason, and the running up re-opens that tunnel itself, with backoff. Report the reason and let it — restarting the fleet costs the tabs that were fine. A monitor that is down is a different thing: the fleet starts nothing, so that one stays down until someone starts it. claude-monitor-fleet status re-probes from the command line.

Read the full file on GitHub · 95 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 95 lines · 84 tokens per session scan A 38de0a302134

Subscribe to this mod's changes

monitor-fleet is a skill published in the GitHub repository tanghong123/claude-replay (2 stars, last pushed today), licensed MIT. It adds 84 tokens to every session and 892 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.