Wiki

LLM 维护的持久化 Markdown 知识库 —— 既可用作个人知识库(~/wiki/), 也可用于给开源项目做架构 wiki(<repo>-wiki/)。 触发场景:用户说 "wiki"、"/wiki"、"添加到wiki"、"ingest"、"wiki lint"、 "wiki add"、"wiki query"、"wiki status"、"添加到知识库"、"导入这篇文章"、 "收藏这个"、"记到wiki里"、"建一个 wiki"、"给 X 做架构 wiki"。

23 stars 2 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add cclank/lanshu-wiki-skill --skill wiki
Manual install
git clone --depth 1 https://github.com/cclank/lanshu-wiki-skill.git /tmp/lanshu-wiki-skill
mkdir -p ~/.claude/skills
cp -r /tmp/lanshu-wiki-skill/. ~/.claude/skills/wiki

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# LLM Wiki Skill

让 LLM 增量构建并维护一个持久化的 Markdown 知识库,基于 [Karpathy 的 LLM Wiki 模式](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f)。

---

## Step 1:定位 wiki root(每次触发先做这件事)

按下列规则**自上而下**判断,命中即停:

| 条件 | wiki root | 模式 |
|---|---|---|
| CWD 或任一上级目录含 `SCHEMA.md` + `index.md` | 该目录 | **code-repo** |
| CWD 是 `~/wiki/` 或其子目录 | `~/wiki/` | **personal** |
| CWD 含 `CLAUDE.md` + `index.md`(且不是项目源码的 CLAUDE.md) | CWD | **personal** |
| 上述都不满足,但用户在说 wiki 操作 | `~/wiki/`(默认) | **personal** |
| 用户明确说"建一个新 wiki" | 走 [Step 4:新建 wiki 引导](#step-4新建-wiki-引导) | — |

**模式的本质区别**:
- **personal**:跟踪多元来源(文章 / 视频 / PDF)的阅读笔记,目录五层(`raw/sources/entities/concepts/syntheses/`),有 reliability 分级
- **code-repo**:跟踪单一开源项目源码的架构 wiki,目录三层(`concepts/entities/changelog/`,可选 `guide/`),结论必带 `文件:行号`

---

## Step 2:读 schema 获取所有规则(一次性)

每次新会话首次触发 wiki 操作时,**先读取**当前 wiki root 的 schema 文件:

- **personal 模式** → 读 `<wiki-root>/CLAUDE.md`
- **code-repo 模式** → 读 `<wiki-root>/SCHEMA.md`

**schema 文件是唯一权威**——所有页面格式、标签体系、frontmatter 字段、ingest 步骤、lint 检查项都在里面。本 SKILL.md **不重复** schema 内容,只做路由。

> 如果 schema 文件缺失,说明这个 wiki 还没正确初始化 → 走 [Step 4](#step-4新建-wiki-引导)。

---

## Step 3:会话启动协议(首次触发时执行)

按顺序:

1. 读 schema(见 Step 2)
2. 读 `<wiki-root>/index.md` —— 了解 wiki 全貌(不读全文,了解有哪些页面)
3. 读 `<wiki-root>/log.md` 最后 10 条 —— 了解最近做了什么
4. 读 `<wiki-root>/inbox.md`(如存在)—— 看是否有待处理项
5. 一句话向用户汇报:「wiki 状态:N 个页面,最近操作 X,待处理 Y 项」

后续操作只要不切换 wiki root 就不重复读这些。

---

## Step 4:新建 wiki 引导
Read the full skill on GitHub

Details

Skill name
wiki
License
MIT
Repo updated
24 May 2026

FAQ

What does the Wiki skill do?

LLM 维护的持久化 Markdown 知识库 —— 既可用作个人知识库(~/wiki/), 也可用于给开源项目做架构 wiki(<repo>-wiki/)。 触发场景:用户说 "wiki"、"/wiki"、"添加到wiki"、"ingest"、"wiki lint"、 "wiki add"、"wiki query"、"wiki status"、"添加到知识库"、"导入这篇文章"、 "收藏这个"、"记到wiki里"、"建一个 wiki"、"给 X 做架构 wiki"。

How do I install the Wiki skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add cclank/lanshu-wiki-skill --skill wiki. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Wiki popular?

It lives in cclank/lanshu-wiki-skill, which has 23 GitHub stars and 2 forks.

Related skills

Persona Compass

20

snowyowlmia/persona-compass

Build personality models of colleagues, clients, friends, or family members and get AI-powered communication strategies. Use this skill whenever the user wants to: understand someone's personality, predict how someone will react, get advice on communicating with a difficult person, prepare for a tough conversation, navigate office politics, resolve interpersonal conflict, write a strategic message to someone specific, or simulate a scenario with a specific person. Also trigger when the user mentions: "how do I deal with", "how should I talk to", "what would X do if", "help me communicate with"

AI, LLMs & Agents

Wecom Agent

18

freanocank/wecom-agent

Use when 处理企业微信/企微/wecom 任务,包括本地聊天记录解密读取、离线搜索导出、媒体/文档定位,以及通过 WecomTeam 官方 CLI/Bot 能力发消息、查通讯录、读写文档、表格、日程、会议、待办。

AI, LLMs & Agents13

Sentry Instrumentation

24

tortastudios/sentry-instrumentation

Rules and examples for adding Sentry instrumentation the right way — metrics and tracing. Covers how to name a counter, gauge, or duration metric; which tags are safe versus which will blow up your Sentry bill; how to track failures with a small fixed list of error types instead of raw exception strings; how to add metrics around HTTP routes, external API calls, workflow steps, retry loops, and fallback paths without copy-pasting emit calls everywhere; and how to instrument AI agent conversations with `gen_ai.*` spans (invoke_agent / chat / execute_tool, conversation ids, token accounting) for

AI, LLMs & Agents

Tianya Gods Team

22

momozi1996/tianya-skills

天涯神贴大神智囊团 — 20位传奇大神组成的多Agent决策系统。 基于ClawTeam多Agent协作原理,实现「一个目标 → 20位大神并行分析 → 综合决策」的完整工作流。 核心机制: - 智能领导者Agent(协调者)接收目标,分配给20位专业大神 - 20位大神并行分析,各自输出专业视角 - 综合决策Agent整合所有视角,输出最终决策 使用方式: - 「启动天涯智囊团」+ 你的问题/目标 - 「召集大神」+ 你的问题/目标 - 「20位大神分析」+ 你的问题/目标 涵盖领域:权谋分析、经济预言、历史解读、文化解构、都市情感、技术分析、 黑帮江湖、盗墓探险、玄幻武侠、都市异能、悬疑推理、法医刑侦、历史穿越等。

AI, LLMs & Agents

AI Draw

23

stone-yu/ai-draw-skill

单一 Skill 整合 PPT 演讲稿生成(36 主题 / 31 布局 / 27 动画 / 20 特效 / 15 全 deck 模板)与画图能力(7 种类型 × 8 主题)。两个平等的顶级模式:`--mode ppt` 输出可分享的演讲 HTML;`--mode single` / `--mode site` 输出技术图。`/ai-draw <需求>` 自动识别意图,模糊时询问。Trigger keywords (中+EN):画 / 画图 / 画一个 / 给我画 / 帮我画 / draw / diagram / chart / 架构图 / 流程图 / 时序图 / 知识图谱 / 思维导图 / 类图 / ER 图 / 演讲 / 分享 / 分享稿 / 讲稿 / 逐字稿 / PPT / deck / slides / keynote / 幻灯片 / pitch / 周报 / 课程 / 课件 / 小红书图文 / talk / presentation.

AI, LLMs & Agents

Qiaomu AI Access

21

joeseesun/qiaomu-ai-access

Use this qiaomu skill workflow when the user wants to check whether their local or browser environment looks like a China user before accessing AI models, using yArna/isChinaUser first, then asking for explicit consent before safe privacy-hygiene guidance. Trigger on requests such as "我是中国人但想用顶级AI", "检测中国用户特征", "用 isChinaUser 检测", "qiaomu-ai-access", "AI access region signal check", or "先检测再问我要不要整理隐私特征". Do not provide VPN/proxy, geofence bypass, sanctions evasion, account-region spoofing, KYC/payment misrepresentation, CAPTCHA/device-fingerprint bypass, or platform-risk evasion instructions;

AI, LLMs & Agents

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.