uptime-monitoring — Claude Code skill: health checks and status pages
A skill that walks your coding agent through uptime checks, a public status page and incident tracking. Useful when you need to know which dependency actually broke.
npx skills add aj-geddes/useful-ai-prompts --skill uptime-monitoring -a claude-codeWhat uptime-monitoring does
The skill covers health check endpoints, a public status page API, heartbeat monitoring and Kubernetes probes. It ships a short Node.js/Express example plus a references/ directory with five guides: health-check-endpoints.md, python-health-checks.md, uptime-monitor-with-heartbeat.md, public-status-page-api.md and kubernetes-health-probes.md.
The agent follows a DO/DON'T list from the skill. Check every critical dependency rather than just the app process, and keep check history so you can see trends. Timeouts should not be set too low, and alerts should not fire on every single failure. There is no monitoring server in the box — you write the code in your own project.
Two rules are worth reading twice. Health checks are not meant for load balancing, and the response must not expose sensitive information. That is a good reason to audit your existing /health routes if they leak versions, connection strings or internal hostnames.
What it helps with
- add a health check endpoint to a service
- check the database, cache and external API in one deep probe
- build a public status page with check history
- set up heartbeat monitoring and status-change alerts
- write Kubernetes health probes
Example prompts for the agent
- add a health check endpoint and a deep dependency probe to this project
- build a public status page with check history using this skill
- set up heartbeat monitoring and alerts on status changes
How to install uptime-monitoring
1Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill uptime-monitoring -a claude-code2Manually: put the files in place
~/.claude/skills/uptime-monitoring/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/uptime-monitoring/
1Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill uptime-monitoring -a codex2Manually: put the files in place
.agents/skills/uptime-monitoring/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill uptime-monitoring -a cursor2Manually: put the files in place
.cursor/skills/uptime-monitoring/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install aj-geddes/useful-ai-prompts uptime-monitoring2Manually: put the files in place
.github/skills/uptime-monitoring/SKILL.md1Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill uptime-monitoring -a gemini-cli2Platform CLI
gemini skills install https://github.com/aj-geddes/useful-ai-prompts --path skills/uptime-monitoringManually: put the files in place
.devin/skills/uptime-monitoring/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill uptime-monitoring -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about uptime-monitoring
How do I install uptime-monitoring in Claude?
Run npx skills add aj-geddes/useful-ai-prompts --skill uptime-monitoring -a claude-code. The skill lands in ~/.claude/skills/uptime-monitoring/SKILL.md.
What does uptime-monitoring do?
It guides the agent through writing service availability checks, a status page and incident tracking. You get a Node.js example and five detailed guides under references/.
Which platforms does it support?
Claude, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode. Each has its own install flag, such as -a cursor or -a codex.
Source text
SKILL.md · MIT
---
name: uptime-monitoring
description: >
Implement uptime monitoring and status page systems for tracking service
availability. Use when monitoring application uptime, creating status pages,
or implementing health checks.
---
# Uptime Monitoring
## Table of Contents
- [Overview](#overview)
- [When to Use](#when-to-use)
- [Quick Start](#quick-start)
- [Reference Guides](#reference-guides)
- [Best Practices](#best-practices)
## Overview
Set up comprehensive uptime monitoring with health checks, status pages, and incident tracking to ensure visibility into service availability.
## When to Use
- Service availability tracking
- Health check implementation
- Status page creation
- Incident management
- SLA monitoring
## Quick Start
Minimal working example:
```javascript
// Node.js health check
const express = require("express");
const app = express();
app.get("/health", (req, res) => {
res.json({
status: "ok",
timestamp: new Date().toISOString(),
uptime: process.uptime(),
});
});
app.get("/health/deep", async (req, res) => {
const health = {
status: "ok",
checks: {
database: "unknown",
cache: "unknown",
externalApi: "unknown",
},
};
try {
const dbResult = await db.query("SELECT 1");
health.checks.database = dbResult ? "ok" : "error";
// ... (see reference guides for full implementation)
```
## Reference Guides
Detailed implementations in the `references/` directory:
| Guide | Contents |
|---|---|
| [Health Check Endpoints](references/health-check-endpoints.md) | Health Check Endpoints |
| [Python Health Checks](references/python-health-checks.md) | Python Health Checks |
| [Uptime Monitor with Heartbeat](references/uptime-monitor-with-heartbeat.md) | Uptime Monitor with Heartbeat |
| [Public Status Page API](references/public-status-page-api.md) | Public Status Page API |
| [Kubernetes Health Probes](references/kubernetes-health-probes.md) | Kubernetes Health Probes |
## Best Practices
### ✅ DO
- Implement comprehensive health checks
- Check all critical dependencies
- Use appropriate timeout values
- Track response times
- Store check history
- Monitor uptime trends
- Alert on status changes
- Use standard HTTP status codes
### ❌ DON'T
- Check only application process
- Ignore external dependencies
- Set timeouts too low
- Alert on every failure
- Use health checks for load balancing
- Expose sensitive information
© aj-geddes · MIT · aj-geddes/useful-ai-prompts