Agent skill

Health

by softspark in softspark/ai-toolkit

Service/infra health via liveness/readiness checks, resource usage, quick diagnostics.

Apache-2.0Auto-check: notesDatabases

Install Health

skills CLI
$ npx skills add softspark/ai-toolkit --skill health -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install softspark/ai-toolkit health --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/softspark/ai-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/app/skills/health .claude/skills/health && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
health
GitHub stars
179
Token cost
~925 tokens
SKILL.md length
330 words
Files
2 (incl. scripts)
Skills in repo
112
Repo updated
First seen
Licence
Apache-2.0

At a glance

Service/infra health via liveness/readiness checks, resource usage, quick diagnostics.

  • Databases work in your project
  • SKILL.md covers Project context, Auto-Detection, Common Service Checks and Diagnostics, plus 6 more sections
  • Runs Python scripts from its folder; calls docker, curl and python

What it does

Health is an agent skill from softspark/ai-toolkit. Service/infra health via liveness/readiness checks, resource usage, quick diagnostics. Triggers: health check, services up, system status, infra health, degraded service.

Its SKILL.md is about 930 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/health_check.py`).

It sits in Databases. It works with Docker. The repository describes itself as: Professional-grade AI coding toolkit: 94 skills, 44 agents, multi-platform (Claude, Cursor, Windsurf, Copilot, Gemini, Cline, Roo Code, Aider, Augment, Antigravity, Codex CLI… The licence is Apache-2.0.

When your agent uses it

  • Databases work in your project

Example prompts

  • “/health”

Requirements

  • Python 3
  • Docker
  • Pre-approved tools (allowed-tools): Bash, Read

What it can do on your machine

Read from SKILL.md and the folder at commit e40ed87. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • docker
    • curl
    • python
    • java
    • python3
    • redis-cli
    • mongosh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use docker and curl, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Health loads about 925 tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 330 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~925

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:22
    ect services from `docker-compose.yml`, `.env`, or project configuration.
  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from softspark/ai-toolkit at commit e40ed87, republished under its Apache-2.0 licence (© softspark). 330 words, ~925 tokens.

Download SKILL.mdSave it as .claude/skills/health/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
health
description
Service/infra health via liveness/readiness checks, resource usage, quick diagnostics. Triggers: health check, services up, system status, infra health, degraded service.
allowed-tools
Bash, Read
effort
medium
disable-model-invocation
true
argument-hint
[service]

Health Check

$ARGUMENTS

Check the health of all project services.

Project context

  • Services: !docker compose ps 2>/dev/null || echo "no-docker"

Auto-Detection

Detect services from docker-compose.yml, .env, or project configuration.

Quick Check
bash
# If using Docker Compose
docker compose ps

# Process check (bare metal)
ps aux | grep -E "(node|python|java|php)" | grep -v grep

Common Service Checks

ServiceHealth Check
HTTP APIcurl -f http://localhost:{port}/health
PostgreSQLpg_isready -h localhost -p 5432
MySQLmysqladmin ping -h localhost
Redisredis-cli ping
MongoDBmongosh --eval "db.runCommand({ping:1})"
Elasticsearchcurl -f http://localhost:9200/_cluster/health
RabbitMQcurl -f http://localhost:15672/api/healthchecks/node

Diagnostics

bash
# Container logs (if Docker)
docker compose logs --tail 50 {service}

# Resource usage
docker stats --no-stream   # Docker
htop                       # Bare metal

# Disk usage
df -h                      # System
docker system df           # Docker

# Network
netstat -tlnp              # Listening ports
curl -I http://localhost:{port}  # Connectivity

Common Issues

SymptomCheckSolution
Service not respondingProcess running? Port open?Restart service
Slow responsesResource usage, connectionsScale or optimize
Connection refusedNetwork, firewall, portCheck config
Out of memoryfree -h, container limitsIncrease limits

Automated Health Check

Run the bundled script for a JSON health report:

bash
python3 ${CLAUDE_SKILL_DIR}/scripts/health_check.py http://localhost:8000

Health Report Format

yaml
services:
  {service-name}:
    status: healthy|degraded|down
    uptime: Xd Xh
    cpu: X%
    memory: XMB
    notes: "any issues"

Rules

  • MUST report measured values — never mark a service healthy without a successful probe
  • NEVER restart a degraded service without the user's explicit go-ahead
  • CRITICAL: separate liveness (process up) from readiness (accepting traffic) in the report
  • MANDATORY: if a health endpoint times out, classify as degraded, not healthy

Gotchas

  • docker compose ps shows Up even when a container is crash-looping via restart policy — look at the STATUS column for (unhealthy) or Restarting rather than trusting "Up" alone.
  • Many /health endpoints return 200 as long as the web server answers, even when the DB connection is down. If the service exposes a /ready or /healthz?deep=true endpoint, prefer it — shallow health is a lie.
  • pg_isready reports success the moment Postgres accepts TCP, which happens seconds before the DB is actually query-ready after a restart. Chain it with a trivial SELECT 1.
  • docker stats --no-stream needs cgroups v2 access; on older hosts or LXC containers it returns 0% CPU/memory silently instead of erroring. Verify at least one non-zero value before trusting the report.

When NOT to Use

  • To debug a specific failing service — use /debug after the health check narrows it down
  • For performance bottlenecks — use /performance-profiling
  • For a production incident with page/alert — use /workflow incident-response
  • For CI pipeline status — use /ci

© softspark, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in app/skills/health of softspark/ai-toolkit.

  • SKILL.md
  • scripts/health_check.py

Open the folder on GitHubat commit e40ed87

Compare with similar skills

Health next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Health compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Health this skillsoftspark/ai-toolkit179—~925Automated safety check: NotesApache-2.0
How To Communicatedatabasus/databasus8.8k—~3.9kAutomated safety check: PassMIT
Codebase Explorationgiancarloerra/SocratiCode3.3k1 repos~1.5kAutomated safety check: PassAGPL-3.0
Bump Test Imageredis/node-redis18k—~1.4kAutomated safety check: PassMIT
Tgf Server Devthkhxm/tgf128—~1.3kAutomated safety check: NotesMIT
Cognee Database Migrationstopoteretes/cognee32k—~2.6kAutomated safety check: NotesApache-2.0

Similar skills

  • How To Communicate

    databasus/databasus

    Communicate clearly in every response, progress update and agent-authored document.

    8.8k GitHub stars~3.9k tokensUpdated 17 days ago
    DatabasesAuto-check passed
  • Codebase Exploration

    giancarloerra/SocratiCode

    Explore and understand codebases using SocratiCode semantic search, dependency graphs, and context artifacts.

    3.3k GitHub starsUsed in 1 repo~1.5k tokens
    DatabasesAuto-check passed
  • Bump Test Image

    redis/node-redis

    Official

    Bump the default Redis docker test image (redislabs/client-libs-test) in the shared DEFAULTDOCKERCONFIG and the CI matrix, then force-push the bump-test-image branch and open a PR against upstream.

    18k GitHub stars~1.4k tokensUpdated today
    DatabasesAuto-check passed
  • Tgf Server Dev

    thkhxm/tgf

    基于 tgf v2(github.com/thkhxm/tgf/v2)用确定性的 tgfctl 工作流创建、验证和维护 Go 游戏服务器项目。

    128 GitHub stars~1.3k tokensUpdated 2 mo ago
    DatabasesAuto-check: notes
  • Cognee Database Migrations

    topoteretes/cognee

    Explains how cognee's two migration chains run, how to check and repair migration state with cognee-cli, and how to write new Alembic or graph and vector migrations.

    32k GitHub stars~2.6k tokensUpdated today
    DatabasesAuto-check: notes
  • Test The Docs

    supabase/supabase

    Official

    Execute runnable docs snippets and examples inside a disposable Docker Compose sandbox (runner container + local Supabase stack via supabase start).

    111k GitHub stars~1.3k tokensUpdated today
    DatabasesAuto-check passed

More from softspark/ai-toolkit

All 112 skills in this repo
  • Prepare Test Env

    softspark/ai-toolkit

    Prepare or verify a project QA environment with source identity, readiness, browser access, evidence paths and owned cleanup.

    179 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check: notes
  • A11y Validate

    softspark/ai-toolkit

    Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~3.8k tokensUpdated yesterday
    Auto-check: notes
  • Analyze

    softspark/ai-toolkit

    Analyzes code quality, complexity, patterns across codebase.

    179 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Autonomous Dev

    softspark/ai-toolkit

    Drives a brief, specification, issue or existing PR through implementation, review, tests and QA to a ready PR.

    179 GitHub stars~2.6k tokensUpdated yesterday
    Auto-check: notes
  • Brand Voice

    softspark/ai-toolkit

    Direct technical voice for docs, README, user-facing text. An agent skill from softspark/ai-toolkit.

    179 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • CI

    softspark/ai-toolkit

    Detect/generate/debug CI pipeline config (GitHub Actions, GitLab CI).

    179 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check: notes

Works with

Categories

Questions about Health

What does Health do?

Service/infra health via liveness/readiness checks, resource usage, quick diagnostics. Health is an agent skill from softspark/ai-toolkit. Service/infra health via liveness/readiness checks, resource usage, quick diagnostics.

When should I use Health?

Health fits situations like: databases work in your project.

How do I install Health in Claude Code?

Run `npx skills add softspark/ai-toolkit --skill health -a claude-code`. Or copy the skill folder (app/skills/health in softspark/ai-toolkit) into .claude/skills/health in your project. Claude Code loads it when a task matches its description.

How do I install Health in Codex?

Run `npx skills add softspark/ai-toolkit --skill health -a codex`. Or copy the skill folder (app/skills/health in softspark/ai-toolkit) into .agents/skills/health in your project. Codex loads it when a task matches its description.

Can I use Health in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add softspark/ai-toolkit --skill health -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/health, .gemini/skills/health, .github/skills/health and .opencode/skills/health in your project.

What does Health need to run?

Going by SKILL.md and its folder, Health needs Python for the scripts in its folder and the command-line tools its instructions call (docker, curl, python, java, python3 and redis-cli). Our summary lists: Python 3; Docker. Its frontmatter pre-approves these tools: Bash, Read.

Does Health access the network?

SKILL.md contains no URLs. Its commands use docker and curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Health safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file; pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Health use?

Health is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Health use?

About 925 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Health?

Skills that share tags, products or a category with Health: How To Communicate (databasus/databasus, 8.8k stars), Codebase Exploration (giancarloerra/SocratiCode, 3.3k stars), Bump Test Image (redis/node-redis, 18k stars) and Tgf Server Dev (thkhxm/tgf, 128 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Health?

softspark (a GitHub user) maintains it in softspark/ai-toolkit, which has 179 GitHub stars. The repository holds 112 skills in this directory. The repository was last updated on October 8, 2026.

Source: softspark/ai-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.