Karpathy LLM Wiki
Astro-Han/karpathy-llm-wiki
A skill your agent uses when building or maintaining a personal LLM-powered knowledge base.
Build and maintain a structured LLM-generated wiki for any codebase.
$ npx skills add staruhub/ClaudeSkills --skill llm-wiki -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install staruhub/ClaudeSkills llm-wiki --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/staruhub/ClaudeSkills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/llm-wiki .claude/skills/llm-wiki && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "llm-wiki" agent skill from https://github.com/staruhub/ClaudeSkills/tree/main/llm-wiki into .claude/skills/llm-wiki/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llm-wiki", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/staruhub/ClaudeSkills/tree/main/llm-wikiType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add staruhub/ClaudeSkills --skill llm-wiki -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install staruhub/ClaudeSkills llm-wiki --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/staruhub/ClaudeSkills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/llm-wiki .agents/skills/llm-wiki && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "llm-wiki" agent skill from https://github.com/staruhub/ClaudeSkills/tree/main/llm-wiki into .agents/skills/llm-wiki/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llm-wiki", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add staruhub/ClaudeSkills --skill llm-wiki -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install staruhub/ClaudeSkills llm-wiki --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/staruhub/ClaudeSkills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/llm-wiki .cursor/skills/llm-wiki && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "llm-wiki" agent skill from https://github.com/staruhub/ClaudeSkills/tree/main/llm-wiki into .cursor/skills/llm-wiki/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llm-wiki", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/staruhub/ClaudeSkills.git --path llm-wiki--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add staruhub/ClaudeSkills --skill llm-wiki -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install staruhub/ClaudeSkills llm-wiki --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/staruhub/ClaudeSkills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/llm-wiki .gemini/skills/llm-wiki && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "llm-wiki" agent skill from https://github.com/staruhub/ClaudeSkills/tree/main/llm-wiki into .gemini/skills/llm-wiki/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llm-wiki", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install staruhub/ClaudeSkills llm-wikiInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add staruhub/ClaudeSkills --skill llm-wiki -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/staruhub/ClaudeSkills.git skills-src && mkdir -p .github/skills && cp -r skills-src/llm-wiki .github/skills/llm-wiki && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "llm-wiki" agent skill from https://github.com/staruhub/ClaudeSkills/tree/main/llm-wiki into .github/skills/llm-wiki/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llm-wiki", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add staruhub/ClaudeSkills --skill llm-wiki -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install staruhub/ClaudeSkills llm-wiki --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/staruhub/ClaudeSkills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/llm-wiki .opencode/skills/llm-wiki && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "llm-wiki" agent skill from https://github.com/staruhub/ClaudeSkills/tree/main/llm-wiki into .opencode/skills/llm-wiki/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "llm-wiki", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
llm-wikiBuild and maintain a structured LLM-generated wiki for any codebase.
LLM Wiki is an agent skill from staruhub/ClaudeSkills. Build and maintain a structured LLM-generated wiki for any codebase. Use when the user asks to analyze/understand/document a codebase, build a code wiki, create project documentation from source, or update an existing .llm-wiki. Triggers on phrases like "build wiki", "analyze this codebase", "document this project", "update wiki", "llm-wiki", or when entering an unfamiliar project that has no .llm-wiki yet.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/article-templates.md` and `references/wiki-schema.md`).
It sits in Knowledge Management, covering LLM wikis. The repository describes itself as: 13 curated Agent Skills for research, product decisions, decks, publishing, audits, and more — portable across skills-compatible agents. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 66e02d2. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
gist.github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
LLM Wiki loads about 1.6k tokens when it runs, and up to ~3.6k if it reads all its reference files. Until then it costs about 105 tokens; SKILL.md has 697 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from staruhub/ClaudeSkills at commit 66e02d2, republished under its MIT licence (© staruhub). 697 words, ~1,630 tokens.
.claude/skills/llm-wiki/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Build a persistent, interlinked markdown wiki that captures the architecture, modules, patterns, and APIs of a codebase. The wiki lives in .llm-wiki/ at the project root. Humans curate and direct; the LLM handles all bookkeeping.
Based on Andrej Karpathy's LLM Wiki pattern: raw sources are "compiled" into a structured wiki that compounds over time.
Determine the mode based on current state:
.llm-wiki/ directory exists -> Full Build mode.llm-wiki/ exists -> Update mode (diff and refresh)find or Glob to map the directory tree (ignore node_modules, .git, vendor, dist, build, pycache, .venv)Record findings in .llm-wiki/_schema.md (see references/wiki-schema.md for format).
Create the directory structure:
.llm-wiki/
_schema.md # Wiki conventions and project metadata
_index.md # Content-oriented catalog by category
_log.md # Chronological build/update log
architecture/ # High-level design docs
modules/ # Per-module deep dives
concepts/ # Cross-cutting concepts (auth, caching, error handling...)
apis/ # API surface docs (REST endpoints, CLI commands, exported functions)
guides/ # How-to guides (setup, deployment, testing)Write articles in priority order. See references/article-templates.md for templates.
Priority 1 - Architecture:
architecture/overview.md - System architecture, component diagram (ASCII), tech stackarchitecture/data-flow.md - How data flows through the systemarchitecture/directory-structure.md - Annotated directory treePriority 2 - Modules:
modules/<name>.md per major module/package/directoryPriority 3 - Concepts:
concepts/<name>.md per conceptPriority 4 - APIs:
apis/<name>.md per API groupPriority 5 - Guides:
guides/setup.md - Dev environment setupguides/testing.md - How to run and write tests_index.md - organized by category with one-line descriptions and links## See Also section linking to related articlesRun a health check over the wiki:
.md files)_index.md or any other page)Fix issues found. Log the lint run in _log.md.
When .llm-wiki/ already exists:
_schema.md to understand project metadata and conventions_log.md to see last update timestampgit log --since="<last_update>" --name-status if git availablearchitecture/directory-structure.md_index.md if new articles added or old ones removed_log.md with timestamp, summary of changes---
title: Module Name
updated: 2026-04-09
sources:
- src/module/index.ts
- src/module/utils.ts
---For large codebases (>500 source files), consider dispatching parallel agents:
Add .llm-wiki/ to .gitignore only if the user prefers it. By default, the wiki is intended to be committed alongside the code so the team benefits.
_index.md enables the LLM to navigate efficiently_log.md provides temporal context for future updates© staruhub, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in llm-wiki of staruhub/ClaudeSkills.
Open the folder on GitHubat commit 66e02d2
LLM Wiki next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| LLM Wiki this skillstaruhub/ClaudeSkills | 728 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Karpathy LLM WikiAstro-Han/karpathy-llm-wiki | 2.5k | — | ~3.6k | Automated safety check: Pass | MIT | |
| LLM Wikilewislulu/llm-wiki-skill | 655 | — | ~3.7k | Automated safety check: Pass | None | |
| Wiki Builderrohitg00/pro-workflow | 2.9k | — | ~1k | Automated safety check: Pass | None | |
| Codex History IngestAr9av/obsidian-wiki | 3.5k | — | ~2.2k | Automated safety check: Notes | MIT | |
| Arkon Editnduckmink/arkon | 1.5k | — | ~1.6k | Automated safety check: Pass | Custom licence |
Astro-Han/karpathy-llm-wiki
A skill your agent uses when building or maintaining a personal LLM-powered knowledge base.
lewislulu/llm-wiki-skill
Build and maintain a Karpathy-style LLM knowledge base — a self-compiling Obsidian markdown wiki where an Agent ingests raw sources, compiles cross-linked concept/entity/summary pages, answers…
rohitg00/pro-workflow
Start, structure, and grow a persistent research wiki indexed in pro-workflow's SQLite knowledge base.
Ar9av/obsidian-wiki
Ingest Codex CLI conversation/session history into Obsidian as distilled knowledge.
nduckmink/arkon
Propose or directly apply edits to Arkon wiki pages, including proposing brand new pages.
dair-ai/dair-academy-plugins
Creates and maintains configurable research wikis: scaffold a folder, add sources, compile pages and indexes, and file query answers back.
staruhub/ClaudeSkills
A skill your agent uses when the user wants an evidence-based research memo, literature review, market/policy/technical landscape, or a multi-source decision brief with citations, trade-offs, and a…
staruhub/ClaudeSkills
专业微信公众号文章助手,支持四个独立且可组合模式:article 写正文;image-prompts 从文章生成版本化、provider-neutral 的图片提示词 manifest 与稳定占位符,但不调用生图;layout 把文章和 manifest 确定性转换为微信安全的内联 HTML;full-pipeline…
staruhub/ClaudeSkills
A股分析研究助手,提供行情数据获取与技术面/基本面分析框架(仅供研究参考,不构成投资建议)。适用于:(1) 获取A股行情和历史数据,(2) 技术面分析(K线形态、MACD、KDJ、RSI、布林带等),(3) 基本面分析(财务指标、估值分析),(4) 板块热点追踪,(5) 选股策略筛选与量化因子分析,(6)…
staruhub/ClaudeSkills
Windows C盘清理和磁盘空间管理。当用户说C盘满了、磁盘空间不足、清理临时文件/缓存/回收站/系统日志、查找大文件、分析磁盘占用时使用。仅适用于 Windows 环境。不用于:macOS/Linux 磁盘清理、卸载软件(引导用户走系统卸载)、清理用户个人文件(只报告位置,删除决定权在用户)。
staruhub/ClaudeSkills
资深高考命题专家助手,提供专业的命题指导和评审服务。适用于创作高考试题、评审试题质量、分析试卷结构、了解命题趋势等场景。结合文档工具提取解压文件,使用网络搜索了解当年最新命题趋势,使用分析工具评估题目质量和试卷结构。涵盖"一核四层四翼"评价体系、题型规范、评分标准、命题流程等多个维度。不用于:大学/考研/中考命题(体系不同,仅可借鉴)、日常作业题编写、直接替考生解题。
staruhub/ClaudeSkills
用 MinerU 将复杂PDF文档转换为LLM友好的Markdown/JSON格式。适用于:(1) PDF转Markdown/JSON,(2) 提取PDF中的文本、表格、公式、图像,(3) 解析学术论文、技术文档、商业报告,(4) 为RAG应用准备文档数据,(5) 批量处理PDF。触发关键词:"PDF解析"、"PDF转Markdown"、"提取PDF表格/公式"、"MinerU"、"parse…
Categories
Build and maintain a structured LLM-generated wiki for any codebase. LLM Wiki is an agent skill from staruhub/ClaudeSkills. Build and maintain a structured LLM-generated wiki for any codebase.
LLM Wiki fits situations like: the user asks to analyze/understand/document a codebase; build a code wiki; create project documentation from source; update an existing .llm-wiki.
Run `npx skills add staruhub/ClaudeSkills --skill llm-wiki -a claude-code`. Or copy the skill folder (llm-wiki in staruhub/ClaudeSkills) into .claude/skills/llm-wiki in your project. Claude Code loads it when a task matches its description.
Run `npx skills add staruhub/ClaudeSkills --skill llm-wiki -a codex`. Or copy the skill folder (llm-wiki in staruhub/ClaudeSkills) into .agents/skills/llm-wiki in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add staruhub/ClaudeSkills --skill llm-wiki -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/llm-wiki, .gemini/skills/llm-wiki, .github/skills/llm-wiki and .opencode/skills/llm-wiki in your project.
Going by SKILL.md and its folder, LLM Wiki needs the command-line tools its instructions call (git).
SKILL.md names 1 domain. As links in the text: gist.github.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
LLM Wiki is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with LLM Wiki: Karpathy LLM Wiki (Astro-Han/karpathy-llm-wiki, 2.5k stars), LLM Wiki (lewislulu/llm-wiki-skill, 655 stars), Wiki Builder (rohitg00/pro-workflow, 2.9k stars) and Codex History Ingest (Ar9av/obsidian-wiki, 3.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
staruhub (a GitHub user) maintains it in staruhub/ClaudeSkills, which has 728 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on August 13, 2026.
Source: staruhub/ClaudeSkills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.