wiki-query
Skill3 starsChanged 2 months agoMITView on GitHub
Obsidian Vault の LLM wiki (wiki/concept/) に問い合わせ、[[ ]] 出典付きで合成回答する query。vault セッションだけでなく研究 repo (AKC / AAP / contemplative / authorship 等) のセッションからも呼べる。複数ページを横断して合成した良回答は書き戻しプロトコルで wiki/concept/ に filing する(Karpathy 原典 parity、read-write)。Use when the user invokes /wiki-query <問い>, asks 「wiki に聞いて」「wiki ではどうなってる?」, or when working in a research repo and a synthesized understanding of past daily-research notes would answer the question faster than grep. NOT for source の新規取り込み・wiki 全体の健全性チェック (それらは vault セッション専用の /ingest・/lint-wiki)。
25 other projects use a version of this.
Adopted by
Most recently taken up by
- hmjBill/skillstheir own version, first seen Oct 5, 2026
- juanitourquiza/shipframetheir own version, first seen Oct 1, 2026
- rohitg00/pro-workflowtheir own version, first seen Sep 29, 2026
- nathanaday/atlas-obsidiantheir own version, first seen Sep 28, 2026
- dexio-wiki/llm-wiki-skillstheir own version, first seen Sep 28, 2026
- AgriciDaniel/claude-obsidiantheir own version, first seen Sep 10, 2026
Used with
Projects with it also use wiki-capture, wiki-lint and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
jehrhardtSkillwiki-capture
Quickly capture raw thoughts, links, images, or notes to today's Obsidian daily note from anywhere in Pi. Use when the user wants to jot something down for later wiki processing.
Also in 4 projects that use this
graypirateSkillwiki-lint
Run a health check on the user's wiki. Use when the user asks to lint, audit, clean up, check, or fix the wiki — or when they suspect orphans, broken wikilinks, stale pages, missing frontmatter, or contradictions between pages. Combines structural checks (zero token cost) with semantic review (LLM reasoning).
Also in 18 projects that use this
Ivy-Chen1999Skillwiki-setup
Initialize a new Obsidian wiki vault with the correct structure, special files, and configuration. Use this skill when the user wants to set up a new wiki from scratch, initialize the vault structure, create the .env file, or says things like "set up my wiki", "initialize obsidian", "create a new vault", "get started with the wiki". Also use when the user needs to reconfigure their existing vault or fix a broken setup.
Also in 3 projects that use this
justvinhhereSkillwiki-review
Use when the user runs /review, says "show pending changes", "what's uncommitted", or wants an audit of uncommitted wiki edits before they land in history. Narrates uncommitted changes, flags structural issues scoped to those changes, and commits them with a conventional subject. Fully automatic.
Also in 4 projects that use this
joeseesunSkilldefuddle
Extract clean article content from web pages or local HTML files. Removes clutter (ads, sidebars, nav) and returns readable content with metadata.
Also in 4 projects that use this
javatarzSkillwiki
Access and manage the local GitHub Wiki clone. Use this skill when you need to read wiki content (architecture, design docs, guides), update wiki documentation, check wiki status, or push wiki changes. The wiki contains high-level system design and architectural documentation.
Also in 3 projects that use this
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 25
- AgriciDaniel/claude-obsidian★ 15ksame name
- rohitg00/pro-workflow★ 2.9ksame name
- kfchou/wiki-skills★ 187same name
- bozhouDev/bozhou-skills★ 78same name
- vanillaflava/llm-wiki-skills★ 69same name
- cookyman74/llmwiki-harness★ 34same name
- Ivy-Chen1999/llm-wiki-kit★ 21same name
- CarbeneAI/Forge★ 9same name
- crabin/llm-wiki★ 9same name
- Xipher-Labs/walter-os★ 8same name
15 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository50 other files it gives its agents.
- llms-full.txtllms.txt
- llms.txtllms.txt
- adr-writerSkill
- agent-stocktakeSkill
- author-calibrated-evalSkill
- authorship-strategySkill
- collect-contextSkill
- context-syncSkill
- generation-auditSkill
- git-workflowSkill
- growth-astraSkill
- growth-fableSkill
- harness-boundarySkill
- harness-syncSkill
- headline-craftSkill
- herdr-delegateSkill
- hf-syncSkill
- implementation-chainSkill
- jev-judgment-designSkill
- jev-skill-routerSkill
- jsonld-knowledge-graphSkill
- learn-evalSkill
- llm-as-judgeSkill
- llms-txt-writerSkill
- measurement-disciplineSkill
- mono-figureSkill
- prompt-perturbSkill
- prose-translationSkill
- public-commentSkill
- readme-writerSkill
- release-doiSkill
- repair-disciplineSkill
- repo-asset-stocktakeSkill
- review-to-lintSkill
- review-when-watchSkill
- rfc-writerSkill
- rules-distillSkill
- rules-stocktakeSkill
- search-firstSkill
- session-judgment-miningSkill
- skill-complySkill
- skill-creatorSkill
- skill-healthSkill
- skill-stocktakeSkill
- spawn-sessionSkill
- task-stocktakeSkill
- task-triageSkill
- verify-bootstrapSkill
- wiki-harvestSkill
- x-draftSkill
The file
Files
wiki-query — LLM wiki への出典付き問い合わせ
Obsidian Vault 内の LLM wiki に問い合わせ、出典 [[ ]] を明記した合成回答を返す。
複数ページを横断して合成した良回答は wiki に書き戻す(filing)。
パターンの出自: wiki の運用モデル(LLM がメンテする markdown wiki、人間は curation と問いに集中)と query 書き戻し("good answers can be filed back into the wiki as new pages")は Andrej Karpathy の「LLM Wiki」構想に由来する。この skill ファイル自体は shimo4228 の実装。
このファイルが query 手順の正本。vault の CLAUDE.md §8-query はここに defer する。
Vault パス(固定)
VAULT="$HOME/Library/Mobile Documents/iCloud~md~obsidian/Documents/Obsidian Vault"- 概念ページ:
$VAULT/wiki/concept/<概念名>.md - インデックス:
$VAULT/wiki/index.md - 構造グラフ:
$VAULT/wiki/graph.jsonld(symlink →~/MyAI_Lab/daily-research/graph.jsonld) - 原資料:
$VAULT/daily-research/,$VAULT/archive/
制約
- source 層は不変:
daily-research/archive/99_Attachment/には書き込まない。 - 書き込み対象は
wiki/concept/+wiki/log.md+ index 再生成のみ。source の新規取り込み(ingest)と wiki 全体の lint は vault セッション専用のまま。 - Obsidian 起動中に vault の .md を書かない(iCloud 同期競合)。書き戻し手順 1 のチェックを必ず通す。
- iCloud dataless プレースホルダに注意: 読んだファイルの本文が空なら未ダウンロードの可能性。その旨を報告する。
手順(query)
$VAULT/wiki/index.mdを Read し、問いに関連しそうな concept ページを特定する。- 該当 concept ページを Read する(複数可)。必要なら「言及ソース」節が指す
daily-research/ノートまで遡って Read する。 - 構造的な問い(このクラスタに属する記事は?クラスタ間の関係は?)には
wiki/graph.jsonldを、合成された理解には concept ページを使い、相互補完する。 - 出典(
[[ ]])を明記して合成回答する。claim ごとに、どの concept ページ / daily-research ノート由来かが追えること。 - wiki に該当が無ければ「未 ingest」と明言し、vault セッションで
/ingestすることを提案する(このセッションで ingest を代行しない)。 - 回答が下記の filing 基準を満たすなら、書き戻しを実行する。
書き戻し(query filing)
Filing 基準
filing するのは、複数の concept ページ / ソースを横断して新しく合成された比較・分析・概念間の接続だけ。
- 単一ページの言い換え・要約 → filing しない(既にページがある)
- wiki 外の知識だけで答えた回答 → filing しない(それは ingest の領域)
- 迷ったら filing しない — wiki の信頼性 > 網羅性(原典: 不正確な回答を wiki に残さない)
形は 2 通り: 新規 concept ページ(合成が独立した概念単位になる場合)か、既存ページへの統合(既存概念の「主要な主張」「関連概念」「オープンクエスチョン」に足す場合)。
Filing 手順
- Obsidian チェック:
pgrep -x Obsidian。起動中なら graceful 終了(osascript -e 'quit app "Obsidian"'→ 数秒待って再確認)。終了できなければ filing を skip し、その旨と filing 候補の内容を報告する(回答自体は返してよい)。 - 名寄せ:
wiki/index.mdと$VAULT/scripts/tag_consolidate.pyのTAG_MERGE_MAPを確認し、新規ページか既存ページ統合かを決める。表記揺れ・英語名は新タグを作らず正規形 +aliasesで吸収。 - 新規ページは下記骨格で
wiki/concept/<正規概念名>.mdに作成。ファイル名 =# 見出し= 正規タグを一致させる。関連概念に最低 2 リンクを張り、相手ページの「関連概念」節にも逆リンクを追記する(孤立ページを作らない)。 - 出典規律: wiki 由来の claim は
[[ ]]リンク。研究 repo 由来の claim は repo 名 + ファイルパスを素のテキストで併記する(repo へは wikilink を張れないが provenance は残す)。 - log 追記:
wiki/log.mdに## [YYYY-MM-DD] query-filing | <問い> → [[<concept>]]を 1 行追記。 - index 再生成 + 検証:
cd "$VAULT" && /opt/homebrew/bin/python3 scripts/wiki_index.py --apply && /opt/homebrew/bin/python3 scripts/wiki_lint.py。lint がエラーを出したら自分の filing 分を修正する。
骨格
正本は vault CLAUDE.md §5。複製を置かない — 研究 repo セッションからは vault の
canon が自動ロードされないので写したくなるが、写した版は必ず drift する(2026-08-23 の
stocktake 時点で、この節の旧複製は ## 矛盾・論争 を落としており、それは wiki-harvest
Step 2 category ② が収穫する節だった。この skill 経由で filing したページが収穫面を
欠いたまま生まれていた)。filing の直前に読む:
sed -n '/^## 5\./,/^## 6\./p' "$VAULT/CLAUDE.md"節構成の要点だけ(値は上のコマンドが正): frontmatter(category / type / status /
tags / aliases / topic / source)→ # 概念名 → ## 定義 → ## 主要な主張 (Key Claims)
→ ## 関連概念 → ## オープンクエスチョン → ## 矛盾・論争(無ければ節ごと省略可)→
## 言及ソース(wiki_index.py が自動生成。手で編集しない)。
ファイル名 = # 見出し = tags の正規タグを一致させる。
研究 repo からの利用
研究 repo(wiki↔repo 対話的還元ループの対象 repo)から呼んだ場合も手順は同一。追加の注意:
- 回答を repo の docs / ADR に取り込む際は、wiki の concept ページではなく一次出典(daily-research ノートが引く元文献)まで遡って引用する(wiki は二次合成であり drift しうる)。
- 研究 repo の文脈で合成された理解は filing の最有力候補(最も文脈豊富なセッションで生まれた接続を chat history に消さない)。repo 固有の実装詳細そのものは filing せず、概念レベルの合成だけを filing する。
- repo 側に還元したいのが「1 問の答え」でなく「wiki 全体から拾える候補」なら
wiki-harvest。あちらは read-only で走査して一次出典つきのランク付き台帳を.notes/に生成する(本 skill は chat 上の自由質問 + filing で read-write)。 filing した節は harvest の入力になる — 特に## 矛盾・論争は category ② として 収穫されるので、埋めておくと後で効く。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

