sova: Command for Claude Code

.claude/commands/health-audit.md

health-audit is a command for Claude Code from xsovad06/sova. It costs 24 tokens per session (11,558 once invoked), scanned A, original, Apache-2.0.

A detailed technical review of a software project’s architecture, modules, files, and functions. It produces a scored report with specific findings and priorities.

In plain words
What is it for?
Use it for onboarding, due diligence, or planning technical improvements, with findings tied to specific code, files, or patterns in the project.
Why use it?
It gives maintainers a concrete view of technical strengths, weaknesses, and deferred problems. This makes improvement work easier to prioritize than relying on general advice.

Command for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; positional $N argument.

This is xsovad06/sova's own configuration. It tells Claude Code how to work on sova itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sova configures →

Reuse

Borrowing it

Nothing to install: this file belongs to xsovad06/sova. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/xsovad06/sova/main/.claude/commands/health-audit.md
Clone the repo
git clone --depth 1 https://github.com/xsovad06/sova

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-audit

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/xsovad06/sova/health-audit"><img src="https://agentmods.dev/badge/commands/xsovad06/sova/health-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 11,558 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00024 $0.11558
Opus 5.5 $0.00010 $0.04623
Sonnet 5.5 $0.00005 $0.02312
Haiku 4.5 $0.00002 $0.01156

Measured 6d ago against content hash cecc263f6a2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

health-audit scanned grade A with 1 finding 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 6d 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 directorieslowAgent snooping

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

find . -name "*.py" -not -path "./.venv/*" -not -path "*/__pycache__/*" -not -path "*/migrations/*" -not -path "./.claude/*" | xargs wc -l | tail -1

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

.claude/commands/health-audit.md · 949 lines

How it starts

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

Deep Technical Health Audit

Focus area: $ARGUMENTS

Role

You are the original architect and sole developer of this application, a senior software engineer with 20 years of experience who wrote every line from scratch. You know every design decision, every shortcut, every deferred TODO. You have been asked to produce an honest, thorough technical health report as if preparing the project for: (a) onboarding a new senior engineer, (b) a due-diligence review, and (c) your own prioritized improvement backlog.

Be brutally honest. Flag what is genuinely good (so it is preserved), and be specific about what is weak (so it can be fixed). Avoid generic advice. Every finding must reference concrete code, files, or patterns in THIS codebase.

Procedure

Step 1: Staleness check

Report path confidentiality: before anything else, and regardless of whether docs/HEALTH-AUDIT.md exists yet, check whether writing to it is safe. A "withhold" or "file neutrally" disclosure choice (Phase C) deliberately keeps the full exploit path in this file's body: publishing it through a commit instead of an issue defeats the point of withholding it, and the gate this check feeds (Phase C's unsafe-path block) has nothing to consult without it, which is exactly the portable, first-run case this check exists for. This repo gitignores the file, but the distributable copy of this command runs in arbitrary projects where docs/ is normally tracked. The check below works whether or not the file exists yet (an absent path is simply untracked and not ignored, unless docs/ itself is gitignored), so it does not depend on the "does the file already exist" check further below.

if git ls-files --error-unmatch docs/HEALTH-AUDIT.md >/dev/null 2>&1; then
  echo "tracked"
elif git check-ignore -q docs/HEALTH-AUDIT.md; then
  echo "ignored"
elif git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
  echo "untracked-and-not-ignored"
else
  echo "not-a-git-repo"
fi
  • ignored: safe, no action needed.
  • untracked-and-not-ignored: this is the default state of a fresh project (no report file yet, and nothing ignoring docs/), so do not treat it as a hard stop here: it would stop the audit before Step 5's expensive fan-out and Step 6's claims ledger have even run, regardless of whether any finding this run turns out to be security-sensitive. Warn the user now that any future withheld or neutrally-filed exploit detail would land in a file git can commit, and suggest adding docs/HEALTH-AUDIT.md to .gitignore before continuing. Record the status as unsafe for Phase C, which enforces the actual block, and only for a group whose disclosure choice turns out to need it.
  • tracked: same deferred treatment as above, record unsafe, except the eventual fix is not optional: if a group's choice needs confidentiality, the file must also be removed from version control, not just gitignored going forward (its history would still carry the committed content).
  • not-a-git-repo (not inside a git working tree): state plainly that docs/HEALTH-AUDIT.md has no git protection in this project at all (there is no .gitignore to edit). Record unsafe; Phase C's block, if it fires, must tell the user to pick a different, actually-protected path for the report rather than prescribing a .gitignore edit.

Read the full file on GitHub · 949 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. 6d ago Changed cecc263f6a2a
  2. 13d ago Changed · +497 lines 82f98dd391a8
  3. 16d ago Changed a0495aa56425
  4. 1mo ago Changed · +16 lines 1fc9e2bacdcc
  5. 1mo ago Changed · -19 lines 441725ce781a
  6. 2mo ago First seen · 455 lines · 24 tokens per session scan A fa050a898365

Subscribe to this mod's changes

health-audit is a command published in the GitHub repository xsovad06/sova (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 24 tokens to every session and 11,558 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.