cad-health

cad-health is a skill for Claude Code from crenshawdev/cadence. It costs 41 tokens per session (2,187 once invoked), scanned A, original, MIT.

A health check for a project's .planning folder and its core planning documents.

In plain words
What is it for?
Use it to check PROJECT.md, REQUIREMENTS.md, ROADMAP.md, STATE.md, and the planning trace record.
Why use it?
It finds missing or inconsistent project records and checks whether the planning run log is being ignored and kept out of version control.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the cadence plugin — 38 skills, 35 agents, 3 hooks shipped together

Good fit Use it to check PROJECT.md, REQUIREMENTS.md, ROADMAP.md, STATE.md, and the planning trace record.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add crenshawdev/cadence
Claude Code
/plugin install cadence

Made for: Claude Code.

Or install cadence, the plugin that ships this one along with the rest of its 38 skills, 35 agents, 3 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 cad-health

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/crenshawdev/cadence/cad-health"><img src="https://agentmods.dev/badge/skills/crenshawdev/cadence/cad-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,187 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.00041 $0.02187
Opus 5.5 $0.00016 $0.00875
Sonnet 5.5 $0.00008 $0.00437
Haiku 4.5 $0.00004 $0.00219

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

Security

Grade A, and why

cad-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 3d 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/cad-health/SKILL.md · 150 lines

How it starts

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

Check, then report.

  1. Presence. .planning/ exists with PROJECT.md, REQUIREMENTS.md, ROADMAP.md, STATE.md. A missing core doc is an issue (if the dir itself is absent, point at /cad-new-project for a blank page and /cad-adopt for a repo that already has code and history).

    • The run record stays out of git. Run node "${CLAUDE_PLUGIN_ROOT}/cadence-core/bin/planning.mjs" trace ignore --root . --check and report an issue when ignored is false or tracked is true. Silent when the record is ignored and untracked. --check writes nothing and this step never edits the records folder's .gitignore. The two flags are separate facts and take DIFFERENT remedies, so name the one that applies rather than one command for both: ignored:false is a missing rule, fixed by the same command without --check; tracked:true means the record is in the index ALREADY, where no ignore rule reaches it, and the fix is git rm --cached .planning/records/trace.jsonl. Both can be true at once, and then both steps are needed.
    • The capture queue, in two calls - a census of the file's sections, and a verdict on the walked queue itself: node "${CLAUDE_PLUGIN_ROOT}/cadence-core/bin/planning.mjs" capture-sections node "${CLAUDE_PLUGIN_ROOT}/cadence-core/bin/planning.mjs" capture-check From capture-sections, print one line per section whose in_walk is false, naming its heading and its bullet count, then what the number MEANS in one clause: those bullets are invisible to /cad-plan's recall. Silent when exists is false or every section is in the walk. It is a NAMED NOTE, not an issue. From capture-check, print three things, and these ARE issues. .planning/CAPTURE.md holds the phase in flight and nothing else, so each one says that stopped being true:
      • substantive against bound, naming the crossing when over_bound is true.
      • every annotations[] entry with its section, line and text.
      • archive.heading with archive.bullets when archive.present is true. Print both readings EVERY run, never filtered against a list of sections or items you expect.
  2. STATE cursor. The four required lines (Phase / Status / Next / Updated - references/conventions.md) plus the optional Plan: line after Phase:. When ROADMAP has no phases, the no cycle form passes instead: it says in words that no cycle is open, carries Next: and Updated:, and has no Phase: line. Status is one of the lifecycle values (ready to plan | context gathered | planned | executed | phase complete | paused). Phase: N of M parses with N <= M (except in the closed-milestone case rule 5 states). Updated is a date. Flag any other fifth line, an unknown status, an unparseable phase, or a Plan: line not shaped Plan: K of J or Plan: K of J (<name>) (whole numbers, J >= 1, K <= J). Check Plan: for shape only, never against the phase's plans or reports.

  3. ROADMAP. ## Phases entries are - [ ] / - [x] Phase N: Name, numbered 1..M with no gaps or dupes. An EMPTY ## Phases is a legitimately closed milestone, not a numbering gap - do not flag it.

  4. REQUIREMENTS. The traceability table parses; every Status is Pending, Complete or Deferred; every Phase value on a row that isn't Deferred names a phase that exists in ROADMAP.

Read the full file on GitHub · 150 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. 3d ago Changed · +4 lines 0ba4d65ccc2a
  2. 6d ago Changed · -25 lines f0ffc66d5388
  3. 16d ago Changed · +8 lines c5d8fea5672c
  4. 27d ago Changed · +12 lines 756464cc632f
  5. 1mo ago Changed · +2 lines 2d32d3cbc3c9
  6. 3mo ago First seen · 149 lines · 41 tokens per session scan A 2e78d7950171

Subscribe to this mod's changes

cad-health is a skill published in the GitHub repository crenshawdev/cadence (11 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 2,187 once invoked, about $0.0002 per session on Opus 5.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.

Related

cad-health compared with skills from other repositories

cad-health next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cad-healthcrenshawdev/cadenceSkill11todayMITA41Claude Code
branch-and-worktree-workflowcbrock84/headcountSkill2.6ktodayMITA70Claude Code
git-operationskomluk/scaffoldingSkill167d agoMITA58Claude Code
pr-writingdkstm95/hopeSkill724d agoMITA48Claude Code, Codex
agile-ledger-workspacenunoamorim99/agile-ledgerSkill11mo agoMITA208Claude Code
loop-on-ciKripu77/software-factorySkill62mo agoMITA28Claude Code
pr-createkanopi/cms-cultivatorSkill176d agoGPL-2.0A123Claude Code, Codex