LLM Wiki
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…
项目知识库引擎:持续维护 docs/ 目录作为活的知识库. An agent skill from 312362115/claude.
$ npx skills add 312362115/claude --skill docs-management -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install 312362115/claude docs-management --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/312362115/claude.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/docs-management .claude/skills/docs-management && 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 "docs-management" agent skill from https://github.com/312362115/claude/tree/main/skills/docs-management into .claude/skills/docs-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-management", 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/312362115/claude/tree/main/skills/docs-managementType 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 312362115/claude --skill docs-management -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install 312362115/claude docs-management --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/312362115/claude.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/docs-management .agents/skills/docs-management && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "docs-management" agent skill from https://github.com/312362115/claude/tree/main/skills/docs-management into .agents/skills/docs-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-management", 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 312362115/claude --skill docs-management -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install 312362115/claude docs-management --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/312362115/claude.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/docs-management .cursor/skills/docs-management && 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 "docs-management" agent skill from https://github.com/312362115/claude/tree/main/skills/docs-management into .cursor/skills/docs-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-management", 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/312362115/claude.git --path skills/docs-management--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 312362115/claude --skill docs-management -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install 312362115/claude docs-management --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/312362115/claude.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/docs-management .gemini/skills/docs-management && 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 "docs-management" agent skill from https://github.com/312362115/claude/tree/main/skills/docs-management into .gemini/skills/docs-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-management", 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 312362115/claude docs-managementInstalls 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 312362115/claude --skill docs-management -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/312362115/claude.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/docs-management .github/skills/docs-management && 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 "docs-management" agent skill from https://github.com/312362115/claude/tree/main/skills/docs-management into .github/skills/docs-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-management", 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 312362115/claude --skill docs-management -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install 312362115/claude docs-management --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/312362115/claude.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/docs-management .opencode/skills/docs-management && 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 "docs-management" agent skill from https://github.com/312362115/claude/tree/main/skills/docs-management into .opencode/skills/docs-management/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-management", 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.
docs-management项目知识库引擎:持续维护 docs/ 目录作为活的知识库. An agent skill from 312362115/claude.
Docs Management is an agent skill from 312362115/claude. 项目知识库引擎:持续维护 docs/ 目录作为活的知识库。 灵感来源:Karpathy LLM Wiki — LLM 不只是写文档,而是持续维护知识库。 五个核心操作:Ingest(摄入新信息)、Query(检索知识)、Lint(健康检查)、Index(索引维护)、Synthesize(聚合全局视图)。 触发词:文档检查、清理文档、文档索引、docs 整理、知识库、文档过期了吗、架构文档、用户手册。 触发场景:task-manager 标 done 时自动触发 Ingest、定期 Lint 健检、用户查询项目历史、 task-finish 提醒后触发 Synthesize 更新 architecture/ 或 user-guide/。 即使用户没有说"文档管理",只要涉及 docs/ 目录的整理/检查/更新,都应触发此技能。
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Knowledge Management, covering Technical writing, Task management and Linting and formatting. The licence is MIT.
Read from SKILL.md and the folder at commit 2d4fa49. 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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From 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.
Docs Management loads about 1.2k tokens when it runs. Until then it costs about 96 tokens; SKILL.md has 217 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 312362115/claude at commit 2d4fa49, republished under its MIT licence (© 312362115). 217 words, ~1,231 tokens.
.claude/skills/docs-management/SKILL.md (or your agent's skills folder)."维护知识库最累的不是阅读和思考,是记账——交叉引用、一致性维护。这正是 LLM 擅长的。" — Karpathy, LLM Wiki
Raw Sources(原始素材) → 代码、git log、会议记录、外部文档
Wiki(知识库) → docs/ 目录下所有结构化文档
Schema(规则) → CLAUDE.md 中的文档规范新信息进来时,不只是新建文件,而是找到已有文档合并更新。
触发时机:
执行流程:
新信息产生
│
├─ 搜索 docs/ 中是否有相关文档
│ ├─ 有 → 更新已有文档,合并新信息
│ └─ 无 → 创建新文档
│
├─ 更新 docs/ 内相关交叉引用
│
└─ 更新 INDEX(如有)示例:
docs/decisions/,同时检查对应的 spec 是否需要标注"方案已执行,实际偏差见 decisions/xxx"docs/guides/ 相关指南spec 标 done 时必须反映最终实现,但不是所有偏差都需要同样的处理方式。
偏差判断
│
├─ 细节偏差(字段名调整、参数变更、实现细节微调)?
│ └─ 直接更新 spec 中的技术方案章节
│
├─ 方案偏差(换了实现路径,但目标不变)?
│ └─ 更新 spec 技术方案 + 在决策章节补注"实际执行偏差及原因"
│
└─ 方向偏差(目标或范围发生了变化)?
└─ 写 decision 记录完整复盘,spec 中标注"已被 decisions/xxx 覆盖"docs/ 是项目的可查询知识库,不是文件堆。
触发时机:
执行流程:
查询请求
│
├─ 在 docs/ 中搜索相关文档
│ ├─ specs/ — 设计方案
│ ├─ decisions/ — 踩坑记录和经验
│ ├─ plans/ — 历史开发计划
│ ├─ tests/ — 测试用例
│ └─ guides/ — 开发指南
│
├─ 综合相关文档给出回答
│
└─ 如果回答有价值且不在现有文档中 → Ingest 回 wiki定期体检,防止文档腐烂。
触发时机:
检查清单:
| # | 检查项 | 怎么查 | 问题示例 |
|---|---|---|---|
| 1 | 引用有效性 | 文档中引用的文件路径是否存在 | spec 引用了已删除的文件 |
| 2 | 进度一致性 | plan 的 checklist 和实际代码是否一致 | plan 说"待做"但代码已完成 |
| 3 | INDEX 同步 | INDEX.md 和实际文件是否对得上 | INDEX 有但文件已删 |
| 4 | 跨文档一致 | plan 引用的 spec 是否存在 | plan 指向不存在的 spec |
| 5 | 状态同步 | backlog 状态和实际进度是否匹配 | backlog open 但 plan 已全部完成 |
| 6 | 孤立文档 | 有没有不被任何 INDEX 或文档引用的文件 | 遗忘的旧 spec |
| 7 | 过期内容 | 文档描述的代码结构是否还存在 | spec 说"改 src/old.ts"但该文件已重命名 |
| 8 | 全局视图同步 | architecture/ 和 user-guide/ 的 INDEX 和实际子文档是否一致 | INDEX 列了但文件不存在、新模块有 spec 但 architecture/ 没收录 |
| 9 | 记忆巡检 | memory 中的条目是否仍然有效 | feedback 引用的模块已删除、project 信息已过期 |
输出格式:
## Docs 健康检查报告 — YYYY-MM-DD
### 概况
- 扫描目录:docs/
- 文档总数:X 个
- 发现问题:X 个
### 问题清单
| # | 级别 | 文件 | 问题 | 建议 |
|---|------|------|------|------|
| 1 | 高 | plans/xxx.md | 引用的 spec 不存在 | 更新引用或补建 spec |
| 2 | 中 | specs/xxx.md | 引用的文件路径 src/old.ts 已不存在 | 更新路径 |
| 3 | 低 | backlog/xxx.md | 状态 open 但关联 plan 已全部完成 | 更新为 done |索引是知识库的入口,必须和实际内容同步。
维护对象:
docs/backlog/INDEX.md — 需求索引(已有,由 task-manager 维护)docs/decisions/INDEX.md — 经验索引(待建,按时间倒序)INDEX 更新时机:
从碎片文档中维护全局视图索引。不是写长文档,是保持索引准确。
维护对象:
| 目录 | INDEX.md 的职责 | 子文档 |
|---|---|---|
docs/architecture/ | 模块列表、模块间关系、核心数据流概览 | 每个模块一份架构文档 |
docs/user-guide/ | 功能目录、快速入门导航 | 每个功能/模块一份用户指南 |
触发时机:
| 触发场景 | 操作 | token 成本 |
|---|---|---|
| 用户手动要求 | 全量:读所有相关 spec/decision,重建 INDEX | 高 |
| task-finish 提醒后用户确认 | 增量:只读本次变更涉及的模块,更新对应子文档和 INDEX | 低 |
| Lint 发现 INDEX 和实际文件不一致 | 修复:对齐 INDEX 和实际文件列表 | 极低 |
执行流程:
触发 Synthesize
│
├─ 全量模式(首次生成 / 用户要求重建)
│ ├─ 扫描 docs/specs/ 和 docs/decisions/ 提取模块列表
│ ├─ 每个模块生成/更新 architecture/<模块名>.md
│ ├─ 生成 architecture/INDEX.md(模块导航 + 关系概览)
│ └─ user-guide 同理
│
└─ 增量模式(单次改动后)
├─ 只读本次涉及的 spec/decision
├─ 判断是否涉及新模块 / 模块间关系变更
│ ├─ 是 → 更新对应子文档 + INDEX
│ └─ 否 → 跳过
└─ 完成INDEX.md 格式示例:
# 系统架构
## 模块概览
| 模块 | 职责 | 文档 |
|------|------|------|
| auth | 认证与会话管理 | [auth.md](auth.md) |
| payment | 支付与账单 | [payment.md](payment.md) |
## 模块间关系
- auth → payment:支付前需要认证
- ...(或引用 docs/assets/ 中的架构图)和 Ingest 的区别:
task-finish(复盘产出)→ docs-management.Ingest(整合到知识库)
task-finish(提交时) → 提醒:是否需要 Synthesize(涉及新模块/模块间交互变更?)
task-start(对焦阶段)→ docs-management.Query(检索历史经验)
task-manager(需求管理)→ docs-management.Index(维护 backlog INDEX)
定期 / 用户主动 → docs-management.Lint(健康检查)
用户主动 / Lint 发现不一致 → docs-management.Synthesize(聚合全局视图)docs-management vs writing:
docs-management vs task-manager:
© 312362115, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/docs-management of 312362115/claude.
Open the folder on GitHubat commit 2d4fa49
Docs Management 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 |
|---|---|---|---|---|---|---|
| Docs Management this skill312362115/claude | 107 | — | ~1.2k | Automated safety check: Pass | MIT | |
| LLM Wikilewislulu/llm-wiki-skill | 655 | — | ~3.7k | Automated safety check: Pass | None | |
| Kbcompozy/kb | 110 | — | ~4.2k | Automated safety check: Pass | MIT | |
| LLM WikiCharlesHoskinson/sevenlayer | 116 | — | ~1.5k | Automated safety check: Pass | Custom licence | |
| Knowledge Base Health Lintjason-effi-lab/karpathy-llm-wiki-vault | 720 | — | ~336 | Automated safety check: Pass | None | |
| Lintjackwener/llm-wiki | 104 | — | ~450 | Automated safety check: Pass | Apache-2.0 |
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…
compozy/kb
Operate the kb CLI to build and maintain topic-based Karpathy-style knowledge bases: gated ingestion, decision-model classification, linking, retrieval and review, wiki compilation, lint-and-heal…
CharlesHoskinson/sevenlayer
Builds and maintains a persistent, interlinked Obsidian-compatible markdown knowledge wiki in a git repo via three operations — ingest a source into linked pages, answer a question from the…
jason-effi-lab/karpathy-llm-wiki-vault
Scans an Obsidian-style wiki for broken double-link references, orphan pages, files missing from the index and unresolved knowledge conflicts, then reports the findings.
jackwener/llm-wiki
Audit and safely maintain an LLM Wiki vault. An agent skill from jackwener/llm-wiki.
Pratiyush/llm-wiki
Run the complete llmwiki pipeline from scratch — init, sync, graph, build, lint, and serve.
312362115/claude
专业图表生成技能:根据需求自动选择合适的图表类型,生成符合设计规范的 PNG 图表. An agent skill from 312362115/claude.
312362115/claude
深度调研技能:对任意命题进行系统性调研并输出专业研究报告. An agent skill from 312362115/claude.
312362115/claude
MD 文件浏览器预览:GitHub 风格渲染 + 左侧自动目录. An agent skill from 312362115/claude.
312362115/claude
通用写作技能:以"内容→组件→组合"的方式产出技术文档、产品文档、汇报材料. An agent skill from 312362115/claude.
312362115/claude
代码导读技能:帮助快速理解不熟悉的项目或模块,建立心智模型. An agent skill from 312362115/claude.
312362115/claude
数据库代码审查 + Migration 安全检查. An agent skill from 312362115/claude.
Categories
项目知识库引擎:持续维护 docs/ 目录作为活的知识库. An agent skill from 312362115/claude. Docs Management is an agent skill from 312362115/claude.
Docs Management fits situations like: tasks that involve Technical writing; tasks that involve Task management; tasks that involve Linting and formatting.
Run `npx skills add 312362115/claude --skill docs-management -a claude-code`. Or copy the skill folder (skills/docs-management in 312362115/claude) into .claude/skills/docs-management in your project. Claude Code loads it when a task matches its description.
Run `npx skills add 312362115/claude --skill docs-management -a codex`. Or copy the skill folder (skills/docs-management in 312362115/claude) into .agents/skills/docs-management 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 312362115/claude --skill docs-management -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docs-management, .gemini/skills/docs-management, .github/skills/docs-management and .opencode/skills/docs-management in your project.
SKILL.md names no scripts, command-line tools or credentials: Docs Management is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. 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.
Docs Management 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.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Docs Management: LLM Wiki (lewislulu/llm-wiki-skill, 655 stars), Kb (compozy/kb, 110 stars), LLM Wiki (CharlesHoskinson/sevenlayer, 116 stars) and Knowledge Base Health Lint (jason-effi-lab/karpathy-llm-wiki-vault, 720 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
312362115 (a GitHub user) maintains it in 312362115/claude, which has 107 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on May 14, 2026.
Source: 312362115/claude on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.