LLM Wiki
lewislulu/llm-wiki-skill
Build and maintain a Karpathy-style LLM knowledge base — a self-compiling Obsidian markdown wiki where an Agent ingests raw sources, compiles cross-linked concept/entity/summary pages, answers…
When you want to capture into, compile, query, lint, or connect your personal Second Brain.
$ npx skills add coreyhaines31/makerskills --skill second-brain -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install coreyhaines31/makerskills second-brain --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/coreyhaines31/makerskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/second-brain .claude/skills/second-brain && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "second-brain" agent skill from https://github.com/coreyhaines31/makerskills/tree/main/skills/second-brain into .claude/skills/second-brain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "second-brain", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/coreyhaines31/makerskills/tree/main/skills/second-brainType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add coreyhaines31/makerskills --skill second-brain -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install coreyhaines31/makerskills second-brain --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/coreyhaines31/makerskills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/second-brain .agents/skills/second-brain && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "second-brain" agent skill from https://github.com/coreyhaines31/makerskills/tree/main/skills/second-brain into .agents/skills/second-brain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "second-brain", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add coreyhaines31/makerskills --skill second-brain -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install coreyhaines31/makerskills second-brain --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/coreyhaines31/makerskills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/second-brain .cursor/skills/second-brain && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "second-brain" agent skill from https://github.com/coreyhaines31/makerskills/tree/main/skills/second-brain into .cursor/skills/second-brain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "second-brain", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/coreyhaines31/makerskills.git --path skills/second-brain--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add coreyhaines31/makerskills --skill second-brain -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install coreyhaines31/makerskills second-brain --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/coreyhaines31/makerskills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/second-brain .gemini/skills/second-brain && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "second-brain" agent skill from https://github.com/coreyhaines31/makerskills/tree/main/skills/second-brain into .gemini/skills/second-brain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "second-brain", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install coreyhaines31/makerskills second-brainInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add coreyhaines31/makerskills --skill second-brain -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/coreyhaines31/makerskills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/second-brain .github/skills/second-brain && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "second-brain" agent skill from https://github.com/coreyhaines31/makerskills/tree/main/skills/second-brain into .github/skills/second-brain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "second-brain", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add coreyhaines31/makerskills --skill second-brain -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install coreyhaines31/makerskills second-brain --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/coreyhaines31/makerskills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/second-brain .opencode/skills/second-brain && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "second-brain" agent skill from https://github.com/coreyhaines31/makerskills/tree/main/skills/second-brain into .opencode/skills/second-brain/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "second-brain", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
second-brainWhen you want to capture into, compile, query, lint, or connect your personal Second Brain.
Second Brain is an agent skill from coreyhaines31/makerskills. When you want to capture into, compile, query, lint, or connect your personal Second Brain. Wraps the Karpathy LLM Wiki schema (Obsidian or any markdown vault) — raw/ (unprocessed sources), wiki/ (AI-compiled interlinked topic pages), outputs/ (generated artifacts). Tool-agnostic in design but defaults to a vault at ${SECONDBRAINVAULT:-$HOME/Documents/SecondBrain}/. Six modes — capture (drop something into raw/), compile (process unprocessed raw files into wiki pages, update INDEX.md), query (answer a question…
Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/schema.md`, `references/templates/raw.md` and `references/templates/wiki.md`).
It sits in Knowledge Management, covering Second brain, LLM wikis and Linting and formatting. It works with Obsidian. The repository describes itself as: AI agent skills for the personal operator's craft — decisions, research, second-brain, content rotation, scenario modeling, and meta-skills to author more. Works with Claude… The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit cc31579. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
executor.shhermes.teamgithub.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Second Brain loads about 3k tokens when it runs, and up to ~5.5k if it reads all its reference files. Until then it costs about 247 tokens; SKILL.md has 1,454 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from coreyhaines31/makerskills at commit cc31579, republished under its MIT licence (© coreyhaines31). 1,454 words, ~2,959 tokens.
.claude/skills/second-brain/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Wraps an existing Second Brain in Obsidian (or any markdown-based vault). The wiki vault's schema doc (CLAUDE.md or AGENTS.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
artifactsarticle-, 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 or <vault>/AGENTS.md, whichever exists (if both, read both) — for the authoritative schema. If present, trust it over references/schema.md — the user's vault is the source of truth.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.
When the vault is git-backed to a hosted remote (GitHub/GitLab), the remote becomes a capture API for agents that don't have filesystem access — cloud agents, scheduled jobs, other machines. Any agent that can reach the git host's API (directly, or through an MCP integration layer like Executor) can read the wiki and capture into raw/ by committing to the default branch.
The discipline that keeps writers from diverging:
git pull --rebase --autostash at the start of any vault work, push after committing. Never assume local is current — a remote agent may have committed since the last session.raw/ with descriptive commit messages. Append-mostly writes to distinct files make conflicts rare, and rebase absorbs interleaved writers cleanly.Verify the loop once end-to-end when setting it up: remote commit via API → local pull → file appears in the vault.
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.© coreyhaines31, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (references) in skills/second-brain of coreyhaines31/makerskills.
Open the folder on GitHubat commit cc31579
Second Brain next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Second Brain this skillcoreyhaines31/makerskills | 851 | — | ~3k | Automated safety check: Pass | MIT | |
| LLM Wikilewislulu/llm-wiki-skill | 655 | — | ~3.7k | Automated safety check: Pass | None | |
| Karpathy WikiSherwinQ/karpathy-wiki | 114 | — | ~967 | Automated safety check: Pass | MIT | |
| My LLM WikiMartinLwx/dotfiles | 140 | — | ~2.7k | Automated safety check: Pass | None | |
| Obsidian Knowledge BuilderMichael-OvO/obsidian-knowledge-agent | 205 | — | ~917 | Automated safety check: Pass | MIT | |
| AI Second Braincharlie947/ai-second-brain | 189 | — | ~3.5k | Automated safety check: Pass | MIT |
lewislulu/llm-wiki-skill
Build and maintain a Karpathy-style LLM knowledge base — a self-compiling Obsidian markdown wiki where an Agent ingests raw sources, compiles cross-linked concept/entity/summary pages, answers…
SherwinQ/karpathy-wiki
A skill your agent uses when building or maintaining a personal knowledge base with LLM assistance.
MartinLwx/dotfiles
Provides access to the user's personal wiki, including notes, research, project documentation, decisions, and archived knowledge.
Michael-OvO/obsidian-knowledge-agent
Turns PDFs, slides, syllabi, papers and transcripts into structured, teaching-quality Obsidian notes, matching how much structure is built to how much the material needs.
charlie947/ai-second-brain
Walks the user through Charlie Hills's AI Second Brain + Karpathy Wiki setup from the MarTech AI newsletter.
CharlesHoskinson/sevenlayer
Builds and maintains a persistent, interlinked Obsidian-compatible markdown knowledge wiki in a git repo via three operations — ingest a source into linked pages, answer a question from the…
coreyhaines31/makerskills
When you want to pressure-test a potential new business, product, or side project against the serial-founder filter.
coreyhaines31/makerskills
Your team's shared, AI-ready knowledge base — people, companies, meetings, SOPs, and decisions structured so an agent can answer on your team's behalf.
coreyhaines31/makerskills
Monthly CFO workflow for a company or agency — pull raw data from bank + payment processor + payroll + expense management, categorize and reconcile, compute end-of-month cash via transaction-sum…
coreyhaines31/makerskills
When you have a decision to make and want a structured workflow that picks the load-bearing questions, walks through them, reaches a call (or "wait"), and archives the rationale for future reference.
coreyhaines31/makerskills
When you paste raw human input — a call transcript (Grain, Zoom, Granola, Fathom), a text or email from a client/partner/friend, a voice-memo dump, or meeting notes — and want it converted into…
coreyhaines31/makerskills
When you want multiple expert perspectives on a founder/operator question — a simulated board of advisors (Jason Fried, Elon Musk, Jeff Bezos, Jensen Huang, Bob Iger, Paul Graham, Naval Ravikant…
Works with
Categories
When you want to capture into, compile, query, lint, or connect your personal Second Brain. Second Brain is an agent skill from coreyhaines31/makerskills. When you want to capture into, compile, query, lint, or connect your personal Second Brain.
Second Brain fits situations like: save this to my brain; compile the wiki; process raw notes; find connections.
Run `npx skills add coreyhaines31/makerskills --skill second-brain -a claude-code`. Or copy the skill folder (skills/second-brain in coreyhaines31/makerskills) into .claude/skills/second-brain in your project. Claude Code loads it when a task matches its description.
Run `npx skills add coreyhaines31/makerskills --skill second-brain -a codex`. Or copy the skill folder (skills/second-brain in coreyhaines31/makerskills) into .agents/skills/second-brain in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add coreyhaines31/makerskills --skill second-brain -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/second-brain, .gemini/skills/second-brain, .github/skills/second-brain and .opencode/skills/second-brain in your project.
Going by SKILL.md and its folder, Second Brain needs the command-line tools its instructions call (git).
SKILL.md names 3 domains. As links in the text: executor.sh, hermes.team and github.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Second Brain is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Second Brain: LLM Wiki (lewislulu/llm-wiki-skill, 655 stars), Karpathy Wiki (SherwinQ/karpathy-wiki, 114 stars), My LLM Wiki (MartinLwx/dotfiles, 140 stars) and Obsidian Knowledge Builder (Michael-OvO/obsidian-knowledge-agent, 205 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
coreyhaines31 (a GitHub user) maintains it in coreyhaines31/makerskills, which has 851 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 8, 2026.
Source: coreyhaines31/makerskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.