healthcheck

healthcheck is a command for Claude Code from YousefNabil-SOC/claude-apex. It costs 21 tokens per session (559 once invoked), scanned B, original, MIT.

A command that checks whether a set of local V6 development systems and services is working. It verifies configuration files, directories, hooks, peer health, and registered MCP servers.

In plain words
What is it for?
Running a session-start health check, validating settings, checking local services and installed components, and reporting the results in a table.
Why use it?
It provides a repeatable way to find broken or missing setup when a development environment behaves unexpectedly.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: reads .claude/ paths.

Good fit Running a session-start health check, validating settings, checking local services and installed components, and reporting the results in a table.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/yousefnabil-soc/claude-apex/healthcheck
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.

Clone the repo
git clone --depth 1 https://github.com/YousefNabil-SOC/claude-apex

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 healthcheck

README.md
[![agentmods](https://agentmods.dev/badge/commands/yousefnabil-soc/claude-apex/healthcheck/github.svg)](https://agentmods.dev/commands/yousefnabil-soc/claude-apex/healthcheck)
Your own site
<a href="https://agentmods.dev/commands/yousefnabil-soc/claude-apex/healthcheck"><img src="https://agentmods.dev/badge/commands/yousefnabil-soc/claude-apex/healthcheck/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 healthcheck

Your own site · 80×15
<a href="https://agentmods.dev/commands/yousefnabil-soc/claude-apex/healthcheck"><img src="https://agentmods.dev/badge/commands/yousefnabil-soc/claude-apex/healthcheck.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 559 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00021 $0.00559
Opus 5 $0.00010 $0.00280
Sonnet 5 $0.00004 $0.00112
Haiku 4.5 $0.00002 $0.00056

Measured 11d ago against content hash a724de44b878, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

healthcheck scanned grade B with 2 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 11d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

1. **OMC Plugin**: Check if oh-my-claudecode is in enabledPlugins in $HOME/.claude/settings.json

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

2. **Claude Peers**: Run `curl -s http://localhost:7899/health` — should return ok
commands/healthcheck.md · 40 lines

What it actually says

System Health Check V6

Run these checks and report results in a table:

IMPORTANT: Use $HOME (not ~) in ALL path checks to avoid Windows/MSYS2 path resolution issues.

  1. OMC Plugin: Check if oh-my-claudecode is in enabledPlugins in $HOME/.claude/settings.json
  2. Claude Peers: Run curl -s http://localhost:7899/health — should return ok
  3. PAUL Framework: Check if $HOME/.claude/commands/paul/ directory exists with .md files
  4. Dream Skill: Check if $HOME/.claude/skills/dream-consolidation/SKILL.md exists
  5. CARL: Check if $HOME/.carl/carl.json exists and has domains configured
  6. Autoresearch: Check if $HOME/.claude/skills/autoresearch/SKILL.md exists
  7. SEED: Check if $HOME/.claude/commands/seed.md exists
  8. PostCompact Hook: Check $HOME/.claude/hooks/post-compact-recovery.sh exists and contains "V6"
  9. Sound Notification: Check if $HOME/.claude/hooks/task-complete-sound.sh exists
  10. Peers Auto-Register: Check if $HOME/.claude/hooks/peers-auto-register.sh exists and is executable
  11. Settings JSON: Run python3 -c "import json,os; json.load(open(os.path.expanduser('~/.claude/settings.json'))); print('VALID')" to validate
  12. MCP Servers: Count mcpServers keys in settings.json
  13. Skills Count: Count SKILL.md files recursively in $HOME/.claude/skills/
  14. Agents Count: Count .md files in $HOME/.claude/agents/
  15. Memory Health: Count lines in the project's MEMORY.md (should be under 200)

Present results as:

# System Status Details
1 OMC Plugin OK/FAIL version if available
2 Claude Peers OK/FAIL broker response
... ... ... ...

After the table:

  • Count total OK vs FAIL
  • If any system shows FAIL, suggest a specific fix
  • Show environment totals: skills, agents, MCP servers, plugins, PAUL commands, CARL domains
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. 11d ago First seen · 40 lines · 21 tokens per session scan B a724de44b878

Subscribe to this mod's changes

healthcheck is a command published in the GitHub repository YousefNabil-SOC/claude-apex (2 stars, last pushed 3mo ago), licensed MIT. It adds 21 tokens to every session and 559 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.