wiki
它能做什么
这个技能维护一个由 Markdown 页面组成的项目知识库。适合希望把决策和项目知识记录下来并便于查找的团队。
适用场景
- ✓当你想保存一项架构决策或项目约定以便以后查阅的时候。
- ✓当你需要通过关键词或标签搜索过去的项目笔记的时候。
- ✓当你想把会话中的发现记录到项目知识库中的时候。
技能链接
https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/wiki/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把我们选用 Postgres 作为计费数据库的决定保存为一个知识库页面,并标记为 architecture(架构)。”
每周 5 个新技能,1 分钟读完。
工作原理
它会添加、读取、列出和搜索保存在项目文件夹中的 Markdown 页面。页面可以用双方括号语法相互链接,并通过检查步骤来检查其健康状况。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Wiki
Persistent, self-maintained markdown knowledge base for project and session knowledge.
Operations
Ingest
omx wiki wiki_ingest --input '{"title":"Auth Architecture","content":"...","tags":["auth","architecture"],"category":"architecture"}' --json
Query
omx wiki wiki_query --input '{"query":"authentication","tags":["auth"],"category":"architecture"}' --json
Lint
omx wiki wiki_lint --json
Quick Add
omx wiki wiki_add --input '{"title":"Page Title","content":"...","tags":["tag1"],"category":"decision"}' --json
List / Read / Delete
omx wiki wiki_list --json
omx wiki wiki_read --input '{"page":"auth-architecture"}' --json
omx wiki wiki_delete --input '{"page":"outdated-page"}' --json
omx wiki wiki_refresh --json
Categories
architecture, decision, pattern, debugging, environment, session-log, reference, convention
Storage
- Pages:
omx_wiki/*.md - Index:
omx_wiki/index.md - Log:
omx_wiki/log.md
Cross-References
Use [[page-name]] wiki-link syntax to create cross-references between pages.
Auto-Capture
At session end, discoveries can be captured as session-log-* pages. Configure via wiki.autoCapture in .omx-config.json.
Hard Constraints
- No vector embeddings — query uses keyword + tag matching only
- Wiki files are repository project knowledge under
omx_wiki/; legacy.omx/wiki/is read-only compatibility input when no canonical wiki exists
常见问题
它用 AI 嵌入来搜索吗?
不用。搜索只使用关键词和标签,因此结果取决于页面的编写方式。
页面保存在哪里?
它们以 Markdown 文件的形式保存在代码仓库内的 omx_wiki 文件夹中。
有哪些分类?
页面可以归类为 architecture(架构)、decision(决策)、pattern(模式)、debugging(调试)、environment(环境)、session log(会话日志)、reference(参考)或 convention(约定)。
详情
作者的原始描述
Persistent markdown project wiki stored under repository omx_wiki with keyword search and lifecycle capture
repo: Yeachan-Heo/oh-my-codex
热度
- GitHub 星标
- 34k
- 排名
- #8429
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …