pm-kit: Skill for Claude Code

.claude/skills/health/SKILL.md

health is a skill for Claude Code from kv0906/pm-kit. It costs 34 tokens per session (816 once invoked), scanned A, original, MIT.

A health check for an Obsidian note vault, which is a folder of connected notes. It checks links, orphan notes, required sections, note statistics, and project index freshness, then writes a report.

In plain words
What is it for?
Use it to scan notes, verify wikilinks, find orphans, check required sections, calculate vault statistics, and create a graph-health report.
Why use it?
It helps find broken connections, isolated notes, incomplete records, and outdated project summaries in a growing vault.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is kv0906/pm-kit's own configuration. It tells Claude Code how to work on pm-kit 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 pm-kit configures →

Part of the pm-kit plugin — 35 skills, 7 agents, 2 hooks shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to kv0906/pm-kit. 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/kv0906/pm-kit/main/.claude/skills/health/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/kv0906/pm-kit

Made for: Claude Code.

Or install pm-kit, the plugin that ships this one along with the rest of its 35 skills, 7 agents, 2 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/skills/kv0906/pm-kit/health.svg)](https://agentmods.dev/skills/kv0906/pm-kit/health)
Your own site
<a href="https://agentmods.dev/skills/kv0906/pm-kit/health"><img src="https://agentmods.dev/badge/skills/kv0906/pm-kit/health.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 816 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 61
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00034 $0.00816
Opus 5 $0.00017 $0.00408
Sonnet 5 $0.00007 $0.00163
Haiku 4.5 $0.00003 $0.00082

Measured 8d ago against content hash 6084ece19db5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

health 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Query GitHub API for latest release: `curl -sS "https://api.github.com/repos/{repo}/releases/latest"` (non-fatal on failure)
.claude/skills/health/SKILL.md · 119 lines

How it starts

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

/health — Vault Health Check

Generate comprehensive health report for the vault.

Context

Config: @_core/config.yaml

Session Task Progress

TaskCreate: "Scan vault files"
  activeForm: "Scanning vault files..."

TaskCreate: "Check links and orphans"
  activeForm: "Validating links..."

TaskCreate: "Generate health report"
  activeForm: "Generating health report..."

Processing Steps

  1. Scan Vault

    • Glob all .md files
    • Exclude: _core/, _templates/, _archive/
  2. Check Broken Links

    • Extract all [[wikilinks]] from each file
    • Verify each target exists
    • Report: source → broken target
  3. Find Orphan Notes

    • Notes with no inbound links
    • Exclude: index files, standalone: true
  4. Check Missing Sections

    • Typed notes (doc, decision, blocker, meeting) should have ## Links
    • Report missing required sections
  5. Calculate Statistics

    • Notes by type
    • Notes by project
    • Link density (links per note)
  6. Check Synthesis Freshness

    • For each 01-index/{project}.md, check if ## Synthesis section exists
    • If synthesis is missing or says "No synthesis yet", flag as stale
    • Check vault log (01-index/_vault-log.md) for last index-regen entry per project
    • If no regen in 7+ days, flag as stale
  7. Check Update Status

    • Read VERSION file for local version
    • Query GitHub API for latest release: curl -sS "https://api.github.com/repos/{repo}/releases/latest" (non-fatal on failure)
    • Compare: "Up to date" | "Update available: vX → vY" | "Could not check"
  8. Append to Vault Log

    • Append health entry to 01-index/_vault-log.md (see .claude/rules/vault-log.md)
  9. Generate Report

    • Write to 01-index/_graph-health.md

Output Format

# Graph Health Report

> Generated: {datetime}

## Broken Links
| Source | Broken Target |
|--------|---------------|
| {path} | [[{target}]]  |

## Orphan Notes
- {path} — no inbound links

## Missing ## Links Sections
- {path} — type: {type}

## Statistics

### By Type
| Type | Count |
|------|-------|
| daily | {n} |
| doc | {n} |

### By Project
| Project | Count |
|---------|-------|
| {proj} | {n} |

### Link Density
- Total links: {n}
- Average per note: {avg}

## Synthesis Health

| Project | Has Synthesis | Last Index Regen | Status |
|---------|---------------|------------------|--------|
| {proj} | Yes/No | {date or "Never"} | Fresh/Stale |

## Framework Status
- **Version**: v{local}
- **Update**: {status — "Up to date" | "Update available: vX → vY" | "Could not check"}

## Actions
1. [ ] Fix broken link: {source} → {target}
2. [ ] Add links to: {orphan}

Read the full file on GitHub · 119 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. 8d ago First seen · 119 lines · 34 tokens per session scan A 6084ece19db5

Subscribe to this mod's changes

health is a skill published in the GitHub repository kv0906/pm-kit (133 stars, last pushed 2mo ago), licensed MIT. It adds 34 tokens to every session and 816 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

wiki-lint

Run a deterministic, read-only health check on an Obsidian wiki. Use for lint, vault health check, audit wiki health, find orphans, find dead links, frontmatter audit, provenance audit, or wiki audit. Reports graph, link, frontmatter, provenance-ledger, empty-section, and stale-index findings; it does not reason…

AgriciDaniel/claude-obsidian · 79 tokens

code-understand

Build a ranked, citation-backed focus map of a codebase — the files and symbols an architecture actually hangs on — using CodeGraph when available and a dependency-free builtin (regex AST extraction + rg cross-file references) otherwise. Use this any time you (the coding agent) need to orient in an unfamiliar or large…

Ar9av/obsidian-wiki · 175 tokens

api-errors

McpError constructor, JsonRpcErrorCode reference, and error handling patterns for @cyanheads/mcp-ts-core. Use when looking up error codes, understanding where errors should be thrown vs. caught, or using ErrorHandler.tryCatch in services.

cyanheads/obsidian-mcp-server · 54 tokens

report-issue-framework

File a bug or feature request against @cyanheads/mcp-ts-core when you hit a framework issue. Use when a builder, utility, context method, or config behaves contrary to the documented API — not for server-specific application bugs.

cyanheads/obsidian-mcp-server · 52 tokens

report-issue-local

File a bug or feature request against this MCP server's own repo. Use for server-specific issues — tool logic, service integrations, config problems, or domain bugs that aren't caused by the framework.

cyanheads/obsidian-mcp-server · 44 tokens

link-health

Use at the start of Link work when readiness is unclear, after installs or upgrades, and before repairs; verify health, inspect interrupted writes, back up, and repair generated indexes without MCP.

gowtham0992/link · 41 tokens