health

A project health-check command for Claude Code configuration.

In plain words
What is it for?
Checking CLAUDE.md, settings.json, hooks, rules, CLAUDE_ERRORS.md, and tracked secret files, then reporting problems and warnings.
Why use it?
It finds missing or invalid configuration, broken hooks or rules, and possible secrets in tracked files before they cause problems.

Command for Claude Code

Part of the dotforge plugin — 23 skills, 25 commands, 7 agents, 8 hooks shipped together

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.

agentmods
npx agentmods add commands/luiseiman/dotforge/health
Clone the repo
git clone --depth 1 https://github.com/luiseiman/dotforge

Made for: Claude Code.

Or install dotforge, the plugin that ships this one along with the rest of its 23 skills, 25 commands, 7 agents, 8 hooks.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 151 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00151
Opus 5 $0.00000 $0.00076
Sonnet 5 $0.00000 $0.00030
Haiku 4.5 $0.00000 $0.00015

Measured 3d ago against content hash 15a9a15fc2b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

health 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 3d 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.

.claude/commands/health.md · 14 lines

What it actually says

Health check del proyecto

Verificar que la configuración de Claude Code del proyecto está sana.

Steps

  1. Verificar que CLAUDE.md existe y no está vacío
  2. Verificar que .claude/settings.json existe y es JSON válido
  3. Verificar que los hooks referenciados en settings.json existen y son ejecutables
  4. Verificar que las rules referenciadas tienen frontmatter globs: válido
  5. Verificar que CLAUDE_ERRORS.md existe (advertir si no)
  6. Verificar que no hay secrets en archivos trackeados por git (.env, *.key, *.pem)
  7. Reportar estado: ✅ sano / ⚠️ advertencias / ❌ problemas
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. 3d ago First seen · 14 lines · 0 tokens per session scan A 15a9a15fc2b2

Subscribe to this mod's changes

health is a command published in the GitHub repository luiseiman/dotforge (8 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 151 tokens. 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-31.

Related

Other commands, from other repositories

get-to-work

Autonomous ops work. Args: [mode] [repeat]. Modes: tasks | opps | full | escalating (default). Repeat: cycle (keep going, default) | once (single pass). Run this before stepping away from an ops repo.

OdinMB/ops-workflow · 66 tokens

tidy

Consistency check for non-code repos with INDEX.md hierarchy. Verifies INDEX.md accuracy, MEMORY.md references, orphaned files, stale dates, and WAITING markers.

OdinMB/ops-workflow · 33 tokens

recap

Summarize what happened in the project since a given date. Produces a short lead on what's different now, backed by tables and lists covering completed work, state changes, backlog movement, and key decisions. Use when the user wants to catch up on project activity, review recent progress, or generate a status update…

OdinMB/ops-workflow · 105 tokens

whats-next

Generate an executive overview of the project. Synthesizes state, backlogs, and recent plans into a ranked action plan answering "What should we do next?".

OdinMB/ops-workflow · 32 tokens

batch-plan

Create a batch of ops plans continuously without user input, storing any user questions in a .md file to be processed with the user afterwards. Do NOT invoke this yourself! Should only be invoked by the user.

OdinMB/ops-workflow · 42 tokens

batch-execute

Execute a batch of ops plans continuously without user input, storing any issues and user questions in a .md file to be processed with the user afterwards. Do NOT invoke this yourself! Should only be invoked by the user.

OdinMB/ops-workflow · 44 tokens