By Bruce762
LLM Wiki 個人知識庫(第二大腦):obsidian_wiki 統一入口自動分派 init 建庫、ingest 讀入來源、query 帶引用提問、lint 健檢。以 Obsidian 為閱讀介面,構想來自 Karpathy 的 llm-wiki。
把一份新來源(文章、論文、筆記、網頁、對話紀錄)讀入並整合進個人知識庫(LLM Wiki / 第二大腦):寫摘要頁、更新實體與概念頁、交叉連結、更新 index 與 log,處理完把來源檔歸檔到 raw/archive/。凡是使用者說「把這篇加進知識庫」「幫我 ingest / 讀入這份來源」「消化這篇文章」「把 raw/ 裡的檔案整理進 wiki」時都要用這個 skill,即使他沒明講「wiki」或「知識庫」。只要專案裡有 wiki/ 與 CLAUDE.md,任何「把內容歸檔累積起來」的請求都適用。沒指定檔案時,掃 raw/ 根層找未處理的來源。
初始化 LLM Wiki 個人知識庫(第二大腦):建立 raw/ 與 wiki/ 資料夾結構、CLAUDE.md schema、index.md/overview.md/log.md,並示範第一次 ingest。凡是使用者想「建立 / 初始化知識庫」「幫我建第二大腦」「開始一個新的 wiki / 累積式筆記庫」,或想 ingest / query 但專案裡還沒有 wiki/ 或 CLAUDE.md 時,都要用這個 skill——即使他沒明講「初始化」。只需在一開始跑一次。
健檢個人知識庫(LLM Wiki / 第二大腦):找矛盾、過時主張、孤兒頁、缺頁、缺連結與資料缺口,並建議值得探究的新問題。凡是使用者說「幫我健檢 / 檢查 wiki」「知識庫裡有沒有不一致 / 矛盾」「哪些頁沒人連」「幫我看看 wiki 的健康狀況」「整理一下知識庫」時都要用這個 skill,即使他沒明講「lint」。可限定範圍(某分類或主題)。
LLM Wiki 個人知識庫(第二大腦)的統一入口:自動判斷該初始化(init_wiki)、讀入來源(ingest)、提問(query)還是健檢(lint),並轉交對應的 skill 執行。凡是使用者用 /obsidian_wiki 開頭、或說「用我的知識庫…」「幫我看看 wiki 現在的狀態」但意圖橫跨多個操作、不確定該用哪個 skill 時,都用這個入口。單一操作意圖明確時(例如明說要 ingest 某篇),直接用對應 skill 即可,不必繞經這裡。
對個人知識庫(LLM Wiki / 第二大腦)提問:讀 index 與 overview、鑽相關頁、帶 [[引用]] 綜合作答,並把有價值的答案回存成 notes 頁。凡是使用者問「我知識庫 / wiki 裡對 X 怎麼說」「根據我讀過的資料…」「這幾份來源的結論有沒有衝突」「幫我比較 / 整理我筆記裡的…」時都要用這個 skill,即使他沒明講「wiki」或「知識庫」——只要專案裡有 wiki/ 且問題應該由累積的知識回答而非泛泛作答,就適用。
用 LLM 建造並維護個人知識庫(第二大腦)的 Claude Code plugin。構想來自 Karpathy 的 LLM Wiki(完整原文見 karpathy_method.md)。
一般 RAG 是「每次提問都從原始文件重新翻找」,知識不會累積。LLM Wiki 反過來:LLM 增量地建構並維護一個持久化的 wiki——一批結構化、互連的 markdown 檔案,夾在你與原始來源之間。每加入一份新來源,LLM 就把它消化進既有的 wiki:更新實體頁、修訂概念頁、標註矛盾、強化總論。知識編譯一次、持續保鮮,而不是每次查詢重新推導。
分工:你負責蒐集來源、探索、提問;LLM 負責摘要、交叉引用、歸檔、記帳。 Obsidian 是 IDE,LLM 是 programmer,wiki 是 codebase——你一邊跟 Claude 對話,一邊在 Obsidian 即時瀏覽成果(graph view、wikilink、頁面演進)。
claude plugin marketplace add Bruce762/obsidian_knowledge_build
claude plugin install obsidian-wiki@obsidian-wiki
裝完重啟 Claude Code 即生效。
git clone https://github.com/Bruce762/obsidian_knowledge_build.git
claude plugin marketplace add ./obsidian_knowledge_build
claude plugin install obsidian-wiki@obsidian-wiki
本地安裝的好處:改完 skill 不用 push,直接 claude plugin update obsidian-wiki@obsidian-wiki 就能吃到新版。
claude plugin marketplace update obsidian-wiki # 拉最新 repo(GitHub 來源才需要)
claude plugin update obsidian-wiki@obsidian-wiki # 更新 plugin,重啟生效
在你想放知識庫的資料夾(建議同時是 Obsidian vault)開啟 Claude Code。
/obsidian_wiki不確定該用哪個操作時,一律打這個,它會自動分派:
/obsidian_wiki # 不帶參數:回報知識庫現況
/obsidian_wiki 把 raw/ 裡的新文章加進去 # → ingest
/obsidian_wiki 我的筆記對 X 怎麼說? # → query
/obsidian_wiki 幫我健檢一下 # → lint
專案還沒初始化時,它會先帶你跑一次建庫。
| Skill | 何時用 | 做什麼 |
|---|---|---|
init_wiki | 一開始跑一次 | 問清楚主題與第一份來源,建立 raw/、wiki/、CLAUDE.md schema 與 index/overview/log 三個特殊檔,並示範第一次 ingest |
ingest | 每加入一份新來源 | 讀來源 → 跟你討論重點 → 歸檔到 raw/archive/ → 寫摘要頁 → 更新相關實體/概念頁(一份來源動 10–15 頁是正常的)→ 更新 index 與 log。多份來源可批次 |
query | 想從累積的知識找答案 | 讀 index 與 overview → 鑽相關頁 → 帶 [[引用]] 綜合作答 → 有價值的答案回存成 notes 頁,讓探索也能累積 |
lint | 定期健檢 | 找矛盾、過時主張、孤兒頁、缺頁、缺連結、資料缺口,先回報清單讓你挑,再動手修 |
日常對話中不必打指令——說「把這篇加進知識庫」「我讀過的資料對 X 怎麼說」,Claude 會自動觸發對應 skill。
raw/ 根層(收件箱)raw/ 原始來源(內容只讀,source of truth)
(根層) 待處理收件箱:新來源先丟這裡
archive/ 已處理歸檔:ingest 完移入(扁平、不分類)
assets/ 本地圖片
wiki/
index.md 內容目錄:每頁一行 [[連結]] + 一句話摘要
overview.md 演進中的總論(synthesis)
log.md 時序 append-only 紀錄(## [YYYY-MM-DD] <op> | <標題>)
sources/ 來源摘要頁
entities/ 實體頁
concepts/ 概念頁
notes/ query 回存的分析
CLAUDE.md schema:這個 wiki 的結構與慣例,與你共同演進
分類會依主題調整(例如讀書筆記可加 wiki/characters/、wiki/themes/)。
.claude-plugin/
marketplace.json marketplace 定義(名稱:obsidian-wiki)
plugin.json plugin 定義(名稱:obsidian-wiki)
skills/
obsidian_wiki/ 統一入口(dispatcher)
init_wiki/ 初始化建庫(含 CLAUDE.md 模板)
ingest/ 讀入來源
query/ 提問
lint/ 健檢
prompt.md Karpathy 的 LLM Wiki 原文(本 plugin 的設計依據)
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub bruce762/obsidian_knowledge_build --plugin obsidian-wikiFull-market deep analysis pipeline: macro backdrop, sector structure, per-name valuation models, cross-company linkage map, catalyst calendar, and rolling earnings updates. Self-contained bundle of financial-services skills orchestrated end to end.
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
v9.54.1 — Reliability wave: tangle contextual review correction loop with hard round ceiling, progress-supervised review rounds (per-agent stall watch, descendant-tree kills), council diversity and agy pin fixes, marketplace generator source-of-truth fix, provider troubleshooting runbook and cost-expectations docs. Run /octo:setup.
Build and maintain an LLM-curated personal knowledge base with default local FastEmbed + sqlite-vec search, BM25 fusion, structured evidence, incremental caching, and a compiled graph layer.
Connect to Atlassian products including Jira and Confluence. Search and create issues, access documentation, manage sprints, and integrate your development workflow with Atlassian's collaboration tools.
AI-powered wiki generator for code repositories. Generates comprehensive, Mermaid-rich documentation with dark-mode VitePress sites, onboarding guides, deep research, and source citations. Inspired by OpenDeepWiki and deepwiki-open.
Remove signs of AI-generated writing from text, making it sound more natural and human. Based on Wikipedia's "Signs of AI writing" guide.