Skills for Real Engineers. Straight from my .agents directory.
second-brain-lint
Agent skill fromundefined-ui/second-brain-os
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.
How to install second-brain-lint
npx skills add undefined-ui/second-brain-os# or add only this skill to Claude Code: copy the folder
skills/second-brain-lint/
# into
~/.claude/skills/second-brain-lint/ (all projects)
.claude/skills/second-brain-lint/ (one project)
1# Lint the vault23Structural rot is silent. Nothing errors, nothing crashes, the vault just4slowly stops answering questions well because a third of its pages are5unreachable. Linting is the only thing that catches it before the owner does.67## Core rule89Report before repairing. Fix the mechanical problems automatically, but never10delete or merge a page without listing it first and getting a yes, because the11owner may have written it by hand.1213## Workflow14151. **Inventory.** Count pages by type. Build the link graph by parsing every16 `[[wikilink]]`.172. **Broken links.** Links pointing at pages that do not exist. Distinguish18 two cases: a typo or rename, which you fix, and a genuine gap, which goes19 into `index.md` under Gaps.203. **Orphans.** Pages with no inbound links. For each, either find where it21 should be linked from and add the link, or flag it as a candidate for22 deletion.234. **Stubs.** Pages under roughly 40 words with no links. Usually a failed24 ingest. Flag for re-ingest from the original source in `raw/`.255. **Schema.** Missing or malformed frontmatter, wrong `type`, missing dates,26 tags outside the existing vocabulary.276. **Near-duplicates.** Pages with very similar titles or aliases. Propose28 merges; do not perform them unsolicited.297. **Index drift.** Pages missing from `index.md`, index entries pointing30 nowhere.318. **Repair**, then append the run to `log.md`.3233## Output format3435```36…
Excerpt shown under the repository's MIT license.
More skills in second-brain-os
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
