health-check

health-check is a skill for Claude Code from zylos-ai/zylos-core. It costs 38 tokens per session (518 once invoked), scanned A, original, MIT.

A system health-check procedure for services managed by PM2, a process manager for running applications. It checks whether services are online and measures disk and memory usage against warning thresholds.

In plain words
What is it for?
Use it when the activity monitor sends a health-check request to inspect PM2 services, disk space, memory, and resulting alerts.
Why use it?
It helps detect stopped services or limited system resources before they cause wider failures. When problems are found, it sends an alert to the appropriate person or channel.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when the activity monitor sends a health-check request to inspect PM2 services, disk space, memory, and resulting alerts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zylos-ai/zylos-core/health-check
About the project

Zylos is open-source infrastructure that gives an AI agent persistent memory, scheduled activity, communication channels, and the ability to maintain and extend itself. Individuals and teams use it with Claude Code or Codex through Telegram, Lark, or a web console. Its catalogue add-ons define settings, instructions, and skills for operating the agent.

zylos-ai/zylos-core · 1,160 stars · on GitHub · zylos.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add zylos-ai/zylos-core --skill health-check
Clone the repo
git clone --depth 1 https://github.com/zylos-ai/zylos-core

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for health-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/zylos-ai/zylos-core/health-check/github.svg)](https://agentmods.dev/skills/zylos-ai/zylos-core/health-check)
Your own site
<a href="https://agentmods.dev/skills/zylos-ai/zylos-core/health-check"><img src="https://agentmods.dev/badge/skills/zylos-ai/zylos-core/health-check/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for health-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/zylos-ai/zylos-core/health-check"><img src="https://agentmods.dev/badge/skills/zylos-ai/zylos-core/health-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 518 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00518
Opus 5.5 $0.00015 $0.00207
Sonnet 5.5 $0.00008 $0.00104
Haiku 4.5 $0.00004 $0.00052

Measured 24d ago against content hash 2dfbeaabf8de, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

health-check scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 24d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/__tests__/pm2-snapshot.test.js, scripts/pm2-snapshot.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/health-check/SKILL.md · 76 lines

What it actually says

System Health Check

Periodic system health check delivered via the C4 Control queue.

When to Use

  • Receiving a control message with "health-check" in the content
  • The activity monitor enqueues this automatically at regular intervals

Steps

1. Check PM2 Services

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.

2. Check Disk Space

df -h / /home 2>/dev/null || df -h /

Thresholds:

  • OK: < 80% used
  • Warning: 80-90% used
  • Critical: > 90% used

3. Check Memory

free -m

Thresholds:

  • OK: < 80% used
  • Warning: 80-90% used
  • Critical: > 90% used (or swap > 50% used)

4. Report Results

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 Resolution

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
Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 24d ago Changed · +3 lines 2dfbeaabf8de
  2. 2mo ago First seen · 73 lines · 38 tokens per session scan A 9a5fb2624933

Subscribe to this mod's changes

health-check is a skill published in the GitHub repository zylos-ai/zylos-core (1,160 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 518 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

health-check compared with skills from other repositories

health-check next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
health-checkzylos-ai/zylos-coreSkill1.2kyesterdayMITA38Claude Code
cloud-image-bakeopenclaw/openclawSkill394kyesterdayMITA27Claude Code, Codex
cloudflare-skillzeenie-ai/OpenCompanySkill1.1kyesterdayMITA72Claude Code
gcloud-skillzeenie-ai/OpenCompanySkill1.1kyesterdayMITA55Claude Code
vercel-skillzeenie-ai/OpenCompanySkill1.1kyesterdayMITA59Claude Code
aws-skillzeenie-ai/OpenCompanySkill1.1kyesterdayMITA59Claude Code
ov-server-operatevolcengine/OpenVikingSkill42kyesterdayAGPL-3.0A39Claude Code, Codex