service-health-check

service-health-check is a skill for Claude Code, Codex from vladkesler/initrunner. It costs 28 tokens per session (922 once invoked), scanned C, original, Apache-2.0.

A service check that probes common health URLs and inspects whether the service and its connected dependencies are ready.

In plain words
What is it for?
Use it before tests, after deployments, or when failures seem intermittent to check endpoints, response codes, timeouts, and dependency status.
Why use it?
It helps distinguish a broken test from a service that is down, unavailable, or connected to an unhealthy dependency.

Skill for Claude CodeCodex

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

Good fit Use it before tests, after deployments, or when failures seem intermittent to check endpoints, response codes, timeouts, and dependency status.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vladkesler/initrunner/service-health-check
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 vladkesler/initrunner --skill service-health-check
Clone the repo
git clone --depth 1 https://github.com/vladkesler/initrunner

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 service-health-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/vladkesler/initrunner/service-health-check/github.svg)](https://agentmods.dev/skills/vladkesler/initrunner/service-health-check)
Your own site
<a href="https://agentmods.dev/skills/vladkesler/initrunner/service-health-check"><img src="https://agentmods.dev/badge/skills/vladkesler/initrunner/service-health-check/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 service-health-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/vladkesler/initrunner/service-health-check"><img src="https://agentmods.dev/badge/skills/vladkesler/initrunner/service-health-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 922 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00028 $0.00922
Opus 5 $0.00014 $0.00461
Sonnet 5 $0.00006 $0.00184
Haiku 4.5 $0.00003 $0.00092

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

Security

Grade C, and why

service-health-check scanned grade C with 2 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 12d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s --max-time 5 http://host:port/health | python -c "

Makes network callslowCapability

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

bins: [curl]
examples/roles/integration-tester/skills/service-health-check/SKILL.md · 134 lines

How it starts

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

Service health check skill using curl and standard system tools.

When to activate

Use this skill when tests fail and the underlying service might be down, when running pre-test health validation to confirm infrastructure is ready, when a deployment just completed and needs smoke-test verification, or when intermittent failures suggest an unstable dependency.

Health endpoints

Probe these common health paths in order until one responds:

  1. /health
  2. /healthz
  3. /readiness
  4. /api/health
  5. /status
  6. /ping
  7. / (root, as a last resort)

For each endpoint:

curl -s -o /dev/null -w '%{http_code}' --max-time 5 http://host:port/health

A 200 response means healthy. A non-200 or timeout means the service or that specific check is failing.

If the health endpoint returns a JSON body, parse it to extract per-dependency status:

curl -s --max-time 5 http://host:port/health | python -c "
import sys, json
data = json.load(sys.stdin)
for dep, status in data.get('dependencies', {}).items():
    mark = 'OK' if status.get('healthy') else 'FAIL'
    print(f'  {dep}: {mark}')
"

Dependency checks

For each service, verify that its dependencies are reachable:

  • Database -- use the database-verification skill's connectivity checks
  • Cache (Redis/Memcached) -- redis-cli -h host ping or equivalent
  • Message queue (RabbitMQ/Kafka) -- check management API or port availability
  • External APIs -- curl the external service's health endpoint or a known stable URL with a short timeout

Build a dependency map from the service's configuration (docker-compose.yaml, environment variables, config files) and check each dependency individually.

Docker service health

When services run in Docker:

docker-compose ps                     # all services and their status
docker logs --tail 30 <service>       # recent log output for errors
docker inspect --format='{{.State.Health.Status}}' <container>

Check for:

  • Services in "Exit" or "Restarting" state
  • Health checks reporting "unhealthy"
  • OOM kills in docker events or logs
  • Port mapping correctness (host port mapped to expected container port)

Read the full file on GitHub · 134 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. 12d ago First seen · 134 lines · 28 tokens per session scan C ab665ec45649

Subscribe to this mod's changes

service-health-check is a skill published in the GitHub repository vladkesler/initrunner (41 stars, last pushed 3d ago), licensed Apache-2.0. It adds 28 tokens to every session and 922 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.