跳到正文
Skillpedia
技术文档41k · #7033

wiki

它能做什么

这项技能维护一个项目笔记的小型知识库,智能体可以向其中添加内容、进行搜索并检查问题。适合希望保存长期项目知识、而不是让笔记在每次会话后消失的团队。

适用场景

  • ✓当你希望以会随时间增长的形式保存项目知识的时候。
  • ✓当你需要搜索过去的决定、架构笔记或调试发现的时候。
  • ✓当你希望检查知识库中是否有孤立页面、过时内容或失效链接的时候。

技能链接

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/wiki/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/wiki/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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 work
  • sonnet — standard implementation, debugging, and review
  • opus — architecture, deep analysis, consensus planning, and high-risk review
  • fable — Claude Fable 5 (above Opus); pass it explicitly on the Task call or pin it per agent with agents.<name>.model
  • The session model chosen with /model applies to the main loop only. Delegated agents run on their pinned tier unless the Task call passes model explicitly or the agent is overridden via agents.<name>.model. To run delegated work on Fable, use one of those two surfaces; selecting Fable in /model alone does not change delegation.
常见问题

页面如何组织?

按分类组织,例如架构、决定、模式、调试、环境或会话日志。

页面存放在哪里?

以 Markdown 文件的形式保存在项目的隐藏设置文件夹中。

它会自己回答问题吗?

搜索会返回匹配的页面,由智能体根据这些页面写出带引用的答案。

详情

作者的原始描述

LLM Wiki — persistent markdown knowledge base that compounds across sessions (Karpathy model)

repo: Yeachan-Heo/oh-my-claudecode

热度

GitHub 星标
41k
排名
#7033
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能