health-check

health-check is a skill for Claude Code, Codex from JansenAnalytics/claudex. It costs 22 tokens per session (416 once invoked), scanned A, original, MIT.

A quick system check for disk space, memory use, running services, and system load. It reports detected problems such as full storage, high memory use, stopped services, or heavy CPU load.

In plain words
What is it for?
Use it for periodic health checks of development systems and background services, including silent operation when everything is within the stated limits.
Why use it?
It gives you a short way to spot common machine or service problems before they affect development work.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: positional $N argument; built for openclaw.

Good fit Use it for periodic health checks of development systems and background services, including silent operation when everything is within the stated limits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jansenanalytics/claudex/health-check
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 JansenAnalytics/claudex --skill health-check
Clone the repo
git clone --depth 1 https://github.com/JansenAnalytics/claudex

Made for: Claude Code, Codex.

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/jansenanalytics/claudex/health-check.svg)](https://agentmods.dev/skills/jansenanalytics/claudex/health-check)
Your own site
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/health-check"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/health-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 416 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.
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.00022 $0.00416
Opus 5 $0.00011 $0.00208
Sonnet 5 $0.00004 $0.00083
Haiku 4.5 $0.00002 $0.00042

Measured 4d ago against content hash 2ebcc6923988, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 4d ago.

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 · 44 lines

What it actually says

Health Check

Run all checks and report anomalies only (silent when healthy):

#!/bin/bash
ISSUES=""

# Disk > 85%
DISK_PCT=$(df / | tail -1 | awk '{print $5}' | tr -d '%')
[ "$DISK_PCT" -gt 85 ] && ISSUES="${ISSUES}\n⚠️ Disk at ${DISK_PCT}%"

# Memory > 90%
MEM_PCT=$(free | awk '/Mem/{printf("%.0f", $3/$2*100)}')
[ "$MEM_PCT" -gt 90 ] && ISSUES="${ISSUES}\n⚠️ Memory at ${MEM_PCT}%"

# Services down
for svc in openclaw-poe-gateway openclaw-argus-gateway; do
    status=$(systemctl --user is-active $svc 2>/dev/null)
    [ "$status" != "active" ] && ISSUES="${ISSUES}\n❌ $svc is $status"
done

# High load (> 4.0 on a typical system)
LOAD=$(uptime | awk -F'load average:' '{print $2}' | awk -F, '{print $1}' | xargs)
HIGH=$(echo "$LOAD > 4.0" | bc -l 2>/dev/null || echo 0)
[ "$HIGH" = "1" ] && ISSUES="${ISSUES}\n⚠️ High load: $LOAD"

if [ -n "$ISSUES" ]; then
    echo -e "🚨 Health Issues:$ISSUES"
else
    echo "✅ All systems healthy"
fi

When used in /loop, only alert when issues are found.

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. 4d ago First seen · 44 lines · 22 tokens per session scan A 2ebcc6923988

Subscribe to this mod's changes

health-check is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 2mo ago), licensed MIT. It adds 22 tokens to every session and 416 once invoked, about $0.0001 per session on Opus 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-09-03.