Skip to content
Development
Command

/ping

Check Agent Monitor reachability and print UP/DOWN with latency

From plugin
claude-code-agent-monitor
89133 skills21 agents33 commands
Install
$ npx -y skills add hoangsonww/Claude-Code-Agent-Monitor --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/ping

Context preview

What this command does when you run it.

Check Agent Monitor reachability and print UP/DOWN with latency

Command definition

ping.md
description: Check Agent Monitor reachability and print UP/DOWN with latency

Check whether the dashboard API is reachable and report latency.

Run:

curl -s -o /dev/null -m 5 -w '%{http_code} %{time_total}s' http://localhost:4820/api/stats

`%{http_code}` is the HTTP status and `%{time_total}` is the total round-trip time in seconds.

Print one line:

  • If the request succeeds with a 2xx status:
  ✅ UP | http://localhost:4820/api/stats | 200 | 0.042s

(use the real status code and the real latency, converting seconds to ms if clearer, e.g. `42ms`).

  • If `curl` exits non-zero (connection refused/timeout) or the status is not 2xx:
  ❌ DOWN | http://localhost:4820/api/stats unreachable — start it with `npm start` (or `npm run dev`) from the repo root

Output only the single line — no preamble. Do not modify any data.

Ships withclaude-code-agent-monitor

🚀 A real-time monitoring dashboard for Claude Code & Codex, built with SQLite3, Node.js, Express, React, Vite, TailwindCSS, & WebSockets. It tracks sessions, agent activity, tool usage, and subagent orchestration, providing live analytics, a Kanban status board, status notifications, a cute buddy, & an interactive web UI/MacOS/Windows native app.

Get the whole plugin, auto-invoked
Stats
891
Stars
0
Views
201
Forks
Active
Maintenance
TypeScript
Language
MIT
License
1h ago
Last commit
5mo ago
Created

Repo: hoangsonww/Claude-Code-Agent-Monitor