Wiki

Yeachan-Heo/oh-my-claudecode/skills/wiki

作者 Yeachan-Heo454bae017356ed1d056182cd929b6eb6cf6143ad無授權條款收錄於 2026年10月9日更新於 2026年10月9日

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

AI 產生的概覽

維護持久的 Markdown 專案知識庫,支援收錄、查詢、檢查與頁面管理操作。

功能
此技能定義了一個持久、自我維護的 Markdown 知識庫,用來保存專案與工作階段知識,並依架構、決策、模式、除錯、環境、工作階段日誌等類別組織。它說明了將知識收錄為頁面的操作、依關鍵字與標籤查詢頁面、執行健康檢查以找出孤立頁面、過期內容、失效的交叉參照、過大頁面與結構性矛盾,以及新增、列出、讀取或刪除頁面。頁面以帶 YAML frontmatter 的 Markdown 形式存放在專案本機目錄中,並有自動維護的索引與僅可附加的操作日誌,交叉參照使用 wiki 連結語法。工作階段結束時,重要發現可自動記錄為工作階段日誌頁面。
適用情境
適用於專案需要跨工作階段持久保留、可持續累積,且能依關鍵字或標籤檢索的筆記時。適合記錄架構決策、模式、除錯發現與環境細節,並對這些累積的知識進行查詢或健康檢查。
執行需求
不隨附指令碼,僅為說明文件。它依賴專案本機的儲存目錄來保存頁面、索引與日誌,並需要一個設定檔來設定自動擷取。查詢僅使用關鍵字與標籤比對,不使用向量嵌入。

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 pagewiki_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.

來源與署名

來源:Yeachan-Heo/oh-my-claudecode位於skills/wiki提交454bae0

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架