wiki 精选
LLM Wiki — persistent markdown knowledge base that compounds across sessions (Karpathy model)
安装方式
cp -r skills/wiki ~/.claude/skills/wiki把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
/plugin marketplace add Yeachan-Heo/oh-my-claudecode⚠️ 该命令形态随客户端版本变化,仅在检测到 .claude-plugin/marketplace.json 时展示;不可用时请用「目录复制」。
https://raw.githubusercontent.com/Yeachan-Heo/oh-my-claudecode/8262f9f790eed35e6cbd66572b36c2acba18f679/skills/wiki/SKILL.md下载后另存为 ~/.claude/skills/wiki/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/Yeachan-Heo/oh-my-claudecode.git
依赖与权限
- 无需 API Key
- 无需联网
- 无外部命令依赖
- 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
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.
质量与来源
- 所属仓库
- Yeachan-Heo/oh-my-claudecode
- 仓库星标
- 4.0 万
- 最近更新
- 今天
- 采集时间
- 今天
- commit
- 8262f9f790ee
- 内容指纹
- sha256:1e5d60094789a53
- 文件路径
- skills/wiki/SKILL.md