Our review
Runs a full health audit of the newna.ai VPS, checking PM2, Docker, nginx, SSL, databases, disk, memory, firewall, Fail2ban, systemd, and backups.
Strengths
- Comprehensive coverage of server infrastructure across 11 categories.
- Proactive warning thresholds (e.g., SSL expiry, disk usage).
- Report structured by severity for quick triage.
Limitations
- Tied to the newna.ai VPS; not a generic server health check.
- Requires a dedicated health-agent to be spawned.
- Does not include application-level logs or custom business metrics.
Use this skill for a quick server health overview or when investigating performance issues or errors.
Do not use for configuration changes, deployments, or on servers other than newna.ai.
Security analysis
CautionThe skill performs read-only health checks using Bash, which is necessary for its purpose but poses risk if the spawned health-agent executes unintended commands. The described actions are legitimate and non-destructive.
- •Requires Bash access with potential elevated privileges for checking system services and firewall.
- •Interacts with critical services (PM2, Docker, nginx) which, if mishandled, could cause disruption.
Examples
Check server health on newna.ai.Is the server ok? It's been slow lately. Run a full health check.Run server status and tell me if anything is wrong.name: server-health description: Comprehensive health check of the newna.ai VPS. Checks PM2, Docker, nginx, SSL, databases, disk, firewall, backups, and system resources. Use when the user says "check server health", "is the server ok", "server status", "what's running", "health check", or invokes /server-health. Also use proactively when something seems wrong (high restart counts, errors, slow responses). allowed-tools: [Bash, Read, Grep, Agent]
/server-health
Run a full health audit of the newna.ai VPS by spawning the health-agent.
What it checks
- PM2 — process status, restart counts, memory usage
- Docker — container health (deploy-api-1, gitea, filebrowser, portainer)
- Nginx — config validity, service status
- SSL — certificate expiry (warns at 30 days)
- Databases — SQLite integrity, WAL sizes (admin.db, chat.db)
- Disk — partition usage (warns at 80%)
- Memory — available RAM (warns below 1GB)
- Firewall — UFW status, expected ports
- Fail2ban — SSH jail status, banned IPs
- Systemd — failed units, backup timer status
- Backups — last backup run, any errors
Spawn the health-agent and present its report organized by severity.
Docker Compose Architect
DevOps
Designs optimized Docker Compose configurations.
Incident Postmortem Writer
DevOps
Writes structured and blameless incident postmortem reports.
Runbook Creator
DevOps
Creates clear operational runbooks for common DevOps procedures.