agentleFS
criptoguscriptogus/brainstack/skills/health/SKILL.md

health

Skill4 starsChanged 4 months agoMITView on GitHub

Use when auditing a vault - check for orphans, broken links, duplicate pages, schema drift, index staleness, and Iron Law violations. Produces a scored report with prioritized fixes.

30 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use design-html, plan-tune and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • seek888Skill

    design-html

    Design finalization: generates production-quality Pretext-native HTML/CSS. Works with approved mockups from /design-shotgun, CEO plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch with a user description. Text actually reflows, heights are computed, layouts are dynamic. 30KB overhead, zero deps. Smart API routing: picks the right Pretext patterns for each design type. Use when: "finalize this design", "turn this into HTML", "build me a page", "implement this design", or after any planning skill. Proactively suggest when user has approved a design or has a plan ready. (gstack) Voice triggers (speech-to-text aliases): "build the design", "code the mockup", "make it real".

    Also in 6 projects that use this

  • chloropineSkill

    plan-tune

    Self-tuning question sensitivity + developer psychographic for cgstack (v1: observational). Review which AskUserQuestion prompts fire across cgstack skills, set per-question preferences (never-ask / always-ask / ask-only-for-one-way), inspect the dual-track profile (what you declared vs what your behavior suggests), and enable/disable question tuning. Conversational interface — no CLI syntax required.

    Also in 4 projects that use this

  • seek888Skill

    plan-devex-review

    Interactive developer experience plan review. Explores developer personas, benchmarks against competitors, designs magical moments, and traces friction points before scoring. Three modes: DX EXPANSION (competitive advantage), DX POLISH (bulletproof every touchpoint), DX TRIAGE (critical gaps only). Use when asked to "DX review", "developer experience audit", "devex review", or "API design review". Proactively suggest when the user has a plan for developer-facing products (APIs, CLIs, SDKs, libraries, platforms, docs). (gstack) Voice triggers (speech-to-text aliases): "dx review", "developer experience review", "devex review", "devex audit", "API design review", "onboarding review".

    Also in 6 projects that use this

  • chloropineSkill

    make-pdf

    Turn any markdown file into a publication-quality PDF. Proper 1in margins, intelligent page breaks, page numbers, cover pages, running headers, curly quotes and em dashes, clickable TOC, diagonal DRAFT watermark. Not a draft artifact — a finished artifact. Use when asked to "make a PDF", "export to PDF", "turn this markdown into a PDF", or "generate a document". (cgstack) Voice triggers (speech-to-text aliases): "make this a pdf", "make it a pdf", "export to pdf", "turn this into a pdf", "turn this markdown into a pdf", "generate a pdf", "make a pdf from", "pdf this markdown".

    Also in 5 projects that use this

  • ninehillsSkill

    read

    Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local text files already in the repo.

    Also in 4 projects that use this

  • Kit4SomeSkill

    unfreeze

    Also in 6 projects that use this

  • +3 more from seek888
  • +3 more from chloropine

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 22 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before a big reorganization or migration

    line 21
  2. Distinctive:

    When retrieval feels worse than it should

    line 22
  3. Distinctive:

    After an agent made many changes (verify nothing rotted)

    line 23
  4. Very specific:

    Don't use for: fixing the problems (that's consolidate) or everyday capture.

    line 25
  5. Very specific:

    Run the audit: python3 bin/vault-health.py (or your equivalent).

    line 29
  6. Distinctive:

    Checking a vault mid-capture: Run health when the system is at rest, or the numbers lie.

    line 93

“Common” is measured: kept by at least 6 in 10 of the 22 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Health

A vault is a living system and living systems get sick: orphan notes, broken links, duplicate pages, schema drift, a stale index. The health check finds the sickness, scores it, and prioritizes the cure.

When to Use

  • Weekly or monthly vault maintenance
  • Before a big reorganization or migration
  • When retrieval feels worse than it should
  • After an agent made many changes (verify nothing rotted)

Don't use for: fixing the problems (that's consolidate) or everyday capture.

The check

Run the audit: python3 bin/vault-health.py (or your equivalent). It checks:

CheckWhat it looks for
OrphansNotes with no incoming or outgoing links
Broken links[[wikilinks]] pointing at nonexistent notes
DuplicatesSimilar titles / same entity twice
Iron Law violationsMentions of entities without backlinks
Schema driftNotes missing required frontmatter fields
Index stalenessSemantic index older than the newest note
Inbox backlog00-Inbox/ items older than N days
WeightOversized notes (>2000 chars is a smell for atomicity)

The report

# Vault Health Report - YYYY-MM-DD

Score: 7.8/10  (last: 7.2/10 - improving)

## Issues by severity
[P0] 12 Iron Law violations (3 entities affected)
[P1] 4 duplicate person pages
[P1] Semantic index 6 days stale
[P2] 9 orphan notes
[P3] Inbox backlog: 5 items older than 7 days

## Recommended actions
1. Run dream cycle --full (repairs backlinks, merges duplicates)
2. Reindex: python3 bin/semantic-index.py --rebuild
3. Process inbox backlog (capture skill)

## Healthy areas
- Schema compliance: 96%
- Link density: good

Scoring

Base 10, subtract per issue weighted by severity (P0 worst). Track the score over time - a declining score means the capture layer is leaking; a rising one means consolidation is winning.

Rules

  • Report, don't fix. The health check diagnoses; consolidate cures. Running fixes inside the audit makes the numbers lie.
  • Severity before volume. 12 Iron Law violations matter more than 40 minor style nits. Prioritize P0/P1.
  • Trend over snapshot. The score matters less than its direction. Keep the history.
  • Never auto-delete anything. Everything found goes to the report; deletion decisions are human or consolidate-archived.

Common Pitfalls

  1. Fixing while auditing. Diagnosis and treatment must be separate or you cannot measure improvement.
  2. Reporting volume without severity. "40 issues" is noise; "4 P1s" is action.
  3. Ignoring the trend. A one-off 9/10 with a falling 3-month trend is worse than a stable 7.5.
  4. Orphan hysteria. Some orphans are legitimately standalone (reference material). Flag, don't auto-link.
  5. Checking a vault mid-capture. Run health when the system is at rest, or the numbers lie.

Verification Checklist

  • Audit ran, all 8 checks covered
  • Report has score + trend (vs last run)
  • Issues prioritized by severity (P0/P1 first)
  • Recommended actions map to specific skills/scripts
  • Nothing deleted, nothing auto-fixed during the audit

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.