wiki-lint
Skill1 starsChanged 8 months agoMITView on GitHub
Use when the user runs /lint [--since <ref>], says "fix wiki issues", "resolve contradictions", "heal the wiki", "clean up dead links", "health-check the wiki", or wants a full structural pass. Scans the wiki for six categories (orphans, dead/ambiguous links, stale pages, missing cross-references, unresolved contradictions, index drift) and fixes each in place — the agent picks the tactic per finding — committing the pass as lint(<yyyy-mm-dd>). Fully automatic. Detection algorithms and healing principles live in reference.md.
26 other projects use a version of this.
Adopted by
Most recently taken up by
- hmjBill/skillstheir own version, first seen Oct 5, 2026
- dexio-wiki/llm-wiki-skillstheir own version, first seen Sep 28, 2026
- AgriciDaniel/claude-obsidiantheir own version, first seen Sep 10, 2026
- cookyman74/llmwiki-harnesstheir own version, first seen Aug 14, 2026
- chobizzy/llm-wikitheir own version, first seen Aug 4, 2026
- schub-tech/llm-ideation-wikitheir own version, first seen Jul 28, 2026
Used with
Projects with it also use wiki-capture, wiki-update and 6 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.
jehrhardtSkillwiki-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
bozhouDevSkillwiki-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-Chen1999Skillwiki-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
joeseesunSkilldefuddle
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
KKodiacSkillobsidian-bases
Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.
Also in 4 projects that use this
ZanderRussSkillobsidian-markdown
Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax. Use when working with .md files in Obsidian, or when the user mentions wikilinks, callouts, frontmatter, tags, embeds, or Obsidian notes.
Also in 3 projects that use this
Other versions26 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 26
- AgriciDaniel/claude-obsidian★ 15ksame name
- kfchou/wiki-skills★ 187same name
- IssacW228/student-llm-wiki★ 176same name
- Mark393295827/third-brain-v7-skills★ 141same name
- vanillaflava/llm-wiki-skills★ 69same name
- cookyman74/llmwiki-harness★ 34same name
- Ivy-Chen1999/llm-wiki-kit★ 21same name
- schub-tech/llm-ideation-wiki★ 11same name
- CarbeneAI/Forge★ 9same name
- crabin/llm-wiki★ 9same name
16 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- stubs/CLAUDE.mdCLAUDE.md
- wiki-bootstrapSkill
- wiki-historySkill
- wiki-ingestSkill
- wiki-querySkill
- wiki-reviewSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 20 edited versions we read keep these.
1
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
- Very specific: line 36
Run all six checks from reference.md.
- Distinctive: line 47
If zero findings across all checks, skip to step 6 with the healthy-wiki output.
- Very specific: line 55
Keep a running log, internal to this run: {page, finding-category, one-sentence-call}.
“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.
Files
wiki-lint
Full-wiki structural audit-and-repair. One invocation produces exactly one lint(<date>) commit (or none, if the wiki is already healthy).
Refuse conditions
- No
.llm-wiki.yamlin CWD or ancestors. .llm-wiki.yaml:schema_version != 1.git status --porcelain -- wiki/ index.mdnon-empty — working tree dirty on wiki paths. The caller must commit or stash before linting (use/reviewfor hand-edits).
Workflow
1. Build the page index
Walk wiki/**/*.md. For each page, capture: path, slug, frontmatter (type, tags, status, updated, sources, contradictions, allow_orphan), outbound [[X]] list.
Load .llm-wiki.yaml:lint — stale_days, orphan_allowlist, default_scope, suggest_after_n_ingests.
2. Scope
--since / config | Pages scanned |
full (default) | All pages. |
since-last-commit | git diff --name-only HEAD~1 HEAD -- 'wiki/**/*.md'. |
<git-ref> | git diff --name-only <ref> HEAD -- 'wiki/**/*.md'. |
Orphan, dead-link, and cross-ref checks resolve against the full page index regardless of scope; the scope filter limits which pages can produce findings (and therefore which pages get mutated).
3. Detect
Run all six checks from reference.md. Build an internal list of findings grouped by check:
| Check | Finding shape |
| Orphans | Page path, type. |
| Dead links | Page:line, target, dead-link or dead-link-ambiguous. |
| Stale | Page, updated, days past stale_days. |
| Missing cross-refs | Page:line, bare mention, candidate slug. |
| Contradictions | Page, each {source, note} entry. |
| Index drift | Missing entries and stale entries. |
If zero findings across all checks, skip to step 6 with the healthy-wiki output; do not create a commit.
4. Heal
For each finding, pick a tactic guided by the healing principles in reference.md. Mutate in place.
The agent is explicitly authorized to use its judgment — read source pages, consult raw/ passages for contradictions, pick the better-supported side, rewrite prose, add or remove [[…]], set frontmatter status:, regenerate index.md entries. No rule table prescribes the tactic; the principles describe the target state, the agent picks the mechanism.
Keep a running log, internal to this run: {page, finding-category, one-sentence-call}. The log feeds the commit body in step 5.
5. Commit
Single batch.
git add <explicit-paths-touched>
git commit -F <message-file>Subject: lint(<yyyy-mm-dd>): fix N orphan(s), M dead link(s), K contradiction(s), … — list only categories with non-zero fixes. Singular / plural per count. Subject ≤72 chars; drop least-important categories first if it overflows.
Body: one short line per resolved contradiction naming the page and the call the agent made, plus any non-obvious judgment from other categories (e.g. "merged [[foo]] into [[bar]] — same subject"). Straightforward fixes (a typo'd link, an index entry) need no body line. No Co-Authored-By trailer.
6. Output
Single line.
- With fixes:
Linted <yyyy-mm-dd>: N fix(es) across M page(s). Commit <short-sha>. - No findings:
Wiki is healthy — no findings.
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
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.

