health

health is a skill for Claude Code from vasuag09/harness-claude. It costs 95 tokens per session (1,019 once invoked), scanned A, original, MIT.

A one-command health check for a software repository that runs its existing tests, lint checks, type checks, and other configured checks.

In plain words
What is it for?
Use it on a fresh checkout, after a major change, or before release to discover the project's checks and receive a summary of their results and durations.
Why use it?
It gives a pass-or-fail snapshot of whether the repository is currently healthy without creating commits, branches, or saved logs containing command output.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/eval/continuous.js --list.

Part of the harness-claude plugin — 32 skills, 8 agents, 6 hooks, 3 MCP servers shipped together

Good fit Use it on a fresh checkout, after a major change, or before release to discover the project's checks and receive a summary of their results and durations.

Compare 6 skills 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/vasuag09/harness-claude
agentmods
npx agentmods add skills/vasuag09/harness-claude/health

Made for: Claude Code.

Or install harness-claude, the plugin that ships this one along with the rest of its 32 skills, 8 agents, 6 hooks, 3 MCP servers.

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/skills/vasuag09/harness-claude/health/github.svg)](https://agentmods.dev/skills/vasuag09/harness-claude/health)
Your own site
<a href="https://agentmods.dev/skills/vasuag09/harness-claude/health"><img src="https://agentmods.dev/badge/skills/vasuag09/harness-claude/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/skills/vasuag09/harness-claude/health"><img src="https://agentmods.dev/badge/skills/vasuag09/harness-claude/health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,019 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.00095 $0.01019
Opus 5 $0.00048 $0.00509
Sonnet 5 $0.00019 $0.00204
Haiku 4.5 $0.00010 $0.00102

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

skills/health/SKILL.md · 70 lines

How it starts

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

/health — is the repo green right now?

Goal: one command that runs the repo's checks (test, lint, typecheck, …) and tells you PASS or FAIL — on any project, with a secret-free record. This is a green/red pulse, not a coverage gate (the pipeline /harness-claude:test skill owns the 80% floor).

Opt-in. No default-pipeline skill or hook invokes /health. It shell-executes the repo's own check commands with your privileges — run it deliberately. Git boundary: it only reads and runs; it never commits, pushes, or branches.

When to run

  • Before /harness-claude:ship, or after a major change, to confirm the repo is still green.
  • On a fresh checkout / unfamiliar repo, to see what passes with one command.
  • As the --score half of a /benchmark run, or any time you want a quick health check.

Secret-safety (hard invariant)

Each check's output streams live to your terminal (same as running the command yourself) but is never captured — it cannot reach the summary, the JSON artifact, or any log. The artifact records only name / command / pass / durationMs + the gate. A secret printed by a check stays on your tty and out of every persisted file.

Discovery

With no --cmd, the runner auto-detects checks:

  • package.json scriptstest, lint, typecheck (run as <pm> run <name>; the package manager is detected from the lockfile — pnpm / yarn / npm). Non-standard scripts (e.g. build) are ignored.
  • else Makefiletest and lint targets (make test / make lint).

--cmd '<shell>' (repeatable) replaces the detected set when present.

Do this

  1. Inspect (optional): see what will run without running it.
    node scripts/eval/continuous.js --list
    
  2. Run the pulse:
    node scripts/eval/continuous.js                       # auto-detect
    node scripts/eval/continuous.js --cmd 'pytest -q' --cmd 'ruff check .'   # explicit
    
    Exit 0 = all checks PASS · 1 = any check FAIL · 2 = nothing to run (no --cmd and nothing detectable). Per-check timeout defaults to 300s (--timeout-ms overrides); a timed-out check counts as FAIL and the run continues.
  3. Read the result. The summary lists each check (PASS|FAIL <name> <dur>, with a → re-run: <command> hint on failure) and a gate line. The full machine record is written to .claude/eval/continuous/<timestamp>.json (and latest.json) — metrics only, no output.
  4. Act on it. On FAIL, re-run the named command yourself to see the captured output (it was streamed live, never stored), fix, and re-run /health.

Read the full file on GitHub · 70 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. 11d ago First seen · 70 lines · 95 tokens per session scan A ea2d02448208

Subscribe to this mod's changes

health is a skill published in the GitHub repository vasuag09/harness-claude (2 stars, last pushed 2mo ago), licensed MIT. It adds 95 tokens to every session and 1,019 once invoked, about $0.0005 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.