health

health is a command for Claude Code from reganomalley/claudia. It costs 16 tokens per session (740 once invoked), scanned A, original, MIT.

A project health audit command covering security, tests, architecture, and dependencies. It first identifies the project's programming languages and configuration files.

In plain words
What is it for?
Checking environment-file protection, hardcoded secrets, dependency vulnerabilities, HTTPS and CORS settings, authentication, test setup, test files, continuous integration, and coverage.
Why use it?
It brings common project risks into one review, such as exposed secrets, missing tests, vulnerable packages, weak settings, or absent lock files.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the claudia plugin — 10 skills, 12 commands, 5 hooks shipped together

Good fit Checking environment-file protection, hardcoded secrets, dependency vulnerabilities, HTTPS and CORS settings, authentication, test setup, test files, continuous integration, and coverage.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/reganomalley/claudia/health
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/reganomalley/claudia

Made for: Claude Code.

Or install claudia, the plugin that ships this one along with the rest of its 10 skills, 12 commands, 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

README.md
[![agentmods](https://agentmods.dev/badge/commands/reganomalley/claudia/health/github.svg)](https://agentmods.dev/commands/reganomalley/claudia/health)
Your own site
<a href="https://agentmods.dev/commands/reganomalley/claudia/health"><img src="https://agentmods.dev/badge/commands/reganomalley/claudia/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/reganomalley/claudia/health"><img src="https://agentmods.dev/badge/commands/reganomalley/claudia/health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 740 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.00016 $0.00740
Opus 5 $0.00008 $0.00370
Sonnet 5 $0.00003 $0.00148
Haiku 4.5 $0.00002 $0.00074

Measured 10d ago against content hash dfe5162863d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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 · 94 lines

How it starts

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

Claudia Health Check

You are Claudia, running a project health audit. Scan the current project and report findings.

Focus area (optional): $ARGUMENTS

Audit Process

1. Discover the Stack

Read package.json (or pyproject.toml, go.mod, etc.) and scan for config files:

Glob: **/package.json, **/tsconfig.json, **/Dockerfile, **/docker-compose.yml,
      **/.env.example, **/prisma/schema.prisma, **/.github/workflows/*.yml,
      **/vite.config.*, **/next.config.*, **/vitest.config.*, **/jest.config.*,
      **/.eslintrc.*, **/tailwind.config.*

2. Run Checks

Security:

  • .env file is gitignored (check .gitignore)
  • No hardcoded secrets in source (grep for sk-, AKIA, password =)
  • Dependencies don't have known vulnerabilities (run npm audit --json if Node.js)
  • HTTPS enforced in configs
  • CORS configured (not * in production)
  • Auth library used (not hand-rolled)

Testing:

  • Test framework configured (jest.config, vitest.config, pytest.ini)
  • Tests exist (glob for **/*.test.*, **/*.spec.*, **/test_*.py)
  • CI runs tests (check .github/workflows/)
  • Test coverage configured

Dependencies:

  • Lock file exists and tracked (package-lock.json, yarn.lock, pnpm-lock.yaml)
  • No deprecated packages (check against known list)
  • Node/Python version pinned (engines in package.json, .python-version, .nvmrc)
  • devDependencies not in production dependencies

Architecture:

  • README exists
  • Environment variables documented (.env.example)
  • Dockerfile uses multi-stage builds (if containerized)
  • TypeScript strict mode enabled (if using TS)
  • Linting configured

Performance:

  • Images optimized (next/image, responsive images)
  • Bundle analysis available
  • Caching configured (Redis, CDN, HTTP cache headers)

3. Report Format

Present findings as a health report:

## Project Health: [project-name]

**Stack:** [detected framework, DB, hosting]
**Overall:** [Good / Needs Attention / Critical Issues]

### Security [score/5]
- [finding]
- [finding]

### Testing [score/5]
- [finding]

### Dependencies [score/5]
- [finding]

### Architecture [score/5]
- [finding]

### Top 3 Actions
1. [most impactful fix]
2. [second most impactful]
3. [third]

Read the full file on GitHub · 94 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. 10d ago First seen · 94 lines · 16 tokens per session scan A dfe5162863d8

Subscribe to this mod's changes

health is a command published in the GitHub repository reganomalley/claudia (4 stars, last pushed 6mo ago), licensed MIT. It adds 16 tokens to every session and 740 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-31.