ai-toolkit-rules
Mandatory engineering, security, testing, git, performance, quality, and response rules. Claude MUST load this skill for every…
Service/infra health via liveness/readiness checks, resource usage, quick diagnostics. Triggers: health check, services up, system status, infra health, degraded service.
Claude Code
$ npx -y skills add softspark/ai-toolkit --skill health --agent claude-code
Codex
$ npx skills add softspark/ai-toolkit --skill health -a codex -y
Cursor
$ npx skills add softspark/ai-toolkit --skill health -a cursor -y
Gemini CLI
$ npx skills add softspark/ai-toolkit --skill health -a gemini-cli -y
GitHub Copilot
$ npx skills add softspark/ai-toolkit --skill health -a github-copilot -y
OpenCode
$ npx skills add softspark/ai-toolkit --skill health -a opencode -y
Windsurf
$ npx skills add softspark/ai-toolkit --skill health -a windsurf -y
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." effort: medium disable-model-invocation: true argument-hint: "[service]" allowed-tools: Bash, Read
$ARGUMENTS
Check the health of all project services.
Detect services from `docker-compose.yml`, `.env`, or project configuration.
# If using Docker Compose docker compose ps # Process check (bare metal) ps aux | grep -E "(node|python|java|php)" | grep -v grep
| Service | Health Check | |---------|-------------| | HTTP API | `curl -f http://localhost:{port}/health` | | PostgreSQL | `pg_isready -h localhost -p 5432` | | MySQL | `mysqladmin ping -h localhost` | | Redis | `redis-cli ping` | | MongoDB | `mongosh --eval "db.runCommand({ping:1})"` | | Elasticsearch | `curl -f http://localhost:9200/_cluster/health` | | RabbitMQ | `curl -f http://localhost:15672/api/healthchecks/node` |
# 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| Symptom | Check | Solution | |---------|-------|----------| | Service not responding | Process running? Port open? | Restart service | | Slow responses | Resource usage, connections | Scale or optimize | | Connection refused | Network, firewall, port | Check config | | Out of memory | `free -h`, container limits | Increase limits |
Run the bundled script for a JSON health report:
python3 ${CLAUDE_SKILL_DIR}/scripts/health_check.py http://localhost:8000services:
{service-name}:
status: healthy|degraded|down
uptime: Xd Xh
cpu: X%
memory: XMB
notes: "any issues"AI coding toolkit with machine-enforced safety, 116 skills, 44 agents, lifecycle hooks, persona presets, opt-in plugin packs, and benchmark tooling.
Mandatory engineering, security, testing, git, performance, quality, and response rules. Claude MUST load this skill for every…
Searches past coding sessions for observations, decisions, context. Triggers: mem-search, recall session, past work, prior…
Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. Triggers: a11y, accessibility, WCAG, EAA, ARIA, contrast, keyboard, screen…
Creates new specialized agents with frontmatter, tools, delegation. Triggers: new agent, create agent, agent scaffold,…
Analyzes code quality, complexity, patterns across codebase. Triggers: quality report, hotspot scan, code analysis, architecture…
API design: naming, versioning, pagination, idempotency, OpenAPI, error contracts and safe retries. Triggers: API design, REST,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.