{"name":"karpathy-llm-wiki: Build a Karpathy-Style LLM Knowledge Base","description":"karpathy-llm-wiki is an Agent Skills-compatible tool that implements Karpathy's LLM Wiki idea, allowing users to build a durable knowledge base. It enables LLMs to maintain structured wiki pages by ingesting sources, compiling knowledge, and answering questions with citations. This project offers a robust alternative to traditional RAG for compounding knowledge over time.","github":"https://github.com/Astro-Han/karpathy-llm-wiki","url":"https://osrepos.com/repo/astro-han-karpathy-llm-wiki","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/astro-han-karpathy-llm-wiki","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/astro-han-karpathy-llm-wiki.md","json":"https://osrepos.com/repo/astro-han-karpathy-llm-wiki.json","topics":["llm-wiki","knowledge-base","agent-skill","karpathy","python","productivity","rag-alternative","ai"],"keywords":["llm-wiki","knowledge-base","agent-skill","karpathy","python","productivity","rag-alternative","ai"],"stars":null,"summary":"karpathy-llm-wiki is an Agent Skills-compatible tool that implements Karpathy's LLM Wiki idea, allowing users to build a durable knowledge base. It enables LLMs to maintain structured wiki pages by ingesting sources, compiling knowledge, and answering questions with citations. This project offers a robust alternative to traditional RAG for compounding knowledge over time.","content":"## Introduction\n\n**karpathy-llm-wiki** is an open-source project by Astro-Han that brings Andrej Karpathy's innovative LLM Wiki concept to life. This repository provides a reusable skill compatible with Agent Skills tools like Claude Code, Cursor, and Codex, enabling you to build and maintain a dynamic, LLM-driven knowledge base. It allows your coding agent to ingest raw sources, compile durable knowledge pages, answer questions with citations, and lint the wiki for consistency. This project effectively packages Karpathy's LLM Wiki idea into an installable skill for enhanced knowledge management.\n\n## Why Use It & Benefits\n\nThe `karpathy-llm-wiki` offers a compelling alternative to traditional Retrieval-Augmented Generation (RAG) systems, focusing on compounding knowledge over time. Instead of re-searching raw documents for every query, an LLM wiki maintains structured, curated markdown pages. Knowledge synthesis happens during ingest and maintenance, leading to durable cross-links and evolving summaries.\n\nKey operations include:\n\n*   **Ingest**: Collects source material into a `raw/` directory, triages it, and then creates or updates relevant wiki articles in `wiki/`.\n*   **Query**: Searches the compiled wiki pages to provide grounded answers, complete with citations linking back to your markdown knowledge.\n*   **Lint**: Performs health checks on the wiki, verifying index integrity, links, and overall consistency, with auto-fixes for common issues.\n\nThis approach ensures that your knowledge base improves and grows smarter with each new piece of information. The workflow is based on a production knowledge base, demonstrating its readiness with 94 wiki articles and 99 source materials maintained daily since April 2026.\n\n## Installation\n\nTo get started with `karpathy-llm-wiki`, you can easily install it using `npx`:\n\nbash\nnpx add-skill Astro-Han/karpathy-llm-wiki\n\n\nThis skill is designed to work seamlessly with any tool that supports the [Agent Skills open standard](https://agentskills.io){:target=\"_blank\"}.\n\n## Examples\n\nThe quick start guide outlines three core interactions with your LLM wiki:\n\n1.  **Ingest your first source**: Provide a URL, file, or pasted text to the skill.\n    \n    \"Ingest this article: https://example.com/attention-is-all-you-need\"\n    \n    The skill processes the source, stores it in `raw/`, and then compiles or updates the relevant knowledge pages in `wiki/`.\n\n2.  **Ask your wiki a question**: Query your knowledge base for information.\n    \n    \"What do I know about attention mechanisms?\"\n    \n    The skill searches your curated wiki and provides answers, citing the markdown pages where the knowledge resides.\n\n3.  **Keep the wiki healthy**: Regularly lint your wiki to ensure its integrity.\n    \n    \"Lint my wiki\"\n    \n    This command checks for broken links, missing index entries, stale cross-references, and other related issues, helping to maintain a robust knowledge base.\n\n## Links\n\n*   [karpathy-llm-wiki GitHub Repository](https://github.com/Astro-Han/karpathy-llm-wiki){:target=\"_blank\"}\n*   [Agent Skills Standard](https://agentskills.io){:target=\"_blank\"}\n*   [Karpathy's LLM Wiki Idea](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f){:target=\"_blank\"}","metrics":{"detailViews":1,"githubClicks":2},"dates":{"published":null,"modified":"2026-09-09T11:13:25.000Z"}}