wiki-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.
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o wiki-setup.zip https://jpskill.com/download/22849.zip && unzip -o wiki-setup.zip && rm wiki-setup.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/22849.zip -OutFile "$d\wiki-setup.zip"; Expand-Archive "$d\wiki-setup.zip" -DestinationPath $d -Force; ri "$d\wiki-setup.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
wiki-setup.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
wiki-setupフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Obsidian セットアップ — Vault の初期化
新しい Obsidian wiki vault をセットアップしている(または既存のものを修復している)状況です。
ステップ 1: .env を作成する
.env が存在しない場合は、.env.example から作成してください。ユーザーに以下の情報を尋ねます。
-
Vault はどこに置くべきですか? →
OBSIDIAN_VAULT_PATH- デフォルト:
~/Documents/obsidian-wiki-vault - (展開後)絶対パスである必要があります。
- デフォルト:
-
ソースドキュメントはどこにありますか? →
OBSIDIAN_SOURCES_DIR- 複数のパスをカンマ区切りで指定できます。
- デフォルト:
~/Documents
-
Claude の履歴をインポートしますか? →
CLAUDE_HISTORY_PATH- デフォルト:
~/.claudeから自動検出されます。 - Claude のデータが別の場所にある場合は明示的に設定してください。
- デフォルト:
-
QMD はインストールされていますか? →
QMD_WIKI_COLLECTION/QMD_PAPERS_COLLECTION/QMD_TRANSPORT- オプションです。
wiki-queryでセマンティック検索を、wiki-ingestでソース検出を有効にします。 - ユーザーがエージェントにローカルの
qmdCLI を直接呼び出させたい場合を除き、デフォルトはQMD_TRANSPORT=mcpです。 - CLI モードを使用する場合、デフォルトで
QMD_CLI_SEARCH_MODE=qualityを設定します。再ランキングが遅すぎる場合はbalancedを提案します。 - 不明な場合は、今はスキップしてください。どちらのスキルも自動的に
Grepにフォールバックします。 - インストール手順:
.env.example(QMD セクション) を参照してください。
- オプションです。
ステップ 2: Vault ディレクトリ構造を作成する
mkdir -p "$OBSIDIAN_VAULT_PATH"/{concepts,entities,skills,references,synthesis,journal,projects,_archives,_raw,.obsidian}
.obsidian/— Obsidian 自身の設定です。Vault の認識を作成します。projects/— プロジェクトごとの知識(インジェスト時に投入されます)。_archives/— 再構築/復元操作のために wiki スナップショットを保存します。_raw/— 未処理のドラフトのステージングエリアです。ここに大まかなメモをドロップすると、wiki-ingestがそれらを適切な wiki ページに昇格させ、元のファイルを削除します。
ステップ 3: 特殊ファイルを作成する
index.md
---
title: Wiki Index
---
# Wiki Index
*このインデックスは自動的に維持されます。最終更新日: TIMESTAMP*
## Concepts
*まだページがありません。最初のソースを追加するには `wiki-ingest` を使用してください。*
## Entities
## Skills
## References
## Synthesis
## Journal
log.md
---
title: Wiki Log
---
# Wiki Log
- [TIMESTAMP] INIT vault_path="OBSIDIAN_VAULT_PATH" categories=concepts,entities,skills,references,synthesis,journal
hot.md
---
title: Hot Cache
updated: TIMESTAMP
---
# Hot Cache
*最近のアクティビティの約 500 語のセマンティックなスナップショットです。主要な書き込み操作のたびに更新されます。*
## Recent Activity
- [TIMESTAMP] INIT — vault created at OBSIDIAN_VAULT_PATH
## Active Threads
*まだありません — ソースのインジェストを開始して投入してください。*
## Key Takeaways
*まだありません。*
## Flagged Contradictions
*まだありません。*
ステップ 4: .obsidian 設定を作成する
すぐに使える良い体験のために、最小限の Obsidian 設定を作成します。
.obsidian/app.json
{
"strictLineBreaks": false,
"showFrontmatter": false,
"defaultViewMode": "preview",
"livePreview": true
}
.obsidian/appearance.json
{
"baseFontSize": 16
}
ステップ 5: Obsidian プラグインを推奨する
ユーザーに、推奨されるコミュニティプラグイン(手動でインストールします)について伝えます。
- Dataview — ページメタデータをクエリし、動的なテーブルを作成します。Wiki には不可欠です。
- Graph Analysis — 接続を探索するための強化されたグラフビューです。
- Templater — テンプレートを使用して手動でページを作成したい場合。
- Obsidian Git — Vault を git リポジトリに自動バックアップします。
ステップ 6: セットアップを確認する
簡単な健全性チェックを実行します。
- [ ] Vault ディレクトリに以下が存在すること:
concepts/,entities/,skills/,references/,synthesis/,journal/,projects/,_archives/,_raw/ - [ ] Vault ルートに
index.mdが存在すること - [ ] Vault ルートに
log.mdが存在すること - [ ] Vault ルートに
hot.mdが存在すること - [ ]
.envにOBSIDIAN_VAULT_PATHが設定されていること - [ ]
.obsidian/ディレクトリが存在すること - [ ] ソースディレクトリ(設定されている場合)が存在し、読み取り可能であること
結果を報告し、ユーザーに以下のことができるようになったことを伝えます。
- Obsidian で vault を開く(ファイル → Vault を開く → ディレクトリを選択)
wiki-statusを実行して、インジェスト可能なものを確認するwiki-ingestを実行して、最初のソースを追加するclaude-history-ingestを実行して、Claude の会話をマイニングするcodex-history-ingestを実行して、Codex セッションをマイニングする(Codex を使用している場合)- いつでも
wiki-statusを再度実行して、差分を確認する
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Obsidian Setup — Vault Initialization
You are setting up a new Obsidian wiki vault (or repairing an existing one).
Step 1: Create .env
If .env doesn't exist, create it from .env.example. Ask the user for:
-
Where should the vault live? →
OBSIDIAN_VAULT_PATH- Default:
~/Documents/obsidian-wiki-vault - Must be an absolute path (after expansion)
- Default:
-
Where are your source documents? →
OBSIDIAN_SOURCES_DIR- Can be multiple paths, comma-separated
- Default:
~/Documents
-
Want to import Claude history? →
CLAUDE_HISTORY_PATH- Default: auto-discovers from
~/.claude - Set explicitly if Claude data is elsewhere
- Default: auto-discovers from
-
Have QMD installed? →
QMD_WIKI_COLLECTION/QMD_PAPERS_COLLECTION/QMD_TRANSPORT- Optional. Enables semantic search in
wiki-queryand source discovery inwiki-ingest. - Default to
QMD_TRANSPORT=mcpunless the user wants the agent to call the localqmdCLI directly. - If using CLI mode, set
QMD_CLI_SEARCH_MODE=qualityby default; suggestbalancedif reranking is too slow. - If unsure, skip for now — both skills fall back to
Grepautomatically. - Install instructions: see
.env.example(QMD section).
- Optional. Enables semantic search in
Step 2: Create Vault Directory Structure
mkdir -p "$OBSIDIAN_VAULT_PATH"/{concepts,entities,skills,references,synthesis,journal,projects,_archives,_raw,.obsidian}
.obsidian/— Obsidian's own config. Creates vault recognition.projects/— Per-project knowledge (populated during ingest)._archives/— Stores wiki snapshots for rebuild/restore operations._raw/— Staging area for unprocessed drafts. Drop rough notes here;wiki-ingestwill promote them to proper wiki pages and delete the originals.
Step 3: Create Special Files
index.md
---
title: Wiki Index
---
# Wiki Index
*This index is automatically maintained. Last updated: TIMESTAMP*
## Concepts
*No pages yet. Use `wiki-ingest` to add your first source.*
## Entities
## Skills
## References
## Synthesis
## Journal
log.md
---
title: Wiki Log
---
# Wiki Log
- [TIMESTAMP] INIT vault_path="OBSIDIAN_VAULT_PATH" categories=concepts,entities,skills,references,synthesis,journal
hot.md
---
title: Hot Cache
updated: TIMESTAMP
---
# Hot Cache
*A ~500-word semantic snapshot of recent activity. Updated after every major write operation.*
## Recent Activity
- [TIMESTAMP] INIT — vault created at OBSIDIAN_VAULT_PATH
## Active Threads
*None yet — start ingesting sources to populate.*
## Key Takeaways
*None yet.*
## Flagged Contradictions
*None yet.*
Step 4: Create .obsidian Configuration
Create minimal Obsidian config for a good out-of-box experience:
.obsidian/app.json
{
"strictLineBreaks": false,
"showFrontmatter": false,
"defaultViewMode": "preview",
"livePreview": true
}
.obsidian/appearance.json
{
"baseFontSize": 16
}
Step 5: Recommend Obsidian Plugins
Tell the user about these recommended community plugins (they install manually):
- Dataview — Query page metadata, create dynamic tables. Essential for a wiki.
- Graph Analysis — Enhanced graph view for exploring connections.
- Templater — If they want to create pages manually using templates.
- Obsidian Git — Auto-backup the vault to a git repo.
Step 6: Verify Setup
Run a quick sanity check:
- [ ] Vault directory exists with:
concepts/,entities/,skills/,references/,synthesis/,journal/,projects/,_archives/,_raw/ - [ ]
index.mdexists at vault root - [ ]
log.mdexists at vault root - [ ]
hot.mdexists at vault root - [ ]
.envhasOBSIDIAN_VAULT_PATHset - [ ]
.obsidian/directory exists - [ ] Source directories (if configured) exist and are readable
Report the results and tell the user they can now:
- Open the vault in Obsidian (File → Open Vault → select the directory)
- Run
wiki-statusto see what's available to ingest - Run
wiki-ingestto add their first sources - Run
claude-history-ingestto mine their Claude conversations - Run
codex-history-ingestto mine their Codex sessions (if they use Codex) - Run
wiki-statusagain anytime to check the delta