jpskill.com
📦 その他 コミュニティ

wiki-query

Obsidian wiki vault内の情報を、質問に応じて高速検索し、関連ページを引用しながら分かりやすく回答を生成、さらに優秀な回答はwikiページとして保存することで、知識を蓄積・活用するSkill。

📜 元の英語説明(参考)

Answer questions using the Obsidian wiki vault. Reads hot cache first, then index, then relevant pages. Synthesizes answers with citations. Files good answers back as wiki pages. Supports quick, standard, and deep modes. Triggers on: what do you know about, query:, what is, explain, summarize, find in wiki, search the wiki, based on the wiki, wiki query quick, wiki query deep.

🇯🇵 日本人クリエイター向け解説

一言でいうと

Obsidian wiki vault内の情報を、質問に応じて高速検索し、関連ページを引用しながら分かりやすく回答を生成、さらに優秀な回答はwikiページとして保存することで、知識を蓄積・活用するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o wiki-query.zip https://jpskill.com/download/10559.zip && unzip -o wiki-query.zip && rm wiki-query.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/10559.zip -OutFile "$d\wiki-query.zip"; Expand-Archive "$d\wiki-query.zip" -DestinationPath $d -Force; ri "$d\wiki-query.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して wiki-query.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → wiki-query フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

wiki-query: Wiki のクエリ

Wiki はすでに合成作業を終えています。戦略的に読み、正確に答え、知識が蓄積されるように良い回答をファイルに保存してください。


クエリモード

3つの深さがあります。質問の複雑さに応じて選択してください。

モード トリガー 読み込み トークンコスト 最適な用途
Quick query quick: ... または単純な事実に関する質問 hot.md + index.md のみ ~1,500 「Xとは何ですか?」、日付の検索、簡単な事実
Standard デフォルト (フラグなし) hot.md + index + 3-5ページ ~3,000 ほとんどの質問
Deep query deep: ... または「徹底的な」、「包括的な」 Wiki全体 + オプションでウェブ ~8,000+ 「AとBをあらゆる面から比較する」、合成、ギャップ分析

Quick モード

回答がホットキャッシュまたはインデックスの概要にある可能性が高い場合に使用します。

  1. wiki/hot.md を読みます。質問に答えることができる場合は、すぐに回答してください。
  2. そうでない場合は、wiki/index.md を読みます。回答の説明をスキャンします。
  3. インデックスの概要で見つかった場合は、回答し、ページを開かないでください。
  4. 見つからない場合は、「Quickキャッシュにありません。Standardクエリとして実行しますか?」と答えます。

Quickモードでは、個々のWikiページを開かないでください。


Standard クエリのワークフロー

  1. まず wiki/hot.md読みます。すでに回答があるか、直接関連するコンテキストがある可能性があります。
  2. wiki/index.md読み、最も関連性の高いページを見つけます(タイトルと説明をスキャンします)。
  3. これらのページを読みます。主要なエンティティについては、wikilink をたどって深さ2まで読みます。それ以上深くは読みません。
  4. チャットで回答を合成します。wikilink を使用してソースを引用します: (Source: [[Page Name]])
  5. 回答をファイルに保存することを提案します: 「この分析は保存する価値があるようです。wiki/questions/answer-name.md として保存しますか?」
  6. 質問がギャップを明らかにした場合は、「Xに関する情報が不足しています。ソースを見つけたいですか?」と答えます。

Deep モード

合成の質問、比較、または「Xについてすべて教えてください」という質問に使用します。

  1. wiki/hot.mdwiki/index.md を読みます。
  2. 関連するすべてのセクション(概念、エンティティ、ソース、比較)を特定します。
  3. 関連するすべてのページを読みます。スキップしないでください。
  4. Wiki のカバレッジが薄い場合は、ウェブ検索で補足することを提案します。
  5. 完全な引用を含む包括的な回答を合成します。
  6. 結果は必ず Wiki ページとしてファイルに保存してください。Deepな回答は失うにはあまりにも貴重です。

トークンの節約

必要な最小限のものを読みます。

開始 コスト (概算) 停止するタイミング
hot.md ~500 トークン 回答がある場合
index.md ~1000 トークン 3〜5個の関連ページを特定できる場合
3〜5個の Wiki ページ 各〜300 トークン 通常は十分
10個以上の Wiki ページ 高価 Wiki 全体での合成の場合のみ

hot.md に回答がある場合は、それ以上読まずに回答してください。


インデックス形式のリファレンス

マスターインデックス (wiki/index.md) は次のようになります。

## Domains
- [[Domain Name]]: 説明 (N ソース)

## Entities
- [[Entity Name]]: 役割 (最初: [[Source]])

## Concepts
- [[Concept Name]]: 定義 (ステータス: 開発中)

## Sources
- [[Source Title]]: 著者、日付、タイプ

## Questions
- [[Question Title]]: 回答の概要

最初にセクションヘッダーをスキャンして、どのセクションを読み取るかを決定します。


ドメインサブインデックス形式

各ドメインフォルダには、焦点を絞った検索のための _index.md があります。

---
type: meta
title: "Entities Index"
updated: YYYY-MM-DD
---
# Entities

## People
- [[Person Name]]: 役割、組織

## Organizations
- [[Org Name]]: 彼らが何をするか

## Products
- [[Product Name]]: カテゴリ

質問が1つのドメインに限定されている場合は、サブインデックスを使用します。狭いクエリの場合は、完全なマスターインデックスを読まないでください。


回答のファイルへの保存

良い回答は Wiki に蓄積されます。洞察がチャット履歴に消えないようにしてください。

回答をファイルに保存する場合:

---
type: question
title: "短い説明的なタイトル"
question: "質問されたとおりの正確なクエリ。"
answer_quality: solid
created: YYYY-MM-DD
updated: YYYY-MM-DD
tags: [question, <domain>]
related:
  - "[[回答で参照されているページ]]"
sources:
  - "[[wiki/sources/relevant-source.md]]"
status: developing
---

次に、ページ本文として回答を記述します。引用を含めます。言及されているすべての概念またはエンティティをリンクします。

ファイルに保存した後、Questions の下の wiki/index.md にエントリを追加し、wiki/log.md に追加します。


ギャップの処理

Wiki から質問に答えられない場合:

  1. 明確に答えます: 「この質問にうまく答えるのに十分な情報が Wiki にありません。」
  2. 特定のギャップを特定します: 「[サブトピック] に関する情報がありません。」
  3. 提案します: 「これに関するソースを見つけたいですか?検索または処理をお手伝いできます。」
  4. でっち上げないでください。質問がこの Wiki の特定のドメインに関するものである場合は、トレーニングデータから回答しないでください。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

wiki-query: Query the Wiki

The wiki has already done the synthesis work. Read strategically, answer precisely, and file good answers back so the knowledge compounds.


Query Modes

Three depths. Choose based on the question complexity.

Mode Trigger Reads Token cost Best for
Quick query quick: ... or simple factual Q hot.md + index.md only ~1,500 "What is X?", date lookups, quick facts
Standard default (no flag) hot.md + index + 3-5 pages ~3,000 Most questions
Deep query deep: ... or "thorough", "comprehensive" Full wiki + optional web ~8,000+ "Compare A vs B across everything", synthesis, gap analysis

Quick Mode

Use when the answer is likely in the hot cache or index summary.

  1. Read wiki/hot.md. If it answers the question, respond immediately.
  2. If not, read wiki/index.md. Scan descriptions for the answer.
  3. If found in index summary, respond and do not open any pages.
  4. If not found, say "Not in quick cache. Run as standard query?"

Do not open individual wiki pages in quick mode.


Standard Query Workflow

  1. Read wiki/hot.md first. It may already have the answer or directly relevant context.
  2. Read wiki/index.md to find the most relevant pages (scan for titles and descriptions).
  3. Read those pages. Follow wikilinks to depth-2 for key entities. No deeper.
  4. Synthesize the answer in chat. Cite sources with wikilinks: (Source: [[Page Name]]).
  5. Offer to file the answer: "This analysis seems worth keeping. Should I save it as wiki/questions/answer-name.md?"
  6. If the question reveals a gap: say "I don't have enough on X. Want to find a source?"

Deep Mode

Use for synthesis questions, comparisons, or "tell me everything about X."

  1. Read wiki/hot.md and wiki/index.md.
  2. Identify all relevant sections (concepts, entities, sources, comparisons).
  3. Read every relevant page. No skipping.
  4. If wiki coverage is thin, offer to supplement with web search.
  5. Synthesize a comprehensive answer with full citations.
  6. Always file the result back as a wiki page. Deep answers are too valuable to lose.

Token Discipline

Read the minimum needed:

Start with Cost (approx) When to stop
hot.md ~500 tokens If it has the answer
index.md ~1000 tokens If you can identify 3-5 relevant pages
3-5 wiki pages ~300 tokens each Usually sufficient
10+ wiki pages expensive Only for synthesis across the entire wiki

If hot.md has the answer, respond without reading further.


Index Format Reference

The master index (wiki/index.md) looks like:

## Domains
- [[Domain Name]]: description (N sources)

## Entities
- [[Entity Name]]: role (first: [[Source]])

## Concepts
- [[Concept Name]]: definition (status: developing)

## Sources
- [[Source Title]]: author, date, type

## Questions
- [[Question Title]]: answer summary

Scan the section headers first to determine which sections to read.


Domain Sub-Index Format

Each domain folder has a _index.md for focused lookups:

---
type: meta
title: "Entities Index"
updated: YYYY-MM-DD
---
# Entities

## People
- [[Person Name]]: role, org

## Organizations
- [[Org Name]]: what they do

## Products
- [[Product Name]]: category

Use sub-indexes when the question is scoped to one domain. Avoid reading the full master index for narrow queries.


Filing Answers Back

Good answers compound into the wiki. Don't let insights disappear into chat history.

When filing an answer:

---
type: question
title: "Short descriptive title"
question: "The exact query as asked."
answer_quality: solid
created: YYYY-MM-DD
updated: YYYY-MM-DD
tags: [question, <domain>]
related:
  - "[[Page referenced in answer]]"
sources:
  - "[[wiki/sources/relevant-source.md]]"
status: developing
---

Then write the answer as the page body. Include citations. Link every mentioned concept or entity.

After filing, add an entry to wiki/index.md under Questions and append to wiki/log.md.


Gap Handling

If the question cannot be answered from the wiki:

  1. Say clearly: "I don't have enough in the wiki to answer this well."
  2. Identify the specific gap: "I have nothing on [subtopic]."
  3. Suggest: "Want to find a source on this? I can help you search or process one."
  4. Do not fabricate. Do not answer from training data if the question is about the specific domain in this wiki.