wiki
它能做什么
这项技能维护一个项目笔记的小型知识库,智能体可以向其中添加内容、进行搜索并检查问题。适合希望保存长期项目知识、而不是让笔记在每次会话后消失的团队。
适用场景
- ✓当你希望以会随时间增长的形式保存项目知识的时候。
- ✓当你需要搜索过去的决定、架构笔记或调试发现的时候。
- ✓当你希望检查知识库中是否有孤立页面、过时内容或失效链接的时候。
技能链接
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/wiki/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把我们关于使用新认证服务商的决定保存到项目 wiki 中,然后找出所有关于认证的 wiki 笔记。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会添加带有标题、标签和分类的页面,然后通过关键词和标签进行搜索,并附上引用汇总匹配结果。它还可以运行健康检查,查找孤立页面、过时内容和失效的交叉引用。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Wiki
Persistent, self-maintained markdown knowledge base for project and session knowledge. Inspired by Karpathy's LLM Wiki concept.
Operations
Ingest
Process knowledge into wiki pages. A single ingest can touch multiple pages.
wiki_ingest({ title: "Auth Architecture", content: "...", tags: ["auth", "architecture"], category: "architecture" })
Query
Search across all wiki pages by keywords and tags. Returns matching pages with snippets — YOU (the LLM) synthesize answers with citations from the results.
wiki_query({ query: "authentication", tags: ["auth"], category: "architecture" })
Lint
Run health checks on the wiki. Detects orphan pages, stale content, broken cross-references, oversized pages, and structural contradictions.
wiki_lint()
Quick Add
Add a single page quickly (simpler than ingest).
wiki_add({ title: "Page Title", content: "...", tags: ["tag1"], category: "decision" })
List / Read / Delete
wiki_list() # Show all pages (reads index.md)
wiki_read({ page: "auth-architecture" }) # Read specific page
wiki_delete({ page: "outdated-page" }) # Delete a page
Log
View wiki operation history by reading .omc/wiki/log.md.
Categories
Pages are organized by category: architecture, decision, pattern, debugging, environment, session-log
Storage
- Pages:
.omc/wiki/*.md(markdown with YAML frontmatter) - Index:
.omc/wiki/index.md(auto-maintained catalog) - Log:
.omc/wiki/log.md(append-only operation chronicle)
Cross-References
Use [[page-name]] wiki-link syntax to create cross-references between pages.
Auto-Capture
At session end, significant discoveries are automatically captured as session-log pages. Configure via wiki.autoCapture in .omc-config.json (default: enabled).
Hard Constraints
- NO vector embeddings — query uses keyword + tag matching only
- Wiki pages are git-ignored by default (
.omc/wiki/is project-local)
Model Routing
haiku— quick lookups, lightweight inspection, narrow docs worksonnet— standard implementation, debugging, and reviewopus— architecture, deep analysis, consensus planning, and high-risk reviewfable— Claude Fable 5 (above Opus); pass it explicitly on the Task call or pin it per agent withagents.<name>.model- The session model chosen with
/modelapplies to the main loop only. Delegated agents run on their pinned tier unless the Task call passesmodelexplicitly or the agent is overridden viaagents.<name>.model. To run delegated work on Fable, use one of those two surfaces; selecting Fable in/modelalone does not change delegation.
常见问题
页面如何组织?
按分类组织,例如架构、决定、模式、调试、环境或会话日志。
页面存放在哪里?
以 Markdown 文件的形式保存在项目的隐藏设置文件夹中。
它会自己回答问题吗?
搜索会返回匹配的页面,由智能体根据这些页面写出带引用的答案。
详情
作者的原始描述
LLM Wiki — persistent markdown knowledge base that compounds across sessions (Karpathy model)
热度
- GitHub 星标
- 41k
- 排名
- #7033
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-doc-discipline
41k教你的智能体编写其他 AI 智能体能够独立遵循的说明,规则可以检验,并且每条规则都附有明确的理由。
ai-slop-cleaner
41k帮你的智能体整理 AI 写出的代码,这些代码能运行但臃肿或重复,在不改变其功能的前提下删除多余部分。
architecture-survey
41k帮你的智能体审查代码库的结构,列出越来越难修改的部分并附上证据,且自身不做任何更改。
ask-navigator
41k帮你的智能体把模糊的项目整理成一张清晰的决策问题图,然后逐个处理,直到路径变得清楚。