Karpathy Wiki
SherwinQ/karpathy-wiki
A skill your agent uses when building or maintaining a personal knowledge base with LLM assistance.
Build and maintain an LLM-powered personal knowledge base or wiki.
$ npx skills add LearnPrompt/andrej-karpathy-skills --skill karpathy-llm-wiki -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LearnPrompt/andrej-karpathy-skills karpathy-llm-wiki --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/LearnPrompt/andrej-karpathy-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/karpathy-llm-wiki .claude/skills/karpathy-llm-wiki && 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-llm-wiki" agent skill from https://github.com/LearnPrompt/andrej-karpathy-skills/tree/main/karpathy-llm-wiki into .claude/skills/karpathy-llm-wiki/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-llm-wiki", 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/LearnPrompt/andrej-karpathy-skills/tree/main/karpathy-llm-wikiType 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 LearnPrompt/andrej-karpathy-skills --skill karpathy-llm-wiki -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LearnPrompt/andrej-karpathy-skills karpathy-llm-wiki --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LearnPrompt/andrej-karpathy-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/karpathy-llm-wiki .agents/skills/karpathy-llm-wiki && 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-llm-wiki" agent skill from https://github.com/LearnPrompt/andrej-karpathy-skills/tree/main/karpathy-llm-wiki into .agents/skills/karpathy-llm-wiki/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-llm-wiki", 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 LearnPrompt/andrej-karpathy-skills --skill karpathy-llm-wiki -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LearnPrompt/andrej-karpathy-skills karpathy-llm-wiki --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LearnPrompt/andrej-karpathy-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/karpathy-llm-wiki .cursor/skills/karpathy-llm-wiki && 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-llm-wiki" agent skill from https://github.com/LearnPrompt/andrej-karpathy-skills/tree/main/karpathy-llm-wiki into .cursor/skills/karpathy-llm-wiki/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-llm-wiki", 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/LearnPrompt/andrej-karpathy-skills.git --path karpathy-llm-wiki--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 LearnPrompt/andrej-karpathy-skills --skill karpathy-llm-wiki -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LearnPrompt/andrej-karpathy-skills karpathy-llm-wiki --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LearnPrompt/andrej-karpathy-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/karpathy-llm-wiki .gemini/skills/karpathy-llm-wiki && 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-llm-wiki" agent skill from https://github.com/LearnPrompt/andrej-karpathy-skills/tree/main/karpathy-llm-wiki into .gemini/skills/karpathy-llm-wiki/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-llm-wiki", 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 LearnPrompt/andrej-karpathy-skills karpathy-llm-wikiInstalls 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 LearnPrompt/andrej-karpathy-skills --skill karpathy-llm-wiki -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LearnPrompt/andrej-karpathy-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/karpathy-llm-wiki .github/skills/karpathy-llm-wiki && 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-llm-wiki" agent skill from https://github.com/LearnPrompt/andrej-karpathy-skills/tree/main/karpathy-llm-wiki into .github/skills/karpathy-llm-wiki/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-llm-wiki", 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 LearnPrompt/andrej-karpathy-skills --skill karpathy-llm-wiki -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LearnPrompt/andrej-karpathy-skills karpathy-llm-wiki --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LearnPrompt/andrej-karpathy-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/karpathy-llm-wiki .opencode/skills/karpathy-llm-wiki && 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-llm-wiki" agent skill from https://github.com/LearnPrompt/andrej-karpathy-skills/tree/main/karpathy-llm-wiki into .opencode/skills/karpathy-llm-wiki/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "karpathy-llm-wiki", 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-llm-wikiBuild and maintain an LLM-powered personal knowledge base or wiki.
Karpathy LLM Wiki is an agent skill from LearnPrompt/andrej-karpathy-skills. Build and maintain an LLM-powered personal knowledge base or wiki. Use this skill when the user wants to organize research notes, build a second brain, set up an Obsidian vault with LLM compilation, ingest papers or articles automatically, or mentions "personal knowledge base", "LLM wiki", "second brain", "knowledge management", "ingest papers", "obsidian + LLM". Based on Karpathy Gist and 59k-like post.
Its SKILL.md is about 1.4k 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 Second brain. It works with Obsidian. The repository describes itself as: Karpathy-inspired Agent Skills collection. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 9e46dec. 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.
Links to these hosts (documentation or services it may open):
x.comgist.github.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.
Karpathy LLM Wiki loads about 1.4k tokens when it runs. Until then it costs about 106 tokens; SKILL.md has 189 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 LearnPrompt/andrej-karpathy-skills at commit 9e46dec, republished under its MIT licence (© LearnPrompt). 189 words, ~1,415 tokens.
.claude/skills/karpathy-llm-wiki/SKILL.md (or your agent's skills folder).Source: https://x.com/karpathy/status/2039805659525644595 | https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f "59k likes — LLM Knowledge Bases" — top-2 most-liked post
You explore. The LLM maintains.
You read the world, capture raw signals. The LLM compiles, cross-links, deduplicates, lint-checks, and surfaces contradictions. Your Obsidian vault is the output, not the input.
RAW INPUTS LLM LAYER OUTPUT
────────── ───────── ──────
Papers (PDF/arXiv) ──→ ingest.py ──→ entities/*.md
Articles (URL) ──→ compile_wiki.py ──→ index.md
Chat logs ──→ lint_wiki.py ──→ contradiction_log.md
Notes (voice/text) ──→ query_wiki.py ──→ slides/
update_entity.py ──→ weekly_digest.mdYou are a knowledge compiler. Given this raw source:
[PASTE RAW CONTENT]
Source URL/title: [SOURCE]
Date: [DATE]
Extract and output:
1. Key entities (people, concepts, tools, papers) — one per line with a 2-sentence description
2. Key claims with confidence level (high/medium/speculative)
3. Connections to existing topics: [LIST YOUR KNOWN TOPICS]
4. Contradictions with anything you know: [WHAT YOU ALREADY BELIEVE]
5. Suggested entity page updates (format: ENTITY_NAME | UPDATE_TEXT)You are maintaining a personal knowledge wiki. Update the entity page for [ENTITY_NAME].
Existing page content:
[CURRENT_PAGE_CONTENT]
New information to integrate:
[NEW_INFO]
Rules:
- Preserve all existing information; only add or correct
- Flag contradictions with: ⚠️ CONFLICT: [old claim] vs [new claim]
- Keep the page under 500 words
- End with: "Last updated: [DATE] | Sources: [LINKS]"Process this week's reading list:
[PASTE 5-10 ITEMS: title + URL + 1-sentence summary]
For each item:
1. Extract top 3 entities to update
2. List 2-3 key claims worth adding to wiki
3. Note any contradictions with existing knowledge
4. Suggest connections to other entities in my wiki
Output as structured markdown, one section per item.Review these wiki entries for consistency:
[PASTE 3-5 RELATED ENTITY PAGES]
Find and report:
1. Factual contradictions between pages
2. Duplicate information that should be merged
3. Outdated claims that should be flagged
4. Missing cross-links between related entities
Format: ISSUE | PAGE | LINE | SUGGESTED FIXSearch my personal knowledge wiki to answer this question:
Question: [QUESTION]
Wiki context:
[PASTE RELEVANT PAGES]
Answer with:
1. Direct answer (2-3 sentences)
2. Supporting evidence from wiki (with page citations)
3. Gaps: what I don't know yet
4. Suggested reading to fill gapsKarpathy noted LLM memory "trying too hard" — a question from 2 months ago poisons every future conversation. Prevent this:
wiki/
├── entities/
│ ├── people/
│ │ └── andrej-karpathy.md
│ ├── concepts/
│ │ ├── agentic-engineering.md
│ │ └── llm-simulator.md
│ └── tools/
│ └── claude.md
├── index.md ← master entity list, auto-updated
├── contradiction_log.md ← conflicts to resolve
├── weekly_digest/
│ └── 2026-W21.md
└── raw/ ← source dumps before compilationMonday: Dump week's reads into raw/
Tuesday: Run ingest prompt on each item
Wednesday: Run lint/contradiction check
Thursday: Update entity pages
Friday: Generate weekly_digest.md with LLM属于工作流:研究到发布(内容创作者/研究者)
| 位置 | 上游 | 下游 |
|---|---|---|
| 第2步 | karpathy-autoresearch(研究产出原始素材) | karpathy-output-evolution(将知识转化为可发布形式) |
完整链路:autoresearch → llm-wiki → output-evolution → education-first
也在月度体检工作流中用于持久化反思结论。
Maintain this as an LLM wiki. From the new sources provided, update existing Markdown pages, create only necessary new pages, preserve all citations and source links, flag any contradictions with existing knowledge, and output a structured change log showing: pages updated, new pages created, contradictions found, and open questions.© LearnPrompt, 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 karpathy-llm-wiki of LearnPrompt/andrej-karpathy-skills.
Open the folder on GitHubat commit 9e46dec
Karpathy LLM Wiki 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 LLM Wiki this skillLearnPrompt/andrej-karpathy-skills | 110 | — | ~1.4k | Automated safety check: Pass | MIT | |
| 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 | |
| LLM Wikiinfranodus/skills | 119 | — | ~8.6k | Automated safety check: Notes | None |
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.
infranodus/skills
Guide users through setting up a personal LLM-maintained wiki — a persistent, compounding knowledge base where the LLM incrementally builds and maintains interlinked markdown pages from raw sources.
AgriciDaniel/claude-obsidian
Detects and uses the official Obsidian command-line interface for read-only vault access, falling back to direct file reads, while all mutations stay on a separate transaction core.
LearnPrompt/andrej-karpathy-skills
Apply Andrej Karpathy AI methodology and principles from his 2023-2026 insights. Use this skill when the user wants to apply Karpathy-style thinking, needs…
LearnPrompt/andrej-karpathy-skills
Apply Karpathy-style agentic engineering to any coding or building task.
LearnPrompt/andrej-karpathy-skills
Sets up an autonomous research loop where an agent runs experiments on git branches, logs results and proposes the next iteration while you approve each hypothesis change.
LearnPrompt/andrej-karpathy-skills
Apply the education-first mindset — make everything you build teachable, create nano-project explanations, write for beginners.
LearnPrompt/andrej-karpathy-skills
Create and share ideas as abstract Gist-style specs instead of code — letting agents or others implement.
LearnPrompt/andrej-karpathy-skills
Use LLM as a simulator of expert debates and opposing viewpoints instead of getting a single sycophantic answer.
Works with
Categories
Build and maintain an LLM-powered personal knowledge base or wiki. Karpathy LLM Wiki is an agent skill from LearnPrompt/andrej-karpathy-skills. Build and maintain an LLM-powered personal knowledge base or wiki.
Karpathy LLM Wiki fits situations like: the user wants to organize research notes; build a second brain; set up an Obsidian vault with LLM compilation; articles automatically.
Run `npx skills add LearnPrompt/andrej-karpathy-skills --skill karpathy-llm-wiki -a claude-code`. Or copy the skill folder (karpathy-llm-wiki in LearnPrompt/andrej-karpathy-skills) into .claude/skills/karpathy-llm-wiki in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LearnPrompt/andrej-karpathy-skills --skill karpathy-llm-wiki -a codex`. Or copy the skill folder (karpathy-llm-wiki in LearnPrompt/andrej-karpathy-skills) into .agents/skills/karpathy-llm-wiki 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 LearnPrompt/andrej-karpathy-skills --skill karpathy-llm-wiki -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-llm-wiki, .gemini/skills/karpathy-llm-wiki, .github/skills/karpathy-llm-wiki and .opencode/skills/karpathy-llm-wiki in your project.
SKILL.md names no scripts, command-line tools or credentials: Karpathy LLM Wiki is instructions for the agent only.
SKILL.md names 2 domains. As links in the text: x.com and gist.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.
Karpathy LLM Wiki 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.4k tokens (SKILL.md is roughly 5.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 LLM Wiki: Karpathy Wiki (SherwinQ/karpathy-wiki, 114 stars), My LLM Wiki (MartinLwx/dotfiles, 140 stars), Obsidian Knowledge Builder (Michael-OvO/obsidian-knowledge-agent, 205 stars) and AI Second Brain (charlie947/ai-second-brain, 189 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
LearnPrompt (a GitHub user) maintains it in LearnPrompt/andrej-karpathy-skills, which has 110 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on July 10, 2026.
Source: LearnPrompt/andrej-karpathy-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.