Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

Second Brain Vault Linter

Audits a Markdown knowledge vault for broken links, orphans, stubs and schema violations, auto-fixing only the mechanical problems.

UtilitiesIntermediate★ 408⑂ 69AI score 8/10Last updated: Sep 23, 2026

What it does

  • Inventories the vault, parses every [[wikilink]] to build a link graph, and counts pages by type.
  • Splits broken links into typos/renames (fixed automatically) and genuine gaps (logged under Gaps in index.md).
  • Detects orphan pages (no inbound links), stubs (under ~40 words with no links), frontmatter schema violations, near-duplicate titles/aliases, and index drift.
  • Core rule is report-before-repair: mechanical issues get fixed, but deletions and merges are only proposed and need your yes.
  • Emits a fixed-format report (fixed automatically / needs a decision / health metrics like orphan, broken-link and stub rates) and appends the run to log.md.

Who it's for

  • Obsidian, Logseq or plain-Markdown vault owners whose links rot over time.
  • Users of the second-brain-os workflow who ingest sources in bulk.
  • Anyone who just did a large import and needs a structural sanity check.

Example uses

  1. "Lint my vault" — get an auto-fixed list plus a decision queue with recommended actions.
  2. Right after importing 50 web clippings — failed ingests show up as stubs flagged for re-ingest from raw/.
  3. "Search in my notes feels worse lately" — receive orphan and broken-link rates with suggestions for where each orphan should be linked from.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/undefined-ui/second-brain-os/HEAD/skills/second-brain-lint/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the skills/second-brain-lint folder from the GitHub repo undefined-ui/second-brain-os into my ~/.claude/skills/second-brain-lint/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/undefined-ui/second-brain-os.git /tmp/second-brain-os && mkdir -p ~/.claude/skills && cp -r /tmp/second-brain-os/skills/second-brain-lint ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/undefined-ui/second-brain-os.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r second-brain-os/skills/second-brain-lint ~/.claude/skills/
  5. Run claude from inside your vault directory and ask it to "lint the vault".
  6. If your vault differs, edit SKILL.md to match your own index.md, log.md, raw/ and page-type names.
  7. Back up the vault (or commit to git) before the first run, since some fixes are applied automatically.