agentleFS
kriscardkriscard/Skills/skills/obsidian/maintain/SKILL.md

maintain

Skill14 starsChanged 4 months agoMITView on GitHub

Runs a read-only health check on the Obsidian vault — finds broken links, orphaned notes, tag inconsistencies, and wiki issues, then reports prioritized fixes. Make sure to use this skill whenever the user says "vault health check", "fix broken links", "clean up my vault", "vault maintenance", or runs /maintain. Never modifies anything without explicit request — this skill diagnoses, it doesn't operate.

17 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use office-hours and release.

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.
  • ex3ndrSkill

    office-hours

    MANUAL TRIGGER ONLY: invoke only when user types /office-hours. YC Office Hours — two modes. Startup mode: six forcing questions that expose demand reality, status quo, desperate specificity, narrowest wedge, observation, and future-fit. Builder mode: design thinking brainstorming for side projects, hackathons, learning, and open source. Saves a design doc. Use when asked to "brainstorm this", "I have an idea", "help me think through this", "office hours", or "is this worth building". Proactively suggest when the user describes a new product idea or is exploring whether something is worth building — before any code is written.

    Also in 4 projects that use this

  • MicrosoftSkill

    release

    Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 14 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read-only health audit. Diagnoses issues across four dimensions: wiki quality, link integrity, tag consistency, and overall stats.

    line 14
  2. Very specific:

    After wiki lint, keep findings in the report only.

    line 57
  3. Distinctive:

    Run all in parallel:

    line 97
  4. Distinctive:

    After the report, ask: "Want me to fix any of these?" Only then act.

    line 136

“Common” is measured: kept by at least 6 in 10 of the 14 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

Vault Maintenance

Read-only health audit. Diagnoses issues across four dimensions: wiki quality, link integrity, tag consistency, and overall stats. Reports findings with prioritized fixes — then waits for the user to decide what to act on.

Never modify a note without an explicit "fix this" instruction.

This skill checks integrity (links, tags, wiki quality). For PARA structure on Projects and Areas — stalled projects, missing outcomes/deadlines, done-but-not-archived — use audit-para.

Step 1 — Wiki Lint (3 - Resources/ layer)

Audit the wiki layer before structural checks. Six checks:

W1. Orphan wiki pages — pages with source: claude-memory frontmatter that have zero inbound links:

obsidian orphans

W2. Concepts without pages — scan index.md and wiki pages for concept names mentioned in prose but lacking their own page in 3 - Resources/.

W3. Contradictions — read pairs of related wiki pages in 3 - Resources/Coding/ and 3 - Resources/Concepts/. Flag conflicting claims.

W4. Stale sources — check index.md Articles/Videos/Tweets entries. Flag sources older than 6 months whose wiki pages may need revisiting.

W5. Sources not in index — files in 3 - Resources/Articles/, 3 - Resources/Tweets/, 3 - Resources/Videos/ not listed in index.md:

obsidian files folder="3 - Resources/Articles/" format=json
obsidian files folder="3 - Resources/Tweets/" format=json
obsidian files folder="3 - Resources/Videos/" format=json

Cross-check each against index.md sections.

W6. Missing cross-references — related concept pages that don't link each other. Use obsidian search on page titles to find semantic neighbors, check if wikilinked.

After wiki lint, keep findings in the report only. Do not append to log.md; this skill is read-only until the user explicitly asks for a fix.

Step 2 — Link Health

For deep link analysis, delegate to the link-maintainer agent which handles the 2-Link Rule and unlinked mention checks. For a quick check:

obsidian unresolved verbose counts
obsidian orphans total
obsidian deadends total

Capture:

  • Count of broken/unresolved links
  • Count of orphaned notes (no inbound links)
  • Count of dead-end notes (no outgoing links)
  • Most-linked-to missing targets (high-impact fixes first)

Step 3 — Tag Consistency

For deep tag analysis, delegate to the tag-optimizer agent. For a quick check:

obsidian tags counts sort=count

Scan for:

  • Redundant tags: tags that duplicate folder location (e.g., #project on a note already in 1 - Projects/)
  • Notes exceeding 4-tag limit: more than 4 tags is a signal of unclear categorization
  • TIL notes missing til/ prefix: any tags in 3 - Resources/TIL/ notes that don't follow the til/<tech> convention
  • Tags to consolidate: near-duplicates (js → javascript)

Step 4 — Stats

Run all in parallel:

obsidian vault info=files
obsidian tasks todo total
obsidian orphans total
obsidian deadends total
obsidian unresolved total

Report Format

Vault Health Check Complete!

Wiki Lint: X issues
- W1 Orphan wiki pages: X
- W2 Concepts without pages: X
- W3 Contradictions: X
- W4 Stale sources: X
- W5 Sources not in index: X
- W6 Missing cross-references: X

Link Health: X broken | X orphans | X dead ends
Tag Health:  X redundant | X over-limit | X missing til/

Stats: X files | X orphans | X dead ends | X broken links
       X outstanding tasks (Projects: X)

Overall: Good / Needs Attention / Critical
Priority fixes: [top 3 issues]

Health thresholds:

  • Good: < 10 total issues
  • Needs Attention: 10–30 issues
  • Critical: > 30 issues or many broken links in active notes

After the report, ask: "Want me to fix any of these?" Only then act. Completion: no notes have been modified, every issue in the report includes a source/path or command output summary, and the top 3 priority fixes are listed.

References

PriorityLoad whenReference
OptionalNeed weekly/monthly/quarterly maintenance checklistsreferences/maintenance-checklists.md

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.