{"id":50663052,"url":"https://github.com/Astro-Han/karpathy-llm-wiki","last_synced_at":"2026-06-25T01:00:32.726Z","repository":{"id":350865869,"uuid":"1201775166","full_name":"Astro-Han/karpathy-llm-wiki","owner":"Astro-Han","description":"Agent Skills-compatible LLM wiki for Claude Code, Cursor, and Codex. Build a Karpathy-style knowledge base from raw sources, citations, and linting.","archived":false,"fork":false,"pushed_at":"2026-04-13T01:39:31.000Z","size":305,"stargazers_count":563,"open_issues_count":1,"forks_count":70,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-04-21T18:16:48.433Z","etag":null,"topics":["agent-skill","claude-code","codex","cursor","karpathy","knowledge-base","knowledge-management","llm","llm-wiki","markdown","personal-knowledge-base","productivity","rag-alternative"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Astro-Han.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-05T06:17:20.000Z","updated_at":"2026-04-21T18:04:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Astro-Han/karpathy-llm-wiki","commit_stats":null,"previous_names":["astro-han/karpathy-llm-wiki"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Astro-Han/karpathy-llm-wiki","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astro-Han%2Fkarpathy-llm-wiki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astro-Han%2Fkarpathy-llm-wiki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astro-Han%2Fkarpathy-llm-wiki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astro-Han%2Fkarpathy-llm-wiki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Astro-Han","download_url":"https://codeload.github.com/Astro-Han/karpathy-llm-wiki/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astro-Han%2Fkarpathy-llm-wiki/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34755063,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-skill","claude-code","codex","cursor","karpathy","knowledge-base","knowledge-management","llm","llm-wiki","markdown","personal-knowledge-base","productivity","rag-alternative"],"created_at":"2026-06-08T04:00:19.514Z","updated_at":"2026-06-25T01:00:32.717Z","avatar_url":"https://github.com/Astro-Han.png","language":null,"funding_links":[],"categories":["📘 Learning \u0026 Knowledge"],"sub_categories":[],"readme":"# karpathy-llm-wiki\n\n**A reusable skill for building Karpathy-style LLM wikis with Claude Code, Cursor, Codex, and other Agent Skills tools.**\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n[![GitHub stars](https://img.shields.io/github/stars/Astro-Han/karpathy-llm-wiki?style=social)](https://github.com/Astro-Han/karpathy-llm-wiki)\n[![GitHub forks](https://img.shields.io/github/forks/Astro-Han/karpathy-llm-wiki?style=social)](https://github.com/Astro-Han/karpathy-llm-wiki)\n[![Agent Skills](https://img.shields.io/badge/Agent_Skills-compatible-blue)](https://agentskills.io)\n[![Install](https://img.shields.io/badge/Install-npx_add--skill-green)](https://github.com/Astro-Han/karpathy-llm-wiki#install)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/karpathy-tweet.png\" alt=\"Karpathy's tweet about LLM Wiki\" width=\"560\"\u003e\n\u003c/p\u003e\n\n`karpathy-llm-wiki` packages [Karpathy's LLM Wiki idea](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f) into one installable [Agent Skills](https://agentskills.io) skill. Your coding agent ingests sources into `raw/`, compiles durable knowledge pages into `wiki/`, answers questions with citations, and lints the wiki for consistency.\n\n## What Is an LLM Wiki?\n\nAn **LLM wiki** is a knowledge system where the LLM maintains structured wiki pages instead of re-searching raw documents on every question. New sources are compiled into durable markdown pages, cross-references are updated over time, and answers cite the wiki pages that already contain the synthesized knowledge.\n\nThis skill gives you three operations:\n\n| Operation | What it does | Output |\n|-----------|--------------|--------|\n| **Ingest** | Collects a source into `raw/` and compiles it into the wiki | New or updated wiki pages |\n| **Query** | Searches the wiki and answers with citations | Grounded answers linking to markdown pages |\n| **Lint** | Checks index integrity, links, and wiki health | Auto-fixes plus reported issues |\n\nSee [SKILL.md](SKILL.md) for the full skill specification.\n\n## LLM Wiki vs RAG\n\n| Approach | Knowledge lives in | When synthesis happens | Good for |\n|----------|--------------------|------------------------|----------|\n| **RAG** | Raw chunks and embeddings | At query time | Broad retrieval across large corpora |\n| **LLM Wiki** | Curated markdown pages | During ingest and maintenance | Compounding knowledge, summaries, and durable cross-links |\n\nThis skill is optimized for the wiki model: knowledge that improves over time instead of re-deriving relationships on every query.\n\n## Usage Stats\n\nBased on a production knowledge base maintained daily since April 2026:\n\n- **94** wiki articles across **13** topic directories\n- **99** source materials ingested\n- **87** operation log entries in the last 7 days\n\nSee [examples/](examples/) for sample wiki pages, source files, and operation logs.\n\n## Install\n\n```bash\nnpx add-skill Astro-Han/karpathy-llm-wiki\n```\n\nWorks with any tool that supports the [Agent Skills](https://agentskills.io) standard.\n\n## Quick Start\n\n### 1. Ingest your first source\n\nGive the skill a URL, a file, or pasted text:\n\n\u003e \"Ingest this article: https://example.com/attention-is-all-you-need\"\n\nThe skill stores the source in `raw/`, then compiles or updates the right knowledge pages in `wiki/`.\n\n### 2. Ask your wiki a question\n\n\u003e \"What do I know about attention mechanisms?\"\n\nThe skill searches the wiki and answers with citations linking back to your markdown pages.\n\n### 3. Keep the wiki healthy\n\n\u003e \"Lint my wiki\"\n\nChecks for broken links, missing index entries, stale cross-references, and related issues.\n\n## How the Workflow Works\n\nThe core idea from Karpathy: the LLM maintains the wiki while the human focuses on choosing sources and asking good questions.\n\n```text\nyour-project/\n├── raw/            ← Immutable source material\n│   └── topic/\n│       └── 2026-04-03-source-article.md\n├── wiki/           ← Compiled knowledge pages maintained by the LLM\n│   ├── topic/\n│   │   └── concept-name.md\n│   ├── index.md    ← Global table of contents\n│   └── log.md      ← Append-only operation log\n```\n\nEach new source can update multiple pages, strengthen cross-references, and record contradictions. That is what makes the wiki compound over time.\n\n## Tool Compatibility\n\nThis skill follows the [agentskills.io](https://agentskills.io) open standard:\n\n| Tool | Install method |\n|------|----------------|\n| Claude Code | `npx add-skill Astro-Han/karpathy-llm-wiki` |\n| Cursor | `npx add-skill Astro-Han/karpathy-llm-wiki` |\n| Codex CLI | Copy to `.agents/skills/karpathy-llm-wiki/` |\n| OpenCode | `npx add-skill Astro-Han/karpathy-llm-wiki` |\n| Other tools | Copy `SKILL.md` and `references/` into the tool's skill directory |\n\n## FAQ\n\n### What is the difference between an LLM wiki and a personal wiki?\n\nAn LLM wiki is maintained by the model. It updates summaries, cross-links, index entries, and contradictions as new material arrives. A normal personal wiki depends on manual editing.\n\n### What sources can I ingest?\n\nWeb pages, papers, blog posts, PDFs, markdown files, text files, and pasted text. The skill converts everything into markdown under `raw/` and compiles it into `wiki/`.\n\n### Is this production-ready?\n\nThe workflow is based on a real knowledge base with 94 articles and 99 sources maintained daily since April 2026. The repo includes examples, templates, and a design spec.\n\n## Inspired By\n\nUnofficial community implementation of the workflow from [Karpathy's LLM Wiki idea](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f). The value here is the reusable workflow, prompt structure, and battle-tested knowledge-compilation rules.\n\nSee also: [lucasastorian/llmwiki](https://github.com/lucasastorian/llmwiki), [atomicmemory/llm-wiki-compiler](https://github.com/atomicmemory/llm-wiki-compiler).\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAstro-Han%2Fkarpathy-llm-wiki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAstro-Han%2Fkarpathy-llm-wiki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAstro-Han%2Fkarpathy-llm-wiki/lists"}