From makerskills
Captures, compiles, queries, lints, connects, and searches a personal Second Brain markdown vault using the Karpathy LLM Wiki schema (raw/ → wiki/ → outputs/).
How this skill is triggered — by the user, by Claude, or both
Slash command
/makerskills:second-brainThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Wraps an existing Second Brain in Obsidian (or any markdown-based vault). The wiki vault's CLAUDE.md is the authoritative schema — the skill orchestrates the operations the user has been doing manually.
Wraps an existing Second Brain in Obsidian (or any markdown-based vault). The wiki vault's CLAUDE.md is the authoritative schema — the skill orchestrates the operations the user has been doing manually.
Three layers, each with a clear role:
raw/ → wiki/ → outputs/
sources compiled generated
artifacts
article-, idea-, highlights-, braindump-, note-, resource-, tweet-). Never deleted — source of truth.[[wikilinks]]. INDEX.md at root.Folders to leave alone during wiki ops: Projects/, Daily/, Templates/, Inbox/, Notes/, Tasks.md, Kanban.md, Home.md.
references/vault-config.md for the vault path (default: ${SECOND_BRAIN_VAULT:-$HOME/Documents/SecondBrain}/)<vault>/CLAUDE.md for the authoritative schema. If present, trust it over references/schema.md — the user's vault is the source of truth.<vault>/CLAUDE.md, fall back to references/schema.md.| Invocation | Mode |
|---|---|
/sb capture / /second-brain capture / "capture this" / "save this to my brain" | capture |
/sb compile / "compile the wiki" / "process raw notes" | compile |
/sb query <question> / "ask my brain X" / "what does my brain say about Y" | query |
/sb lint / "lint the wiki" / "health check my brain" | lint |
/sb connect / "find connections" / "suggest wikilinks" | connect |
/sb search <term> / "search my notes for X" | search |
Inputs: URL, pasted text, file path, or screenshot.
article-highlights-braindump- or idea-tweet-resource-note-<type>-<kebab-case-topic>.md (e.g., article-andrew-wilkinson-tiny-manual.md). Use the source title or topic — not the URL slug.source: <URL if applicable>
captured: YYYY-MM-DD
<vault>/raw/.Don't compile into the wiki here — capture is fast intake. Compilation is a separate, deliberate pass.
The expensive but valuable operation. Process unprocessed raw files into wiki pages.
wiki/*.md for Sources sections; the raw files NOT listed are unprocessed.wiki/INDEX.md.[[wikilinks]] for every related concept## Sources section with a one-line note on what was drawn from itwiki/INDEX.md:
- [[Page Name]] — brief descriptionOutput: list of pages created/updated, what merged where, anything held for clarification.
Answer a question using ONLY the wiki/raw corpus. Different from deep-research (which goes external).
wiki/INDEX.md to identify potentially relevant pages[[wikilinks]] 1–2 hops/deep-research to expandoutputs/<YYYY-MM-DD>-<question-slug>.md with:
--render pdf or --render html was passed, pipe the output through pandoc using the shared stylesheet. See references/schema.md → "Publishing alternatives" for the commands.Health check the wiki.
Check:
[[wikilinks]] to other pages[[wikilink]] between them (suggest /sb connect)Output: prioritized list. Most important first (broken structure beats stale content).
Find pages that should be linked but aren't.
## Connections sectionsQuick grep across wiki/ + raw/ for a term. Return matching files with a 2-line excerpt around the match. Faster than query when the user knows what page they're looking for.
deep-research — when query finds gaps in the wiki, route to deep-research to expand from external sources. Deep-research output can be captured back into raw/ for future compilation.paste — capture content cleanly into raw/ (especially for terminal/CLI captures).business-brainstorm — checks Portfolio of Businesses and Entrepreneurship & Startups wiki pages for relevant context before brainstorming.decide — pull from Personal Philosophy / Productivity & Systems wiki for principles when scoring Q34 ("what principles are we bending"). New: a Decision Log wiki page accumulates the narrative form of decisions over time (the decide archive is the structured form; the wiki page is the story).jab-hook — a Content Ideas wiki page hoppers hooks, frameworks, and stories. /jab-hook drafts pull candidates from there.slide-deck — content drafted in outputs/ becomes deck source; speaker notes can reference relevant wiki pages.pm — Projects/ folder in the vault is off-limits to second-brain; pm owns it. But a Workflow Docs wiki page captures operational patterns that show up across multiple projects.Two other systems following the same raw → wiki → outputs pattern. Both are worth watching as upgrade paths.
llm-wiki skill — off-the-shelf implementation of the 3-folder pattern. Pre-built workflows for compile / query / lint. Useful for comparing schema decisions.person- raw type + People wiki page) and scheduled maintenance (wire compile and lint to fire on a recurring schedule via the loop or compound-engineering:schedule skill).Projects/, Daily/, Templates/, Notes/, Tasks.md, Kanban.md, Home.md, or Inbox/ during second-brain operations. Those belong to other workflows.npx claudepluginhub coreyhaines31/makerskills --plugin makerskillsBuilds and maintains a self-organizing Obsidian wiki vault with AI ingestion, querying, linting, and autonomous research. Knowledge compounds with every ingest. Supports multi-agent and session memory.
Builds and maintains a personal knowledge wiki from imported sources, compiling notes into interlinked markdown pages.