agentleFS
po4ykapo4yka/llm-wiki-skills/skills/wiki-lint/SKILL.md

wiki-lint

Skill6 starsChanged 5 months agoMITView on GitHub

Run structural and trust health checks for an LLM-Wiki vault. Use for broken links, orphan pages, missing provenance, stale claims, contradiction reports, taxonomy drift, protected-section edits, and review queue generation.

46 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use wiki-status, wiki-capture 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.
  • nexuschainsSkill

    wiki-status

    Reports the current state of the wiki vault — page counts, category breakdown, hub pages, orphans, stale entries, and a delta showing what has changed since the last ingest. Use this skill when the operator asks "what's the status", "wiki dashboard", "how many pages", "what's stale", "what's been ingested", "show me the delta", or "wiki health overview". Also surfaces structural insights (top hubs, fragmented clusters, bridge pages) when the operator asks "wiki insights", "what's central", or "show me the hubs". Read-only: this skill reports and recommends; it does not modify any files.

    Also in 5 projects that use this

  • 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 6 projects that use this

  • nexuschainsSkill

    cross-linker

    Scans the wiki vault and adds missing [[wikilinks]] between pages that are related but not yet connected. Use this skill when the operator says "link my pages", "find missing links", "cross-reference the wiki", "connect my wiki", "add wikilinks", or after any large ingest to weave new pages into the existing knowledge graph. Also trigger when orphaned pages need connecting or when wiki-lint reports fragmented tag clusters. This is a write-heavy skill — it modifies page files to insert links, unlike wiki-lint which only reports.

    Also in 4 projects that use this

  • tboome33Skill

    wiki-export

    Export a vault's wiki either as a single portable file (llms.txt or llms-full.txt per the llmstxt.org standard) or as an OKF knowledge bundle (Google's Open Knowledge Format v0.1 — a shareable directory of markdown files any AI agent can consume). Use when the user says "export my wiki", "make an llms.txt", "share my wiki", "export as OKF", "make an OKF bundle", "publish my wiki as a bundle", "backup the wiki to a single file", "/wiki-export", or asks for a portable dump of their knowledge base.

    Also in 4 projects that use this

  • Ivy-Chen1999Skill

    wiki-synthesize

    Systematically discover synthesis opportunities across the Obsidian wiki — pairs or clusters of concepts that co-occur frequently across pages but have no synthesis page connecting them. Creates new synthesis/ pages that draw explicit cross-cutting conclusions. Use when the user says "synthesize my wiki", "find connections", "what concepts keep coming up together", "/wiki-synthesize", or after a large ingest when the vault has grown significantly.

    Also in 4 projects that use this

  • bozhouDevSkill

    wiki-init

    Use when bootstrapping a new personal wiki for any knowledge domain — research, codebase documentation, reading notes, competitive analysis, or any long-term knowledge accumulation project.

    Also in 7 projects that use this

  • +1 more from nexuschains

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 37 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before large refactors or after bulk ingestion.

    line 21
  2. Very specific:

    create reports under _agent/reports/.

    line 39
  3. Distinctive:

    Not allowed by default:

    line 44
  4. Very specific:

    Use --strict in CI to fail on critical/high findings.

    line 68
  5. Distinctive:

    Look for tensions such as incompatible tool maturity claims, local-first vs cloud-only descriptions, stale landscape claims contradicting …

    line 83
  6. Very specific:

    Start from the script's draft report, merge in the judgement-only and contradiction findings, and save it as …

    line 89
  7. Very specific:

    Every saved report is appended as an audit entry to wiki/log.md.

    line 138

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

Goal

Detect structural decay, provenance gaps, stale claims and contradictions without silently rewriting truth.

When to use

  • The vault needs a structural or trust health check.
  • Before large refactors or after bulk ingestion.
  • A review queue should be generated from mechanical findings.

A filled final report ships in assets/worked-example.md.

Inputs

  • wiki/index.md
  • wiki/log.md
  • all wiki/**/*.md pages
  • _meta/taxonomy.md
  • _meta/schemas/*
  • optional git history

Write permissions

Allowed:

  • create reports under _agent/reports/;
  • append to wiki/log.md when a report is created;
  • propose patches;
  • fix trivial broken links only when the user explicitly asks for apply mode.

Not allowed by default:

  • resolve contradictions;
  • rewrite synthesis pages;
  • mark pages verified;
  • delete pages;
  • bulk-normalize frontmatter without a dry run.

Procedure

1. Run deterministic checks

node scripts/wiki-lint-core.mjs <vault-path>

The bundled script is read-only and prints a draft report covering the mechanical checks. Do not re-derive these by hand; re-run the script instead:

  • inventory: page counts by type/status, missing or malformed required frontmatter;
  • links: broken wikilinks and relative links, orphan pages, pages with no outbound links, duplicate titles, near-duplicate slugs;
  • provenance: generated or reviewed/verified factual pages without source_paths/source_urls, high-confidence pages with no source reference;
  • trust: ai_confidence < 0.70 without review_required: true, review_required: false on draft pages, verified pages past stale_after, ambiguous claim support outside review;
  • taxonomy: unknown types/statuses, tags missing from _meta/taxonomy.md, unused taxonomy tags.

Use --strict in CI to fail on critical/high findings.

2. Add judgement-only checks

The script cannot see these; check them manually:

  • pages changed since the last lint and pages without source backlinks in git history;
  • protected human sections changed by recent agent commits;
  • stale source hashes when available;
  • generated pages that cite only other generated pages;
  • pages missing from wiki/index.md that are likely important;
  • spelling-variant and overbroad tags beyond exact taxonomy mismatches.

3. Contradiction checks

Look for tensions such as incompatible tool maturity claims, local-first vs cloud-only descriptions, stale landscape claims contradicting newer source pages, lifecycle status conflicts or incompatible defaults.

Report contradictions with evidence. Do not auto-resolve them.

4. Report

Start from the script's draft report, merge in the judgement-only and contradiction findings, and save it as _agent/reports/YYYY-MM-DD-lint.md:

# Wiki lint report: YYYY-MM-DD

## Summary

## Critical issues

## High-priority review queue

## Broken links

## Orphans

## Provenance gaps

## Stale pages

## Contradictions

## Taxonomy drift

## Suggested patches

## Metrics

Append to wiki/log.md if the report is saved.

Output

A structured lint report saved to _agent/reports/YYYY-MM-DD-lint.md, using the section skeleton from step 4 (Summary, Critical issues, High-priority review queue, Broken links, Orphans, Provenance gaps, Stale pages, Contradictions, Taxonomy drift, Suggested patches, Metrics). Each finding names the affected page path and the check that raised it, tagged with a severity from the table below so a reviewer can triage top-down. Saving a report also appends a one-line entry to wiki/log.md; no other vault content is modified.

Severity levels

SeverityMeaningAction
criticalcould corrupt trust or delete human workstop and review
highimportant provenance or contradiction issuereview soon
mediumstructural decayschedule cleanup
lowcosmetic or taxonomy cleanupbatch later

Safety gates

  • Deterministic checks run through node scripts/wiki-lint-core.mjs are read-only; the script never edits vault files.
  • Contradictions, stale claims and confidence conflicts are reported with evidence, never auto-resolved.
  • Trivial broken-link fixes only run in apply mode when the user explicitly asks for it; every other write stays report-only.
  • Deleting pages, rewriting synthesis pages, marking pages verified, and bulk frontmatter normalization without a dry run are out of scope for this skill.
  • Every saved report is appended as an audit entry to wiki/log.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.