skill-health

skill-health is a skill for Claude Code from shimo4228/claude-harness. It costs 19 tokens per session (2,406 once invoked), scanned A, original, MIT.

A checker for a library of skills, where each skill is a reusable instruction set for a coding agent. It finds references to files, scripts, agents, or related skills that are missing, and reports some names it cannot resolve.

In plain words
What is it for?
Use it to scan skill folders for dangling references and separate definite missing files from names that simply lack a filesystem path.
Why use it?
It detects broken links inside the skill library that could silently stop instructions from working after files are renamed or removed.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to scan skill folders for dangling references and separate definite missing files from names that simply lack a filesystem path.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shimo4228/claude-harness/skill-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.

Any agent
npx skills add shimo4228/claude-harness --skill skill-health
Clone the repo
git clone --depth 1 https://github.com/shimo4228/claude-harness

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 skill-health

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/shimo4228/claude-harness/skill-health"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/skill-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,406 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.00019 $0.02406
Opus 5.5 $0.00008 $0.00962
Sonnet 5.5 $0.00004 $0.00481
Haiku 4.5 $0.00002 $0.00241

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

Security

Grade A, and why

skill-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 22d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/__init__.py, scripts/scan_refs.py, scripts/url_liveness.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/skill-health/SKILL.md · 169 lines

How it starts

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

skill-health — Skill-Library Structural Debt Scan

Detect skill technical debt — library-level defects that do not break a single skill in isolation but degrade the library over time (SkillOps, Pu/Song/ Zhao 2026, arXiv:2605.13716). This skill owns the one debt pattern no other harness skill checks: missing artifacts — a SKILL.md that references a scripts/ module, a bash script, an agent, or a sibling skill that no longer exists on disk (it silently dangles after a rename or delete).

This is a structural property — decidable from the literal text plus a filesystem exists() check — so deterministic code owns it. The semantic, risk, and validation dimensions are delegated, never re-implemented here.

Only dangling is a defect claim

The scanner (--help lists flags, --json the keys) reports three lists:

  • dangling (exit code 1) — a written path that does not exist. This is the only defect claim.
  • unresolved_names — skill / command names written without a path that match no file under the skills root. An enumeration handed to judgment, not a defect: the name may be a CLI builtin, a plugin command, or a skill in another repo, and the slash-command namespace is not enumerable from disk. _KNOWN_NON_FILE_SKILLS in the scanner is noise reduction, not an authority.
  • external — skills whose directory is a symlink out of the skills root. Also an enumeration, not a defect: it answers "would a fix applied here survive?" — it would not, since the owning tree overwrites it on upgrade. Route these upstream (issue / PR). References inside them are still scanned.

Roots. <harness> below is the harness this scan covers: ~/.claude by default, or a repository's .claude/ when skill harness-stocktake runs in project mode. The ledger <ledger> belongs to that harness: ${CLAUDE_SKILL_DIR}/results.json when this skill's directory is inside <harness> (the harness carries its own copy of the skill), else <harness>/stocktake/skill-health.json (an installed plugin, or project mode).

Read the full file on GitHub · 169 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 22d ago Changed · +1 lines f009c4900841
  2. 29d ago Changed · +2 lines db817d9d8c1e
  3. 1mo ago Changed · +3 lines 70d892b15c1b
  4. 1mo ago Changed · -153 tokens per session 6fd34a309ac7
  5. 1mo ago Changed · -36 lines · +4 tokens per session da411b83260a
  6. 2mo ago Changed 5fae888db1f7
  7. 2mo ago Changed · -7 lines 3be29e778526
  8. 3mo ago First seen · 206 lines · 168 tokens per session scan A d67cf5999a8e

Subscribe to this mod's changes

skill-health is a skill published in the GitHub repository shimo4228/claude-harness (4 stars, last pushed 7d ago), licensed MIT. It adds 19 tokens to every session and 2,406 once invoked, about $0.0001 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

skill-health compared with skills from other repositories

skill-health next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skill-healthshimo4228/claude-harnessSkill47d agoMITA19Claude Code
troubleshoot-tervaterva-sh/tervaSkill52d agoMITA83Claude Code, Codex
agent-adoption-triageshimo4228/agent-adoption-triageSkill21mo agoMITA143Claude Code
agent-harness-fault-injectionlingxling/awesome-skills-cnSkill3411mo agoMITA34Claude Code
debug-helpsunnypatneedi/claude-starter-kitSkill119mo agononeA8Claude Code
systematic-debuggingNousResearch/hermes-agentSkill267ktodayMITA16Claude Code, Codex
a11y-debuggingasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A50Claude Code, Codex