Karpathy Wiki Protocol — AI skill for Claude Code
Battle-tested protocol for AI agents (Claude Code, Codex, Cursor) to build and maintain Karpathy-style wikis.
How to install Karpathy Wiki Protocol
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Alirezajalilii/karpathy-wiki-protocol and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Karpathy Wiki Protocol does
Battle-tested protocol for AI agents (Claude Code, Codex, Cursor) to build and maintain Karpathy-style wikis. Drop-in skill/prompt for CLAUDE.md. 22 domains, 139 pages, 425 audited gaps.
Alternatives in AI
- Llmwiki — Open Source Implementation of Karpathy's LLM Wiki 1.5k ★
- Pro Workflow — 1,400+ Battle-tested Claude Code workflows from power users 1.4k ★
- LLM Wiki Skill — 基于 Karpathy llm-wiki 方法论的个人知识库构建 Skill,支持多平台 1.1k ★
README
Karpathy Wiki Protocol — Claude Code / Codex / Cursor Skill for LLM-Maintained Knowledge Bases
**The only Karpathy wiki implementation born from a production codebase (139 pages, 594 wikilinks, 425 audited gaps), not a weekend experiment.**
**Skill for:** Claude Code | Codex | Cursor | Any AI Agent with filesystem access
**Category:** AI Agents | LLM Prompt Engineering | Knowledge Management | Wiki Maintenance
Most Karpathy wiki implementations are demos. They ingest 5 articles, generate pretty pages, and stop.
This repo is different. It's the **operational ruleset** — extracted from a real project where AI agents maintain a 139-page wiki across 22 domains, with a verification gate that catches every missed update. Every rule exists because an agent violated it in production and we had to write the rule to stop it from happening again.
What This Is
A complete, copy-paste-ready **AI agent skill** for making LLM agents (Claude Code, Codex, Cursor, any agent with filesystem access) build and maintain a **Karpathy-style wiki**. It's not a tool. It's not a CLI. It's a **set of battle-tested rules** you drop into your `CLAUDE.md`, `AGENTS.md`, or `.claude/` directory and your agent immediately knows how to maintain your knowledge base.
What This Is NOT
- ❌ Not a RAG pipeline
- ❌ Not an Obsidian plugin
- ❌ Not a CLI tool
- ❌ Not a SaaS product
It's a **prompt/skill**. A very battle-tested one.
The Problem It Solves
Every new AI agent session on your codebase starts from zero. It re-reads your docs, re-derives relationships, re-discovers gaps. **Thousands of tokens burned on initialization, every single time.** Knowledge doesn't accumulate.
The Karpathy wiki pattern fixes this: a **compiled knowledge layer** (markdown files in `wiki/`) that agents read FIRST instead of your raw docs. But the pattern only works if the wiki stays maintained. **That's where every implementation fails** — the wiki rots because nobody defined the m
Related Skills
Kc LLM Wiki Starter
Production-ready starter template for LLM-maintained wikis. Karpathy's 2026-04 three-tier pattern (raw/wiki/sc
LLM Wiki Starter
Template and toolkit for LLM wikis (Karpathy's pattern): a kickoff interview that bakes in your topic, a zero-
Databricks Genie Ontology
A working Databricks Genie Ontology setup (metric views, domains, pages, certification) on a retail star schem
Andrej Karpathy LLM Wiki
A minimal CLAUDE.md template that turns any LLM CLI into a personal knowledge base. Drop in one file, start in
Research LLM Wiki
Agent skills that turn your scientific reading and research history into persistent LLM-maintained markdown wi
Jarvis Starter
Persistent project assistant for Claude Code. Bootstrap new projects or adopt existing ones via gap analysis.
Related Agents
Campaign Operator
Deploys campaigns to Meta Ads (via the meta ads CLI), Google Ads (a real hybrid REST :mutate write flow + goog
Wiki Linter
Dispatched by wiki-lint for large wikis (>50 pages) or heavy cleanup. Runs lint, categorizes findings, applies
Second Brain Curator
Maintains the user's Obsidian "second brain" vault (Karpathy LLM-Wiki pattern) and its ingest pipeline — runs/