Generated banner for @micuintus/llm-wiki
Generated logo for @micuintus/llm-wiki

@micuintus/llm-wiki

LLM wiki kit

First committed by micuintus

Published in micuintus/llm-wiki. Publisher page

32 GitHub stars

What it is

As minimal as Pi. Karpathy's LLM Wiki pattern as a minimal, agent-agnostic skill.
— the description by micuintus

AutoGineer overview, from the brain’s own files

llm-wiki is a lightweight, dependency-free skill designed to implement the Karpathy LLM Wiki pattern. It functions as a persistent memory layer where an AI agent curates, summarizes, and cross-links information from raw sources into a structured knowledge base. By relying on conventions defined within the skill text rather than complex code or external infrastructure, it ensures that data remains portable and readable by any agent. The system consists of a single core skill file and a set of lazy-loaded reference files, keeping the footprint minimal while allowing for complex knowledge compounding.

How it works

Memory model: LLM wiki

AutoGineer overview, from the brain’s own files

The system operates by placing a single SKILL.md file into an agent's skill directory. This file contains the instructions and conventions the agent follows to process information. It uses a references folder containing lazy-loaded recipes for specific tasks, such as handling session transcripts or code repositories. The agent reads these instructions to summarize, link, and maintain the wiki, which is stored as plain markdown files on the user's disk.

Folders
FolderRoleFiles
llm-wikifolder8

Requirements

Runtimes: Node.js

Databases: SQLite

Set it up

  1. Download the brain as a ZIP and unzip it where you keep your notes or project: https://mp-staging.autogineer.com/agent-brains/micuintus/llm-wiki/download
  2. cd llm-wiki && claude

  3. AutoGineer scanned these files at commit e03cd38.

  4. First committed by micuintus. Published in micuintus/llm-wiki. Licence: MIT License.

Usage

AutoGineer overview, from the brain’s own files

  • Curating research papers into a searchable, interlinked knowledge base.
  • Documenting project architecture, decisions, and open questions.
  • Mapping complex ecosystems or taxonomies through agent-assisted ingestion.
  • Synthesizing book chapters into concept pages and theme threads.
“Summarize the last five research papers I uploaded and link them to the existing 'Quantum Computing' concept page.”
The agent updates the 'Quantum Computing' markdown file with new summaries and creates cross-references to the specific paper files.
“Review my project documentation and identify any contradictions between the architecture decisions and the current bug list.”
The agent scans the wiki files and flags conflicting information, suggesting updates to maintain consistency.

Documentation by micuintus

@micuintus/llm-wiki

As minimal as Pi.

Karpathy's LLM Wiki pattern as a skill. One file. ~6 KB. No dependencies, no CLI, no web server, no Obsidian plugin.

The user curates sources. The LLM does the bookkeeping — summarizing, cross-linking, flagging contradictions. Knowledge compounds instead of being re-derived from raw chunks on every query.

Install

Pi (npm):

pi install npm:@micuintus/llm-wiki

Pi (GitHub):

pi install git:github.com/micuintus/llm-wiki

Everyone else:

# Copy the skill directory (SKILL.md + its lazy-loaded recipes). Start ingesting.
curl -L https://github.com/micuintus/llm-wiki/archive/refs/heads/main.tar.gz \
  | tar -xz --strip-components=1 -C ~/your-agent/skills/ llm-wiki-main/llm-wiki

That lands ~/your-agent/skills/llm-wiki/SKILL.md with its references/ alongside, so the lazy-loaded recipes resolve. (SKILL.md is the only always-loaded file — the rest is read on demand.)

What you get

One file: SKILL.md. Everything else is lazy-loaded — referenced by path in the skill text, never loaded until you actually need it.

Agent session recipes (lazy-loaded):

  • Pi sessions — JSONL trees with fork detection

  • Claude Code / opencode / Gemini CLI — transcripts, SQLite, JSON

Code-source recipe (lazy-loaded) — grep+cite-by-line conventions for when the source is a repository rather than prose.

Web chat ingestion — Claude.ai, ChatGPT, Gemini via CDP. A separate package: ingest-web-chat (pi install npm:@micuintus/ingest-web-chat).

The lazy-loaded subskills sleep forever until you wake them. (Don't forget to kiss these sleeping beauties.)

Use cases

  • Reading a book — chapter summaries, character/concept pages, theme threads, all interlinked.

  • Researching a topic across many papers — concept pages cite multiple sources; contradictions surface instead of getting lost.

  • Mapping an ecosystem (e.g., the Pi extension landscape) — taxonomies, comparisons, primitive mappings.

  • Documenting your own project — decisions, architecture, bugs, open questions, all linked through one schema.

Why this exists

Most wiki implementations ship a CLI, a web server, a static site generator, and 2,000 tests. That's fine if you want infrastructure. This is for people who want a pattern — a convention the agent already understands — and nothing else.

Conventions live in the skill text, not in code. The wiki itself is plain markdown on disk — if you ever switch agents or skills, your data travels with you unchanged.

The Karpathy gist has spawned a diverse ecosystem. Every implementation below shares the same three-layer foundation (raw sources → compiled wiki → schema); they differ in shape (how the agent consumes the pattern) and weight (how much tooling ships alongside the skill).

What makes @micuintus/llm-wiki different: it is a pure skill — a single SKILL.md (~6 KB) plus lazy-loaded reference files that any agent (Pi, Claude Code, Codex, Cursor) can read directly. No runtime dependencies, no generated code, no CLI to install, no web server to run, no Obsidian plugin to manage. Conventions are enforced by the skill text itself, not by code. If you want the lightest possible commitment to the pattern — copy one file, start ingesting — this is it. Other implementations add value in exchange for weight: IDE plugins, static-site generators, code-based guardrails, or self-driving agents. Pick the shape that matches your workflow.

RepoStarsContributorsLicenseLanguageShapeNotes
Astro-Han/karpathy-llm-wiki6511MITMarkdownSkillAgent Skills-compatible. Single-file SKILL.md, no session recipes. Closest to a vanilla skill.
toolboxmd/karpathy-wiki661—ShellSkillTwo Claude Code skills: setup + maintenance. Hooks-driven.
balukosuri/llm-wiki-karpathy1251——SkillArticle + implementation walkthrough.
lewislulu/llm-wiki-skill4472MITTypeScriptSkill + ecosystemSkill + Obsidian audit plugin + local web viewer + shared TypeScript audit library. For users who want IDE-like tooling.
lucasastorian/llmwiki808—Apache-2.0Python + TypeScriptCLI toolUpload documents, connect Claude via MCP, agent writes the wiki. MCP-native.
Pratiyush/llm-wiki2291MITPythonCLI toolllmwiki CLI: session ingestion, static site generation, 2,651 tests, 16 lint rules, MCP server, Playwright E2E, AI exports. Most feature-rich; heaviest.
Kausik-A/pi-llm-wiki91MITTypeScriptPi-nativePi package with bundled skill + Pi extension. Enforces guardrails via code rather than convention.
yologdev/karpathy-llm-wiki432—TypeScriptSelf-growing"Yoyo" AI agent grows the wiki from Karpathy's founding prompt. Commits are the agent's work. Includes web viewer.
hsuanguo/llm-wiki112MITPythonSelf-growingWiki that "evolves with you" + Python scaffolding.

Changelog

See CHANGELOG.md.

License

MIT

16 files

Advantages

Limitations

  • Lacks built-in IDE plugins or graphical interfaces for those preferring visual tooling. evidence: README.md
  • Relies on agent-driven convention adherence rather than hard-coded guardrails. evidence: README.md

Security

Risk level: No risk found

This brain runs

Agent instructions that run or fetch something (2)

  • llm-wiki/SKILL.md: git already records the diff.
  • llm-wiki/SKILL.md: For many independent sources, ingest can run in parallel: dispatch one subagent per source to compile concurrently.

Attribution and licence

First committed by
GitHub avatar of micuintusmicuintus
Declared authors
  • Michael Voigt (micu) (declared in package.json)
Publisher
micu (Community)
Source
micuintus/llm-wiki · commit e03cd38
Licence
MIT License (files served here)
  • ATTRIBUTION.md (written by AutoGineer)
Synced
Contributors
micuintus

AutoGineer is not affiliated with or endorsed by micuintus.

Download

The ZIP holds the files AutoGineer serves, with ATTRIBUTION.md and the licence. Download llm-wiki.zip