health

health is a command for Claude Code from andrei-isvoran96/claude-skill-lab. It costs 0 tokens per session (753 once invoked), scanned A, original, MIT.

A command for checking whether a local service stack is running and reachable. It reports container states and HTTP status codes for configured public endpoints in compact tables.

In plain words
What is it for?
Use it after starting or changing Docker Compose services to check containers, probe web endpoints, and spot timeouts or non-success HTTP responses.
Why use it?
It brings service failures and unreachable endpoints into one quick report instead of requiring several separate checks. The command is a template and must be customized with the project's endpoint URLs.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it after starting or changing Docker Compose services to check containers, probe web endpoints, and spot timeouts or non-success HTTP responses.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/andrei-isvoran96/claude-skill-lab/health
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/andrei-isvoran96/claude-skill-lab

Made for: Claude Code.

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 health

README.md
[![agentmods](https://agentmods.dev/badge/commands/andrei-isvoran96/claude-skill-lab/health/github.svg)](https://agentmods.dev/commands/andrei-isvoran96/claude-skill-lab/health)
Your own site
<a href="https://agentmods.dev/commands/andrei-isvoran96/claude-skill-lab/health"><img src="https://agentmods.dev/badge/commands/andrei-isvoran96/claude-skill-lab/health/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 health

Your own site · 80×15
<a href="https://agentmods.dev/commands/andrei-isvoran96/claude-skill-lab/health"><img src="https://agentmods.dev/badge/commands/andrei-isvoran96/claude-skill-lab/health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 753 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.00000 $0.00753
Opus 5 $0.00000 $0.00377
Sonnet 5 $0.00000 $0.00151
Haiku 4.5 $0.00000 $0.00075

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

Security

Grade A, and why

health 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 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.

Makes network callslowCapability

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

URLs to probe with curl. Example list:
commands/health.md · 75 lines

How it starts

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

Quick health check across all services: container states + endpoint reachability, in a single compact table.

Arguments

None. Ignore $ARGUMENTS.

Steps

  1. Run two checks in parallel (a SINGLE turn with multiple Bash calls):

    • Container states. Get a clean tabular list of all compose services and their current state:

      docker-compose ps --format "table {{.Service}}\t{{.State}}\t{{.Status}}"
      
    • Endpoint probes. Hit each public-facing endpoint with a short timeout and capture only the HTTP status. Run them concurrently in one shell:

      for url in <ENDPOINT_1> <ENDPOINT_2> <ENDPOINT_3> <ENDPOINT_4>; do
        code=$(curl -s -o /dev/null -w "%{http_code}" --max-time 3 "$url" || echo "TIMEOUT")
        echo "$url $code"
      done
      
  2. Format a single combined report. Render two compact tables — containers first, endpoints second:

    containers:
      SERVICE          STATE    STATUS
      backend          running  Up 2 hours
      frontend         running  Up 2 hours
      mysql            running  Up 2 hours (healthy)
    
    endpoints:
      URL                                  CODE   NOTE
      http://localhost:3000                200    frontend ok
      http://localhost:8000                200    backend ok
      http://localhost:8000/api/health     200    api ok
    
    ✓ all green
    
  3. Flag problems clearly. If anything is unhealthy:

    • Container in Exit, Restarting, or Created (but not running) → mark with and put it at the top of the containers table.
    • Endpoint returned TIMEOUT, 000, or any 5xx → mark with .
    • Endpoint returned 4xx → mark with (might be expected, e.g. 404 on root or unauthenticated 401).

Read the full file on GitHub · 75 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 · 75 lines · 0 tokens per session scan A 02a1e25f6283

Subscribe to this mod's changes

health is a command published in the GitHub repository andrei-isvoran96/claude-skill-lab (1 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 753 tokens. 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-31.