Builds and maintains an LLM-powered personal knowledge base in Obsidian. Ingests papers, articles, and notes; compiles wiki entries; detects contradictions; generates digests.
Ships in karpathy-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.md
You 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 FIX
Search 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 gaps
Karpathy 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 compilation
Monday: 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.
What SKILL.md sets; muted values are Claude Code's defaults
/karpathy-skills:karpathy-llm-wikifrom karpathy-skills
npx claudepluginhub learnprompt/andrej-karpathy-skills --plugin karpathy-skills15 skills in this plugin
/karpathy-agentic-engineeringApply Karpathy-style agentic engineering to any coding or building task. Use this skill when the user wants to set up an agent-driven workflow, needs to write a CLAUDE.md or AGENTS.md, wants to orchestrate agents with clear success criteria, or says things like "agent loop", "let the agent handle it", "agentic coding", "set up agent workflow". Includes the 7-step inner loop from Karpathy claude coding notes./karpathy-autoresearchSet up an autonomous research loop where an agent iterates on experiments, hypotheses, and code on git branches. Use this skill when the user wants to automate ML experiments, set up a research agent that self-improves, needs to run many variations of an experiment without manual intervention, or says "automate experiments", "agent research loop", "self-improving agent", "run hyperparameter search", "autoresearch". Based on Karpathy 28k-like AutoResearch post./karpathy-education-firstApply the education-first mindset — make everything you build teachable, create nano-project explanations, write for beginners. Use this skill when the user wants to explain a project to beginners, create a tutorial from code, write documentation that teaches (not just documents), make a concept accessible, or says "make this teachable", "explain like im a beginner", "nano project version", "teaching version", "explain from scratch", "blog post about this". Based on Karpathy 243-line GPT and Eureka Labs posts.Other plugins' skills for the same job