Karpathy LLM Wiki skill

karpathy-llm-wiki

A skill for a personal knowledge base the model maintains: ingest sources, compile cited articles, lint integrity

  • 2,624 ★ on the repository
  • Last commit
  • MIT
Skill

Extended access

Why this level

  • The skill reads and writes files in the raw and wiki folders and fetches sources from the web
All reasons and checks

astro-han/karpathy-llm-wiki

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add skills/karpathy-llm-wiki

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • The skill reads and writes files in the raw and wiki folders and fetches sources from the web

This is third-party code. Review the repository files before installing.

What it does

The skill turns an agent into the editor of a personal wiki following Karpathy's idea: the model maintains the knowledge base while the human chooses sources and asks questions. It works with two folders: raw for immutable sources and wiki for compiled articles with an index and an operation log. There are three operations: ingest collects a source and compiles or updates articles, query answers with citations to wiki pages, and lint checks links, the index and whether facts match the sources. A grounding invariant requires every load-bearing fact in the wiki to appear verbatim in the linked source, and a script verifies this across the whole base.

Who it is for. For researchers, analysts and technical specialists who accumulate knowledge on topics.

Good fit when

  • You want a knowledge base the model maintains
  • You need answers cited to your own articles rather than raw sources
  • You accumulate research articles over time

Not a fit when

  • You need a one-off lookup without maintaining a base
  • Plain RAG over a large corpus without manual curation fits better

Example request

Ingest this article into the wiki and update the related pages

Limitations

The skill deliberately skips vector or graph search, numeric confidence scores and scheduled runs, relying on grep, reading and whole-wiki lint. Ingest needs web or file access via your tools, otherwise a source is pasted manually.

How to disable. Remove the karpathy-llm-wiki folder from your agent's skills directory.

FAQ

How does this differ from RAG?

Knowledge lives in curated markdown pages, and synthesis happens during ingest and maintenance rather than per query.

What sources can I ingest?

Web pages, papers, PDFs, markdown and text, all converted to markdown in raw and compiled into wiki.

Discussion

No questions or reviews yet.

Skills

A skill set that lets an agent run a personal Obsidian wiki: it compiles knowledge from documents and past sessions and answers with citations

SkillExtended access3.6KRepository stars

Turns session history of Claude Code, Codex, Cursor and Gemini CLI into a searchable wiki on Karpathy's LLM Wiki pattern, locally

PluginBroad access400Repository stars

LLM Wiki

llm-wiki

Knowledge bases that AI compiles: topics, import, llm-wiki lint checks, the /wiki:ingest and /wiki:archive commands. A plugin for Claude Code and Codex

WorkflowExtended access1.5KRepository stars

A workflow for Claude Code, Codex and Gemini CLI where the agent files source documents into a persistent, linked wiki

WorkflowMinimal access3.7KRepository stars

Four skills for a personal Obsidian knowledge base: an agent compiles articles and notes into a linked wiki, answers from it and health-checks it

SkillExtended access764Repository stars

LLM Wiki Compiler

llm-wiki-compiler

A knowledge compiler: turns raw sources into an interlinked wiki with answer verification and approval, with an MCP mode

CLIExtended access2.2KRepository stars

Comparison with similar tools

Entries that share the main search query, and how they differ.

EntryOfficialRepository starsMain difference
Karpathy LLM Wiki (this entry)no2,624
Second Brain OSno1,160an Obsidian vault template with 18 skills
SwarmVaultyes731a CLI and MCP server that builds a local wiki with a knowledge graph
llmwikino400turns session history of Claude Code

README in short

The README packages Karpathy's LLM wiki idea into one installable skill. The agent gathers sources into raw, compiles durable knowledge pages into wiki, answers with citations and lints the base for integrity. It compares the approach to RAG and lays out design boundaries: vector search, numeric confidence scores and scheduled runs are deliberately left out. Installation is via npx add-skill, compatible with any Agent Skills tool. MIT licensed.

README badge

Original SKILL.md

---
name: karpathy-llm-wiki
description: "Use when building or maintaining a personal LLM-powered knowledge base. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki quality, 'add to wiki', 'what do I know about', or any mention of 'LLM wiki' or 'Karpathy wiki'."
---

# Karpathy LLM Wiki

Build and maintain a personal knowledge base using LLMs. You manage two directories: `raw/` (immutable source material) and `wiki/` (compiled knowledge articles). Sources go into raw/, you compile them into wiki articles, and the wiki compounds over time.

Report a problem

Foxx AIKarpathy LLM Wiki
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.