wiki-mode
できること
このスキルは、Obsidianの保管庫に選んだ整理方法を読み取り、新しいノートをどこに置くべきかを提案します。ノートを一貫した体系で整理したい人向けです。
使う場面
- ✓保管庫がどの整理方法を使っているかを知りたいとき。
- ✓保管庫を、PARA、LYT、Zettelkastenなど別の方法に切り替えたいとき。
- ✓新しいノートを作るときに、どのフォルダーに入れるべきかを知りたいとき。
スキルのリンク
https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/wiki-mode/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私の保管庫の設定を踏まえて、新しいクライアントプロジェクトのノートをどのフォルダーに入れるべきか教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、保存された整理方法の設定を読み、ヘルパーに提案される置き場所を尋ねます。提案だけを行い、ノートの保存や既存のノートの移動はしません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Route by vault methodology
This skill returns filing suggestions. It does not write knowledge pages or
move existing notes. If .vault-meta/mode.json is absent, use generic. If
the file exists but is invalid, fail closed and repair it through a reviewed
configuration operation before suggesting routes; never silently substitute
Generic for corrupt user configuration.
Resolve the installed product root from this skill's own location, not from the vault or current working directory:
PRODUCT_ROOT=/absolute/path/to/installed/claude-obsidian
CORE="$PRODUCT_ROOT/scripts/claude-obsidian.py"
MODE_HELPER="$PRODUCT_ROOT/scripts/wiki-mode.py"
test -f "$CORE" && test -f "$MODE_HELPER"
Every ../wiki/references/ link in this file resolves the same way, relative
to this skill's own directory under $PRODUCT_ROOT, never relative to the
selected vault's wiki/ directory.
Read and route safely
Always select the vault explicitly:
python3 "$MODE_HELPER" --vault "$VAULT" get
python3 "$MODE_HELPER" --vault "$VAULT" config
python3 "$MODE_HELPER" --vault "$VAULT" route concept "Concept name"
python3 "$MODE_HELPER" --vault "$VAULT" route source "Source title"
The helper validates the selected vault, confines paths, sanitizes names, and prints a suggestion only. A calling skill may override the suggestion when the user supplies a more specific project, area, MOC, or parent note, but it must still apply its eventual writes through one operation transaction.
| Mode | Routing intent |
|---|---|
generic |
Type-based folders such as sources, entities, concepts, and sessions. |
lyt |
Atomic notes under wiki/notes/, connected through MOCs. |
para |
Projects, Areas, Resources, or Archives chosen by actionability. |
zettelkasten |
Flat atomic notes with time-sortable, collision-resistant identifiers and explicit links. |
Use the templates as structural guidance: LYT atomic,
LYT MOC, PARA area,
PARA project,
PARA resource, or
Zettelkasten atomic. They use canonical
type values from claude_obsidian/page_schema.py and a separate flat
methodology_role property:
| Template | Type | Methodology role |
|---|---|---|
| LYT atomic | concept |
atomic |
| LYT MOC | meta |
moc |
| PARA area | concept |
area |
| PARA project | entity |
project |
| PARA resource collection | concept |
resource |
| Zettelkasten atomic | concept |
zettel |
A resource template describes a topic collection. Use source instead when the
new page represents a particular captured source. The methodology role does not
add a router type: pass the canonical type and respect the chosen project, area,
or MOC destination. Structural MOCs use an explicit destination; meta is not a
routable new-note type. Existing user pages, custom type vocabularies, and saved
Dataview queries remain unchanged. Any requested migration needs its own reviewed
plan; switching mode never rewrites existing notes.
Change mode
A mode change is one configuration operation, dry-run first:
Read the current
.vault-meta/mode.json, or start from the helper's default config when it is absent.Validate the requested mode as exactly
generic,lyt,para, orzettelkasten. Preserve the other mode-specific settings.Choose and retain a pinned UTC timestamp and operation ID for both commands.
Preview the canonical configuration transaction; the command records the current target hash and limits the write to
.vault-meta/mode.json:python3 "$CORE" mode set "$MODE" --vault "$VAULT" \ --generated-at "$GENERATED_AT" --operation-id "$OPERATION_ID"Show the old mode, new mode, exact changed path, and complete preview. Copy its
approved_plan_sha256only after review.Apply by regenerating that exact vault-bound plan:
python3 "$CORE" mode set "$MODE" --vault "$VAULT" \ --generated-at "$GENERATED_AT" --operation-id "$OPERATION_ID" \ --approved-plan-sha256 "$APPROVAL_SHA256" --apply
Follow the operation transaction contract.
Do not use scripts/wiki-mode.py's legacy direct-write set action or a setup
script to bypass this workflow.
Changing mode affects routing for future
よくある質問
整理方法を変えたとき、ノートは移動しますか?
いいえ。このスキルは既存のノートを移行したり移動したりせず、提案だけを返します。
設定がない場合はどうなりますか?
設定ファイルがない場合、保管庫は汎用の方法を使います。
新しい内容を保存しますか?
いいえ。このスキルは置き場所を提案するだけで、保存は別のスキルが扱います。
詳細
作者による元の説明
Read or configure the vault filing methodology and suggest destinations for planned knowledge creation under Generic, LYT, PARA, or Zettelkasten. Use for wiki mode, methodology mode, what is my vault mode, set vault mode, switch to PARA, use LYT, Zettelkasten setup, change mode, configure mode, or methodology routing. This skill does not save content or migrate notes.
人気
- GitHubのスター
- 16k
- ランキング
- #10815
- ライセンス
- MIT
- 更新日
- 2026/10/25
コメント
- …
このリポジトリの他のスキル
autoresearch
16kエージェントが、決められた範囲内で話題を調べ、出典付きのレポートを下書きできるよう支援します。Web上の発見は自動でノートに追加されません。
canvas
16kエージェントが、Obsidianでノート、ファイル、リンク、グループを含む視覚的なボードを作成、更新できるよう支援します。地図や空間的なレイアウトに役立ちます。
defuddle
16kエージェントが、Webページを読みやすいテキストに整える計画を立て、ソースファイルのローカルコピーを保存できるよう支援します。
obsidian-bases
16kエージェントが、フィルター、数式、表やカードのレイアウトを使い、簡単なデータベースのように働くObsidian Basesのビューを設計できるよう支援します。