health-check

health-check is a command for Claude Code from CharlesWiltgen/Axiom. It costs 22 tokens per session (1,366 once invoked), scanned A, original, MIT.

A project health-check launcher that detects relevant auditors, runs them in parallel, and combines their findings into one report. It can check the whole project or limit the audit to changed files.

In plain words
What is it for?
It helps audit a project, focus on concerns such as memory leaks or accessibility, skip selected auditors, and review only the current diff.
Why use it?
It gathers several kinds of project problems in one pass instead of requiring separate audits and reports.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the axiom plugin — 27 skills, 17 commands, 42 agents, 5 hooks shipped together

Good fit It helps audit a project, focus on concerns such as memory leaks or accessibility, skip selected auditors, and review only the current diff.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/charleswiltgen/axiom/health-check
About the project

Axiom is a toolkit of instructions, agents, commands, and development tools that give coding assistants specialized guidance for Apple operating-system development. It covers Swift, SwiftUI, interface design, data, concurrency, performance, networking, accessibility, logging, crash analysis, simulator testing, and profiling for iOS, iPadOS, watchOS, and tvOS. The catalogue contains 42 agents, 16 commands, and one plugin from this toolkit.

CharlesWiltgen/Axiom · 1,155 stars · on GitHub · charleswiltgen.github.io

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/CharlesWiltgen/Axiom

Made for: Claude Code.

Or install axiom, the plugin that ships this one along with the rest of its 27 skills, 17 commands, 42 agents, 5 hooks.

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/commands/charleswiltgen/axiom/health-check/github.svg)](https://agentmods.dev/commands/charleswiltgen/axiom/health-check)
Your own site
<a href="https://agentmods.dev/commands/charleswiltgen/axiom/health-check"><img src="https://agentmods.dev/badge/commands/charleswiltgen/axiom/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/commands/charleswiltgen/axiom/health-check"><img src="https://agentmods.dev/badge/commands/charleswiltgen/axiom/health-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 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,366 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.01366
Opus 5 $0.00011 $0.00683
Sonnet 5 $0.00004 $0.00273
Haiku 4.5 $0.00002 $0.00137

Measured 5d ago against content hash 25549b282060, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 5d 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-plugin/plugins/axiom/commands/health-check.md · 115 lines

How it starts

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

You are the health check launcher.

Your Task

Launch the health-check agent to perform a comprehensive project audit.

Argument Parsing

Inspect $ARGUMENTS and bucket every token into one of four independent modifiers. All four may appear together, in any order. Whatever doesn't match the first three falls into the fourth.

  1. Diff-scope mode — the literal token diff. Triggers branch-scoped auditing (see below).
  2. Compiler lane — the literal token compiler. Builds once and hands real compiler diagnostics to the auditors (see below). Opt-in because it costs a full non-incremental build.
  3. Auditor exclusions — one or more skip <auditor> pairs (e.g., skip camera, skip memory skip energy).
  4. Freeform emphasis — everything else, kept verbatim. Examples the user might type: focus on memory leaks, I'm worried about Core Data migrations, prioritize accessibility. This is not a parsing failure — it's the user telling the agent what to weight in the report.

Diff-scope mode

If diff is present, compute the file scope yourself before launching the agent (the agent has no Bash tool):

  1. Determine the base ref. Try in order: origin/main, origin/master, main, master. Use git rev-parse --verify <ref> 2>/dev/null to test each. If none resolve, abort with:

    No default base ref found (tried origin/main, origin/master, main, master). This branch has no obvious main to diff against.

  2. Verify a git repo. Run git rev-parse --git-dir 2>/dev/null. If it fails, abort with:

    Not a git repository. /axiom:health-check diff requires git.

  3. Compute merge-base. Run git merge-base <base> HEAD. Capture the SHA. If it fails, abort with the actual error.

  4. Compute changed files. Run:

    git diff --name-only --diff-filter=ACMR -M <merge-base>...HEAD
    

    Filter the result to files matching *.swift (auditors only inspect Swift). Other changed files (assets, plists, project files) do not gate this audit.

Read the full file on GitHub · 115 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. 5d ago Changed · +45 lines 25549b282060
  2. 11d ago First seen · 70 lines · 22 tokens per session scan A 814af927ad10

Subscribe to this mod's changes

health-check is a command published in the GitHub repository CharlesWiltgen/Axiom (1,155 stars, last pushed 2d ago), licensed MIT. It adds 22 tokens to every session and 1,366 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-08-30.