health

health is a command for Claude Code from marcosd4h/DeepExtractRuntime. It costs 0 tokens per session (1,052 once invoked), scanned A, original, MIT.

A command that checks whether a DeepExtractIDA reverse-engineering workspace has the required data, databases, registries, and configuration.

In plain words
What is it for?
Use it for quick checks, normal pre-flight validation, full database and test checks, or machine-readable health results.
Why use it?
It finds missing or inconsistent workspace parts before analysis commands fail or produce incomplete results.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python .claude/helpers/health_check.py [--quick|--full] [--json] [--workspace <path>].

Good fit Use it for quick checks, normal pre-flight validation, full database and test checks, or machine-readable health results.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/marcosd4h/DeepExtractRuntime
agentmods
npx agentmods add commands/marcosd4h/deepextractruntime/health

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/marcosd4h/deepextractruntime/health"><img src="https://agentmods.dev/badge/commands/marcosd4h/deepextractruntime/health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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 1,052 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.00000 $0.01052
Opus 5.5 $0.00000 $0.00421
Sonnet 5.5 $0.00000 $0.00210
Haiku 4.5 $0.00000 $0.00105

Measured 3mo ago against content hash 5cdd2bb2d535, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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.

commands/health.md · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Health Check

Overview

Pre-flight validation of the DeepExtractIDA workspace. Checks that extraction data, analysis databases, skill/agent/command registries, and configuration are present and consistent.

Usage:

  • /health -- standard health check (samples DBs and function indexes at scale)
  • /health --quick -- fast check (skip DB validation and function indexes)
  • /health --full -- exhaustive check (validate every DB, every index, run tests)

Execution

Run .claude/helpers/health_check.py directly from the workspace root. This is the canonical implementation -- do not write inline Python to read or iterate the registries.

python .claude/helpers/health_check.py [--quick|--full] [--json] [--workspace <path>]

The script handles all registry loading and validation internally. Present its stdout output to the user.

Invocation by mode

Mode Command
Standard python .claude/helpers/health_check.py
Quick (skip DBs + indexes) python .claude/helpers/health_check.py --quick
Full (all DBs + tests) python .claude/helpers/health_check.py --full
JSON output python .claude/helpers/health_check.py [--quick|--full] --json

Working directory

The script auto-resolves the workspace root from its own location (.. relative to .claude/helpers/). If running from a non-standard layout, pass --workspace <path> explicitly.

What the script checks

  1. Extraction Data -- extracted_code/ and extracted_dbs/ are present with usable modules.
  2. Analysis DBs -- individual .db files pass schema validation (sampled at scale; all if --full).
  3. Tracking DB -- analyzed_files.db exists and is valid.
  4. Skills -- every non-methodology skill in skills/registry.json has a matching scripts/ directory, _common.py, and all entry_scripts on disk.
  5. Agents -- every agent in agents/registry.json has scripts/, _common.py, and all entry_scripts on disk.
  6. Commands -- every command in commands/registry.json has its .md file and cross-references valid skills/agents.
  7. Configuration -- helpers.config.validate_config() reports no issues.
  8. Function Indexes -- function_index.json files are valid JSON (sampled at scale; all if --full).
  9. Test Suite -- --full only: runs pytest tests/ -x -q --tb=short and reports pass/fail counts.

Read the full file on GitHub · 93 lines

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. 3mo ago First seen · 93 lines · 0 tokens per session scan A 5cdd2bb2d535

Subscribe to this mod's changes

health is a command published in the GitHub repository marcosd4h/DeepExtractRuntime (21 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,052 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-30.

Related

health compared with commands from other repositories

health next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
healthmarcosd4h/DeepExtractRuntimeCommand212mo agoMITA0Claude Code
qa-changesOpenHands/extensionsCommand190todayMITA63Claude Code
auditar-cascadingluanpdd/kit-mcpCommand5yesterdayMITA54Claude Code
react-nativegetsentry/toolkitCommand977yesterdaynoneA0Claude Code
http-serviceMadAppGang/magusCommand16todayMITA27Claude Code
doctordoncheli/don-cheli-sddCommand593mo agoApache-2.0A76Claude Code
doctorfatihkan/badiCommand81mo agoMITA0Claude Code