agentleFS
Mark393295827Mark393295827/third-brain-v7-skills/skills/wiki-lint/SKILL.md

wiki-lint

Skill141 starsChanged 7 months agoMITView on GitHub

Use when an Obsidian wiki needs a reproducible health audit for structure, provenance, links, understanding, lifecycle, and promotion readiness.

26 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use wiki-capture, wiki-query and 8 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.
  • jehrhardtSkill

    wiki-capture

    Quickly capture raw thoughts, links, images, or notes to today's Obsidian daily note from anywhere in Pi. Use when the user wants to jot something down for later wiki processing.

    Also in 4 projects that use this

  • bozhouDevSkill

    wiki-query

    Use when asking a question against a personal wiki built with wiki-init and wiki-ingest. Do not answer from general knowledge — always read the wiki pages first.

    Also in 18 projects that use this

  • bozhouDevSkill

    wiki-update

    Use when revising existing wiki pages because knowledge has changed, a new piece of information updates or contradicts existing content, or the user wants to directly edit wiki content with LLM assistance.

    Also in 4 projects that use this

  • Ivy-Chen1999Skill

    wiki-setup

    Initialize a new Obsidian wiki vault with the correct structure, special files, and configuration. Use this skill when the user wants to set up a new wiki from scratch, initialize the vault structure, create the .env file, or says things like "set up my wiki", "initialize obsidian", "create a new vault", "get started with the wiki". Also use when the user needs to reconfigure their existing vault or fix a broken setup.

    Also in 3 projects that use this

  • justvinhhereSkill

    wiki-review

    Use when the user runs /review, says "show pending changes", "what's uncommitted", or wants an audit of uncommitted wiki edits before they land in history. Narrates uncommitted changes, flags structural issues scoped to those changes, and commits them with a conventional subject. Fully automatic.

    Also in 4 projects that use this

  • joeseesunSkill

    defuddle

    Extract clean article content from web pages or local HTML files. Removes clutter (ads, sidebars, nav) and returns readable content with metadata.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 2

    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. Very specific:

    If the vault root or path semantics are ambiguous, return NEEDS_INPUT before scanning or writing.

    line 36
  2. Distinctive:

    Run twelve checks and preserve file-level evidence:

    line 42
  3. Distinctive:

    Every P0/P1 finding is reproducible from a path and check.

    line 91

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

Wiki Lint

<skill_contract> <input>Vault root, path configuration, audit scope, exclusions, prior baseline, and explicit repair authorization if any.</input> <output>A reproducible, severity-ranked wiki health report with file-level evidence, debt queues, and bounded repair proposals.</output> <done>All twelve checks record scope and receipts, findings are reproducible, and report-only mode leaves content unchanged.</done> <non_goals>Silent deletion, immutable-source mutation, unapproved repair, semantic rewrite, or health claims without scan evidence.</non_goals>

Audit the wiki as a governed knowledge graph. Report prioritized, reproducible findings; make no content mutation unless separately authorized.

Usage Template

Provide: vault root, optional path config, audit scope, prior report, and whether repairs are authorized. Default to report-only.

Workflow

<intake>

Resolve configured source, concept, entity, clipping, daily, system, and log paths. Record scan timestamp, file count, exclusions, and prior baseline. Fail closed if the supplied path is not the intended vault.

</intake>

<unknowns_gate>

If the vault root or path semantics are ambiguous, return NEEDS_INPUT before scanning or writing. Missing optional directories are findings; inaccessible required directories are BLOCKED_PERMISSION.

</unknowns_gate>

<execute>

Run twelve checks and preserve file-level evidence:

  1. required frontmatter and stable identifiers;
  2. broken wikilinks and unresolved embeds;
  3. source references and block locators;
  4. orphan concepts and isolated entities;
  5. duplicate titles or semantic duplicates;
  6. stale notes and unresolved contradictions;
  7. single-source or weak-provenance claims;
  8. concept structure and understanding-gate integrity;
  9. clipping archive and source lifecycle;
  10. permission, immutable-source, and human-approval boundaries;
  11. daily-loop receipts and flywheel write-back;
  12. V8.1 promotion-gate readiness for proposed rules.

Classify P0 integrity loss, P1 broken provenance/navigation, P2 debt, and P3 improvement. Prefer deterministic checks; label semantic judgments separately.

</execute><evaluate>

Re-scan a sample of findings, deduplicate root causes, and compare counts with the prior baseline. A report is invalid if paths, scan scope, or reproduction details are absent. If repair was authorized, run the relevant check again after each bounded repair.

</evaluate>

<state_contract>

Persist {run_id, status, attempt, budget, evidence, unknowns, last_error, next_action} plus vault fingerprint, scan scope, finding ledger, severity counts, baseline delta, authorized repairs, and receipts. Never overwrite the prior report.

</state_contract>

Failure Protocol

  • NEEDS_INPUT: vault identity or configured path semantics are unclear.
  • BLOCKED_PERMISSION: required files cannot be read or an authorized report cannot be written.
  • VERIFY_FAILED: a finding cannot be reproduced; downgrade or remove it.
  • BUDGET_STOP: scan budget ends; return coverage and the unscanned queue rather than a whole-vault claim.

Output Contract

Return status, result (severity-ranked findings and health summary), evidence (paths, checks, counts, samples), unknowns (coverage gaps), and next_action with owner and cheap verification.

Edge Cases

  • A concept is intentionally unlinked during drafting: classify it as debt with age/context, not a P0 defect.
  • A source note has malformed metadata but is immutable: report the issue and propose an overlay/index repair; do not edit the source.

Success Metrics

  • Every P0/P1 finding is reproducible from a path and check.
  • Coverage, exclusions, and baseline delta are explicit.
  • Repair recommendations preserve provenance and include a cheap check.

Quality Gates

  • Vault identity and scan scope are verified.
  • Deterministic and semantic findings are separated.
  • No immutable source was changed without authorization.
  • Report-only versus repair mode is explicit.

</skill_contract>

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.