activity-monitor
Guardian service that monitors the active runtime agent's state and automatically restarts it if stopped. Use when checking agent…
System health check dispatched by the activity monitor via Control queue. Checks PM2 services, disk space, and memory usage. Use when receiving a control message containing "health-check".
$ npx -y skills add zylos-ai/zylos-core --skill health-check --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/health-checkContext preview
The summary Claude sees to decide when to auto-load this skill.
System health check dispatched by the activity monitor via Control queue. Checks PM2 services, disk space, and memory usage. Use when receiving a control message containing "health-check".
name: health-check description: | System health check dispatched by the activity monitor via Control queue. Checks PM2 services, disk space, and memory usage. Use when receiving a control message containing "health-check". user-invocable: false allowed-tools: Bash, Read, Grep
Periodic system health check delivered via the C4 Control queue.
node ~/zylos/.claude/skills/health-check/scripts/pm2-snapshot.js
The helper parses `pm2 jlist` internally and prints only the allowlisted health fields (`name`, `status`, `pid`, and `restart_time`). Never run or print raw `pm2 jlist` output because it contains each process's inherited environment. Every service should have `status: "online"`. Record which services are stopped or errored.
df -h / /home 2>/dev/null || df -h /
Thresholds:
free -m
Thresholds:
If all checks pass, log to `~/zylos/logs/health.log`:
[YYYY-MM-DD HH:MM:SS] Health Check: PM2 X/X online, Disk XX%, Memory XX% - ALL OK
If any issues found, notify whoever is most likely to help: 1. Check your memory files for a designated owner or ops person 2. If none designated, notify the person you normally work with most 3. Use `c4-send.js` with the appropriate channel and endpoint to send the alert
| Issue | Action | |-------|--------| | PM2 service stopped | `pm2 restart <service>` and report | | High disk usage | Check logs directories, report findings | | High memory / swap | Report findings, check for runaway processes |
Guardian service that monitors the active runtime agent's state and automatically restarts it if stopped. Use when checking agent…
Accurately check current context window and token usage. Use when the user asks about context usage, token consumption, or when…
C4 communication bridge — central gateway for ALL external communication (Telegram, Lark, etc.). Use when replying to users via…
Guidelines for managing zylos components via CLI and C4 channels. Use when installing, upgrading, or uninstalling components, or…
Guide for creating effective skills. Use when asked to create a new skill (or update an existing skill) that extends Claude's…