undefined-ui/second-brain-os/second-brain-lint
Claude Code and agent skill by undefined-ui/second-brain-os
- community
Checking that the SKILL.md file is still in the repository.
Audit a second-brain vault for structural problems and repair them: broken wikilinks, orphan pages, empty stubs, frontmatter that violates the schema, near-duplicate pages, and stale index entries. Use this skill whenever the user asks to lint, clean, audit or check the health of their vault, says pages feel messy or links are broken, after a large bulk import, or when a scheduled maintenance run fires. Do NOT use for ingesting new sources, for answering questions from the vault, or for rewriting page content that is structurally fine but reads badly.
Install
npx vskill@latest install undefined-ui/second-brain-os/second-brain-lintSKILL.md
Lint the vault
Structural rot is silent. Nothing errors, nothing crashes, the vault just slowly stops answering questions well because a third of its pages are unreachable. Linting is the only thing that catches it before the owner does.
Core rule
Report before repairing. Fix the mechanical problems automatically, but never delete or merge a page without listing it first and getting a yes, because the owner may have written it by hand.
Workflow
- Inventory. Count pages by type. Build the link graph by parsing every
[[wikilink]].
- Broken links. Links pointing at pages that do not exist. Distinguish
two cases: a typo or rename, which you fix, and a genuine gap, which goes into index.md under Gaps.
- Orphans. Pages with no inbound links. For each, either find where it
should be linked from and add the link, or flag it as a candidate for deletion.
- Stubs. Pages under roughly 40 words with no links. Usually a failed
ingest. Flag for re-ingest from the original source in raw/.
- Schema. Missing or malformed frontmatter, wrong
type, missing dates,
tags outside the existing vocabulary.
- Near-duplicates. Pages with very similar titles or aliases. Propose
merges; do not perform them unsolicited.
- Index drift. Pages missing from
index.md, index entries pointing
nowhere.
- Repair, then append the run to
log.md.
Output format
Calibration
An aggressive linter that merges pages on its own judgement destroys work. A timid one that only reports produces a list nobody acts on. The split above is the useful line: mechanical fixes happen, semantic decisions get proposed.
Do not run a full lint after every ingest. Weekly, or after an import of more than about twenty sources.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/second-brain-lint/SKILL.md
Popularity
- Repository stars
- 563
- Repository forks
- 97
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 3 Oct 2026, 27 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/undefined-ui/second-brain-os/second-brain-lint)