ping

ping is a command for Claude Code from hoangsonww/Claude-Code-Agent-Monitor. It costs 12 tokens per session (246 once invoked), scanned A, original, MIT.

A command that checks whether the local Agent Monitor dashboard API responds and reports its HTTP status and response time. An API is a web endpoint that software uses to exchange data.

In plain words
What is it for?
Use it for terminal health checks, startup troubleshooting, or scripts that need to verify dashboard reachability.
Why use it?
It quickly distinguishes an available dashboard from one that is unreachable or returning an error, without changing any data.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ccam-dashboard plugin — 4 skills, 3 commands, 1 agent shipped together

Good fit Use it for terminal health checks, startup troubleshooting, or scripts that need to verify dashboard reachability.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hoangsonww/claude-code-agent-monitor/ping
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.

Clone the repo
git clone --depth 1 https://github.com/hoangsonww/Claude-Code-Agent-Monitor

Made for: Claude Code.

Or install ccam-dashboard, the plugin that ships this one along with the rest of its 4 skills, 3 commands, 1 agent.

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 ping

README.md
[![agentmods](https://agentmods.dev/badge/commands/hoangsonww/claude-code-agent-monitor/ping/github.svg)](https://agentmods.dev/commands/hoangsonww/claude-code-agent-monitor/ping)
Your own site
<a href="https://agentmods.dev/commands/hoangsonww/claude-code-agent-monitor/ping"><img src="https://agentmods.dev/badge/commands/hoangsonww/claude-code-agent-monitor/ping/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 ping

Your own site · 80×15
<a href="https://agentmods.dev/commands/hoangsonww/claude-code-agent-monitor/ping"><img src="https://agentmods.dev/badge/commands/hoangsonww/claude-code-agent-monitor/ping.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 246 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00012 $0.00246
Opus 5 $0.00006 $0.00123
Sonnet 5 $0.00002 $0.00049
Haiku 4.5 $0.00001 $0.00025

Measured 13d ago against content hash 61780f1cb1b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

ping scanned grade A with 1 finding 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 13d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -o /dev/null -m 5 -w '%{http_code} %{time_total}s' http://localhost:4820/api/stats
plugins/ccam-dashboard/commands/ping.md · 31 lines

What it actually says

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.

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. 13d ago First seen · 31 lines · 12 tokens per session scan A 61780f1cb1b0

Subscribe to this mod's changes

ping is a command published in the GitHub repository hoangsonww/Claude-Code-Agent-Monitor (991 stars, last pushed 3d ago), licensed MIT. It adds 12 tokens to every session and 246 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.