Llmwiki
atomicstrata/llm-wiki-compiler
Build and use a persistent, citation-traceable knowledge wiki from documents, research papers, notes, or project documentation.
Read protocol for the main agent. An agent skill from toolboxmd/karpathy-wiki.
$ npx skills add toolboxmd/karpathy-wiki --skill karpathy-wiki-read -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install toolboxmd/karpathy-wiki karpathy-wiki-read --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/toolboxmd/karpathy-wiki.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/karpathy-wiki-read .claude/skills/karpathy-wiki-read && 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 "karpathy-wiki-read" agent skill from https://github.com/toolboxmd/karpathy-wiki/tree/main/skills/karpathy-wiki-read into .claude/skills/karpathy-wiki-read/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-wiki-read", 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/toolboxmd/karpathy-wiki/tree/main/skills/karpathy-wiki-readType 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 toolboxmd/karpathy-wiki --skill karpathy-wiki-read -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install toolboxmd/karpathy-wiki karpathy-wiki-read --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/toolboxmd/karpathy-wiki.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/karpathy-wiki-read .agents/skills/karpathy-wiki-read && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "karpathy-wiki-read" agent skill from https://github.com/toolboxmd/karpathy-wiki/tree/main/skills/karpathy-wiki-read into .agents/skills/karpathy-wiki-read/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-wiki-read", 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 toolboxmd/karpathy-wiki --skill karpathy-wiki-read -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install toolboxmd/karpathy-wiki karpathy-wiki-read --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/toolboxmd/karpathy-wiki.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/karpathy-wiki-read .cursor/skills/karpathy-wiki-read && 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 "karpathy-wiki-read" agent skill from https://github.com/toolboxmd/karpathy-wiki/tree/main/skills/karpathy-wiki-read into .cursor/skills/karpathy-wiki-read/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-wiki-read", 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/toolboxmd/karpathy-wiki.git --path skills/karpathy-wiki-read--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 toolboxmd/karpathy-wiki --skill karpathy-wiki-read -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install toolboxmd/karpathy-wiki karpathy-wiki-read --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/toolboxmd/karpathy-wiki.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/karpathy-wiki-read .gemini/skills/karpathy-wiki-read && 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 "karpathy-wiki-read" agent skill from https://github.com/toolboxmd/karpathy-wiki/tree/main/skills/karpathy-wiki-read into .gemini/skills/karpathy-wiki-read/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-wiki-read", 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 toolboxmd/karpathy-wiki karpathy-wiki-readInstalls 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 toolboxmd/karpathy-wiki --skill karpathy-wiki-read -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/toolboxmd/karpathy-wiki.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/karpathy-wiki-read .github/skills/karpathy-wiki-read && 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 "karpathy-wiki-read" agent skill from https://github.com/toolboxmd/karpathy-wiki/tree/main/skills/karpathy-wiki-read into .github/skills/karpathy-wiki-read/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-wiki-read", 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 toolboxmd/karpathy-wiki --skill karpathy-wiki-read -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install toolboxmd/karpathy-wiki karpathy-wiki-read --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/toolboxmd/karpathy-wiki.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/karpathy-wiki-read .opencode/skills/karpathy-wiki-read && 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 "karpathy-wiki-read" agent skill from https://github.com/toolboxmd/karpathy-wiki/tree/main/skills/karpathy-wiki-read into .opencode/skills/karpathy-wiki-read/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-wiki-read", 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.
karpathy-wiki-readRead protocol for the main agent. An agent skill from toolboxmd/karpathy-wiki.
Karpathy Wiki Read is an agent skill from toolboxmd/karpathy-wiki. Read protocol for the main agent. Load on demand when answering ANY user question (per Iron Rule 4 in using-karpathy-wiki/SKILL.md). Defines the deterministic 6-step orientation ladder for finding wiki coverage of a question, when to inline-read vs spawn an Explore subagent vs fall through to web search, and the cite contract every wiki-grounded answer must satisfy.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Knowledge Management, covering LLM wikis and Web search. The repository describes itself as: Karpathy Wiki - Claude Code skills for building persistent, compounding knowledge bases. Based on Andrej Karpathy's LLM Wiki pattern. The licence is MIT.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 67967f4. 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.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From 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.
Karpathy Wiki Read loads about 1.9k tokens when it runs. Until then it costs about 97 tokens; SKILL.md has 1,135 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 toolboxmd/karpathy-wiki at commit 67967f4, republished under its MIT licence (© toolboxmd). 1,135 words, ~1,925 tokens.
.claude/skills/karpathy-wiki-read/SKILL.md (or your agent's skills folder).You loaded this skill because the user asked a question (per Iron Rule 4 in the loader: NO ANSWERING ANY USER QUESTION WITHOUT ORIENTING FIRST). Your job is to determine whether the wiki covers the answer, retrieve the coverage, and either cite-and-answer from the wiki or fall through to web search — without ever pre-classifying the question as "wiki-irrelevant."
Every step is deterministic. There is no agent judgement at branch points; each branch is gated on a counted or boolean condition.
If no wiki root resolves because workspace routing is unconfigured, do not
silently choose or initialize one. Skip the impossible schema/index reads and
continue directly at Step F. After answering, follow the required capture flow.
The capture skill is the sole owner of orphan preservation and the project,
main, or both question. Do not add a second setup prompt here.
Malformed or incomplete configured routing is an error, not this branch.
Read these files in order:
<wiki>/schema.md — taxonomy, conventions, thresholds.<wiki>/<category>/_index.md for the question's apparent topic. If the question crosses categories or you cannot tell which category applies, read <wiki>/index.md (the root MOC).If you have already oriented earlier in this session, skip to Step B — the schema and index content are already in your working memory. Orientation is once per session.
Extract the question's signal terms: meaningful nouns, proper-noun phrases, technical terms, version numbers, tool names. Skip stopwords ("the", "what", "how", "do", "is").
Walk the relevant _index.md (already in memory from Step A). For each term, count how many entries it substring-matches (case-insensitive) in the title, the one-liner, or the tag list on that line. A term that hits 6 or more entries is a common term (the Explore band). Other hitting terms are rare terms. Do not keep a denylist of tag names; frequency on this index is the only test.
Build the candidate set as follows:
A page matches a term when that term substring-hits its title, one-liner, or tag list.
Count the candidates. Branch on count:
The threshold is 5/6, not your judgement. Do not "feel" your way to a different branch.
Read all candidate pages in full. After reading, ask exactly:
Does the union of these pages contain every claim my answer would make?
Branch on the answer:
The wiki covered part of the answer; the rest needs fresh information. For each claim your answer would make that the wiki did NOT cover:
WebFetch or WebSearch).Compose the answer using BOTH the wiki citations (for what it covered) and the web citations (for what it didn't).
After answering, always write a capture noting the gap. The wiki should grow toward questions it failed to answer fully. The capture's title is the question; the body documents what the wiki had and what was missing. Use karpathy-wiki-capture/SKILL.md for the capture authoring procedure.
Spawn an Explore subagent with this prompt shape:
Question:
<the user's question, verbatim>Wiki path:
<wiki absolute path>Run the orient procedure (read schema.md and the relevant _index.md), identify candidate pages with the same rare/common census as Step B (title, one-liner, tag list; 6 or more hits is common; rare terms select; common terms AND-filter unless that would leave zero pages), read all candidates in full (no cap on page count; your context is isolated), and return a synthesis.
The synthesis must:
- Cite every page it draws from (path + one-line relevance note per page).
- Cover the question completely (no truncation for brevity if the answer is genuinely long).
- Be as terse as possible while preserving every wiki-specific claim, decision, and contradiction. Terseness is a property of the writing, not a target word count.
- If the wiki does not cover the question, say so explicitly and return an empty page-list. Do NOT attempt to fall through to web search yourself; the main agent handles that.
When the subagent returns:
The subagent dispatch maps to the patterns in your ~/.claude/CLAUDE.md Task Delegation rule: this is a context-isolation case where the main agent needs the synthesis, not the page contents.
Zero signal matches in _index.md, or Step A.0 found no configured wiki. The
wiki has no coverage for this question.
WebFetch or WebSearch).karpathy-wiki-capture/SKILL.md.A cold result is not a failure — it is the wiki telling you it has a gap, and you closing the gap.
Every wiki-grounded answer must include citations the user can verify. Format:
<wiki>/<category>/<page>.md followed by a brief relevance note OR a short quote (≤2 lines).[<title>](<url>).If your answer makes a claim with no citation, that claim came from training data — flag it explicitly: "(from training data; not in wiki)." This is the only case where uncited claims are allowed, and they must be flagged.
This skill covers the read-from-wiki protocol only. It does NOT cover:
karpathy-wiki-capture/SKILL.md).karpathy-wiki-ingest/SKILL.md and apply only to the spawned ingester.using-karpathy-wiki/SKILL.md).If you find yourself needing capture or ingest mechanics while running this protocol, load the appropriate sibling skill — do not improvise.
© toolboxmd, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/karpathy-wiki-read of toolboxmd/karpathy-wiki.
Open the folder on GitHubat commit 67967f4
Karpathy Wiki Read 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 |
|---|---|---|---|---|---|---|
| Karpathy Wiki Read this skilltoolboxmd/karpathy-wiki | 105 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Llmwikiatomicstrata/llm-wiki-compiler | 2.2k | — | ~814 | Automated safety check: Pass | MIT | |
| Karpathy LLM WikiAstro-Han/karpathy-llm-wiki | 2.4k | — | ~3.6k | Automated safety check: Pass | MIT | |
| LLM Wikilewislulu/llm-wiki-skill | 655 | — | ~3.7k | Automated safety check: Pass | None | |
| Wiki Builderrohitg00/pro-workflow | 2.9k | — | ~1k | Automated safety check: Pass | None | |
| Codex History IngestAr9av/obsidian-wiki | 3.5k | — | ~2.2k | Automated safety check: Notes | MIT |
atomicstrata/llm-wiki-compiler
Build and use a persistent, citation-traceable knowledge wiki from documents, research papers, notes, or project documentation.
Astro-Han/karpathy-llm-wiki
A skill your agent uses when building or maintaining a personal LLM-powered knowledge base.
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…
rohitg00/pro-workflow
Start, structure, and grow a persistent research wiki indexed in pro-workflow's SQLite knowledge base.
Ar9av/obsidian-wiki
Ingest Codex CLI conversation/session history into Obsidian as distilled knowledge.
nduckmink/arkon
Propose or directly apply edits to Arkon wiki pages, including proposing brand new pages.
toolboxmd/karpathy-wiki
Capture-authoring protocol for the main agent. An agent skill from toolboxmd/karpathy-wiki.
toolboxmd/karpathy-wiki
Detached doctor only. An agent skill from toolboxmd/karpathy-wiki.
toolboxmd/karpathy-wiki
Detached ingester only. An agent skill from toolboxmd/karpathy-wiki.
toolboxmd/karpathy-wiki
Auto-loaded by the SessionStart hook. An agent skill from toolboxmd/karpathy-wiki.
Categories
Read protocol for the main agent. An agent skill from toolboxmd/karpathy-wiki. Karpathy Wiki Read is an agent skill from toolboxmd/karpathy-wiki. Read protocol for the main agent.
Karpathy Wiki Read fits situations like: tasks that involve LLM wikis; tasks that involve Web search.
Run `npx skills add toolboxmd/karpathy-wiki --skill karpathy-wiki-read -a claude-code`. Or copy the skill folder (skills/karpathy-wiki-read in toolboxmd/karpathy-wiki) into .claude/skills/karpathy-wiki-read in your project. Claude Code loads it when a task matches its description.
Run `npx skills add toolboxmd/karpathy-wiki --skill karpathy-wiki-read -a codex`. Or copy the skill folder (skills/karpathy-wiki-read in toolboxmd/karpathy-wiki) into .agents/skills/karpathy-wiki-read 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 toolboxmd/karpathy-wiki --skill karpathy-wiki-read -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/karpathy-wiki-read, .gemini/skills/karpathy-wiki-read, .github/skills/karpathy-wiki-read and .opencode/skills/karpathy-wiki-read in your project.
SKILL.md names no scripts, command-line tools or credentials: Karpathy Wiki Read is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. 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.
Karpathy Wiki Read is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Karpathy Wiki Read: Llmwiki (atomicstrata/llm-wiki-compiler, 2.2k stars), Karpathy LLM Wiki (Astro-Han/karpathy-llm-wiki, 2.4k stars), LLM Wiki (lewislulu/llm-wiki-skill, 655 stars) and Wiki Builder (rohitg00/pro-workflow, 2.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
toolboxmd (a GitHub organization) maintains it in toolboxmd/karpathy-wiki, which has 105 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 7, 2026.
Source: toolboxmd/karpathy-wiki on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.