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 174 stars
21 forks Updated yesterday Apache-2.0
Install
Quality Score: 94/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
- 5 months ago
- Last Updated
- yesterday
- Language
- Python
- License
- Apache-2.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
health
Project Health Audit
4 Updated 1 months ago
AreteDriver DevOps & Infrastructure Listed
server-check
Health check a remote server — uptime, disk, memory, Docker containers, service logs. Use when the user says "check the server", "server status", "is prod alive", or "show me the logs".
0 Updated 3 weeks ago
KogaCyber 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.
2 Updated 5 days ago
michaelalber