Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

healthcheck

Skill by ITISFoundation

Adds a FastAPI health endpoint and a Docker HEALTHCHECK for one service in the ITISFoundation services codebase. Covers 200 and 503 responses, worker heartbeat mode, and health tests. Written for developers maintaining those services.

  • Score 67
  • 54 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install healthcheck

Built from the published package, never by AI.

git clone --depth 1 https://github.com/ITISFoundation/osparc-simcore /tmp/osparc-simcore && mkdir -p ~/.claude/skills && cp -r /tmp/osparc-simcore/.github/skills/healthcheck ~/.claude/skills/healthcheck

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install healthcheck in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The healthcheck skill is a single-service guide for adding a FastAPI health endpoint and binding a Docker HEALTHCHECK to it. The endpoint returns 200 when healthy and 503 when unhealthy. HealthCheckError is mapped to a 503 plain-text response, and the Dockerfile HEALTHCHECK calls scripts/docker/docker_healthcheck.py against that endpoint.

For worker containers with no HTTP server, the skill uses heartbeat mode. It sets HEALTHCHECK_MODE=heartbeat in compose and calls update_heartbeat() in the task loop. The procedure also covers focused tests for healthy and unhealthy paths, and an update to the services/README.md healthcheck table for new services. It is aimed at developers who maintain these services.

Written from the project's SKILL.md and checked against it.

What it can do

  • Health endpointReturns 200 when healthy and 503 when a critical dependency is unhealthy.
  • HealthCheckError handlingMaps HealthCheckError to a 503 plain-text response using a shared handler.
  • Dockerfile HEALTHCHECKBinds the container healthcheck to docker_healthcheck.py and the service endpoint.
  • Worker heartbeat modeSets up heartbeat-based healthchecks for worker containers without an HTTP server.
  • Health testsAdds unit tests for healthy, unhealthy, and no-500-leakage behavior.
  • Services README updateUpdates the per-service healthcheck table when a new service healthcheck is added.

What you need

  • Python with FastAPI
  • Docker
  • pytest for the unit tests

Try asking

  • Add a health endpoint and Docker HEALTHCHECK to the payments service
  • Set up heartbeat healthchecks for a catalog worker container
  • Write focused health tests for the dynamic-scheduler service

Good to know

  • Targets one service per run.
  • Requires common_library in the service's dependency chain, otherwise the procedure says to stop and ask.
  • Some services intentionally deviate from the standard pattern and should not be changed.
  • Dockerfile port and path must match the service's actual health endpoint.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .github/skills/healthcheck/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to healthcheck

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

healthcheck: common questions

Can it add healthchecks to several services at once?

No. The skill takes one target_service per run and is written for a single service at a time.

What does the health endpoint return?

It returns 200 when healthy and 503 when unhealthy. HealthCheckError is mapped to a 503 PlainTextResponse.

How do worker containers get a healthcheck?

They use heartbeat mode. HEALTHCHECK_MODE=heartbeat is set in compose, and update_heartbeat() is called periodically in the worker task loop.

How do I install healthcheck?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is healthcheck free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is healthcheck safe to use?

It scores 67 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to healthcheck?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

healthcheck Install

Add to stack

Loading.