← Catalog

@micuintus/llm-wiki

As minimal as Pi. Karpathy's LLM Wiki pattern as a minimal, agent-agnostic skill.

Package

Install

Install with PiG

pig install npm:@micuintus/llm-wiki

Install with Pi

pi install npm:@micuintus/llm-wiki
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "skills": [
    "./llm-wiki"
  ]
}

README

Written by the package's publisher, shown as published in version 1.4.12 (README.md). PiG does not review it.

@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