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".
Claude Code
$ npx -y skills add zylos-ai/zylos-core --skill health-check --agent claude-code
Codex
$ npx skills add zylos-ai/zylos-core --skill health-check -a codex -y
Cursor
$ npx skills add zylos-ai/zylos-core --skill health-check -a cursor -y
Gemini CLI
$ npx skills add zylos-ai/zylos-core --skill health-check -a gemini-cli -y
GitHub Copilot
$ npx skills add zylos-ai/zylos-core --skill health-check -a github-copilot -y
OpenCode
$ npx skills add zylos-ai/zylos-core --skill health-check -a opencode -y
Windsurf
$ npx skills add zylos-ai/zylos-core --skill health-check -a windsurf -y
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…
Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude…
Keep a durable record of work passed between Bots in the shared Hindsight memory bank. Use when handing work to another Bot, when…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…