wiki-lint
What it does
This skill scans your Obsidian wiki and reports problems such as broken links and pages that nothing points to. It is for people who want to keep a large knowledge base tidy.
When to use it
- ✓When you want to check your wiki for dead links or pages with no links pointing to them.
- ✓When you want an audit of frontmatter or source tracking across your notes.
- ✓When you want to know which index pages are out of date before you fix them yourself.
Skill link
https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/wiki-lint/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Check my Obsidian wiki for broken links and orphan pages, and show me a report.”
5 new skills a week. 1 minute to read.
How it works
The agent runs a fixed checking tool that reads the vault and lists each finding. It does not create reports, dashboards, or fixes, so you decide what to change.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Lint the wiki
Use the portable lint engine as the source of truth. Lint observes vault state; it does not create reports, dashboards, canvases, stubs, or fixes.
Resolve the installed product root from this skill's own location, not from the vault or current working directory:
PRODUCT_ROOT=/absolute/path/to/installed/claude-obsidian
CORE="$PRODUCT_ROOT/scripts/claude-obsidian.py"
test -f "$CORE"
Every ../wiki/references/ link in this file resolves the same way, relative
to this skill's own directory under $PRODUCT_ROOT, never relative to the
selected vault's wiki/ directory.
Run
Resolve the user vault, then run one of:
python3 "$CORE" lint --vault "$VAULT"
python3 "$CORE" lint --vault "$VAULT" --format markdown
python3 "$CORE" lint --vault "$VAULT" --exclude "wiki/scratchpad/*"
The repeatable --exclude GLOB flag scopes a path (for example a scratchpad
folder) out of page, link-resolution, orphan, frontmatter, empty-section, and
stale-index scanning.
Use --strict only when a nonzero exit for findings is useful in automation.
The command remains read-only either way.
The deterministic parser understands Obsidian wikilinks and embeds, Markdown
links, aliases, heading and block fragments, escaped aliases, and code fences.
It skips dot-prefixed directories by default, mirroring Obsidian's own
indexer. Link resolution honors .gitignore files inside the vault (no git
subprocess): when a link is ambiguous between a page and a gitignored file
such as a build artifact, the gitignored candidate is dropped.
It reports such categories as dead or ambiguous links, orphan pages, required
frontmatter gaps (including title), empty sections, stale index entries, and
source/claim ledger contract violations. Report only the
checks and counts present in its output; do not claim that it performed
semantic, stylistic, or prose-level contradiction analysis when it did
not.
Explain findings
- Preserve the engine's paths, line numbers, targets, categories, and counts.
- Group findings by likely impact: broken navigation, ambiguous resolution, metadata quality, then maintainability.
- Explain that an orphan may be intentional and an ambiguous basename needs a path-qualified link; do not infer intent from the finding alone.
- Treat allowlisted findings as policy, not as proof that the target exists.
- Separate deterministic facts from suggested remediation.
Do not write the Markdown rendering into the vault. Return it in chat or stdout.
Repair is a separate operation
Never auto-fix a lint result. After the user chooses specific findings to repair:
- Re-read each target and record its expected SHA-256.
- Draft only the selected changes; do not delete or merge pages without explicit consent.
- Build one repair bundle with a new operation ID.
- Inspect the bundle and show exact changed paths.
- Apply only after that separate review.
- Re-run lint read-only and compare the relevant findings.
Follow the operation transaction contract. Lint itself never applies that transaction and never commits Git.
Checkpoint
Observe the deterministic report, think about root causes rather than finding count, verify proposed repairs against current hashes, and grow by improving the workflow that produced repeated findings.
FAQ
Does it repair broken links?
No. The check only reports findings, and repairs are left to you or another skill.
Can I skip some folders?
Yes. You can exclude a folder, such as a scratch area, from the scan.
What kinds of problems does it find?
It reports link problems, orphan pages, frontmatter gaps, empty sections, and stale index entries.
Details
Original description by the author
Run a deterministic, read-only health check on an Obsidian wiki. Use for lint, vault health check, audit wiki health, find orphans, find dead links, frontmatter audit, provenance audit, or wiki audit. Reports graph, link, frontmatter, provenance-ledger, empty-section, and stale-index findings; it does not reason broadly or repair files.
Popularity
- GitHub stars
- 16k
- Ranking position
- #10814
- License
- MIT
- Updated
- 10/25/2026
Comments
- …
More skills from this repository
autoresearch
16kLets your agent research a topic within set limits and draft a cited report. Web findings stay as evidence and are not added to your notes automatically.
canvas
16kHelps your agent create and update visual boards in Obsidian that hold notes, files, links, and groups. Useful for maps and spatial layouts.
defuddle
16kHelps your agent plan how to clean a web page into readable text and keep local copies of source files. Network cleaning is not yet available.
obsidian-bases
16kHelps your agent design Obsidian Bases views that work like simple databases, with filters, formulas, and table or card layouts.
Similar skills
technical-documentation
394kHelps your agent write and review clear technical docs and agent instruction files, so people and AI tools can follow them easily.
architecture-decision-records
280kHas your agent record important project structure decisions. It helps to understand the reasoning behind choices and maintain a clear history of changes.
code-tour
280kLets your agent create step-by-step code walkthroughs with exact file and line references. Useful for intros, explanations, and reviews.