health
FeaturedService/infra health via liveness/readiness checks, resource usage, quick diagnostics. Triggers: health check, services up, system status, infra health, degraded service.
AI & Automation 161 stars
21 forks Updated today MIT
Install
Quality Score: 93/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# 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
| 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` |
## 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
| Symptom | Check | Solution |
|---------|-------|----------|
| Service not responding | Process running? Port open? | Restart service |
| Slow responses | Resource usage, connections | Scale or optimize |
| Connection refused | Net...
Details
- Author
- softspark
- Repository
- softspark/ai-toolkit
- Created
- 4 months ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
health
Project Health Audit
4 Updated 4 days ago
AreteDriver AI & Automation Listed
environment-health
Docker health checks, service monitoring, container lifecycle management, connection validation, and environment diagnostics. Use when troubleshooting dev environment issues or performing health audits.
1 Updated 3 days ago
michaelalber API & Backend Solid
health-check
Run comprehensive health checks on the Claude Code Agent Monitor system. Validates dashboard API, database, WebSocket, hooks, and disk usage. Use to verify the monitoring setup is working correctly.
850 Updated today
hoangsonww