Obsidian(ノート整理アプリ)のコンテンツマップ、ウィキリンク(ノート間のリンク機能)、メタデータ(ノートの属性情報)、ダッシュボード、孤立ノートの検出、整理ワークフローを使って、ノート保管庫を体系的に整理します。 **次のような場合に使用**: ユーザーが「Obsidian」という名前、「vault(保管庫)」、またはウィキリンク「[[ ]]」、DataviewやBasesなどのプラグイン、Obsidianのプロパティなど、Obsidian固有の機能に明確に言及した場合のみ。 このプラグインはObsidian環境内で以下に対応しています: - コンテンツマップ(ノート間の関連性を示す索引)の作成 - ウィキリンクの追加・修正 - 他のノートからリンクされていない孤立ノートの検出 - メタデータの形式統一 - Dataview・Basesを使ったダッシュボード生成 - フォルダ構成の最適化 - ノートの重複排除・名前変更 - AI連携に向けた保管庫の準備 **使用しないでください**: 一般的なノート作成、Markdown、ナレッジベース(知識管理システム)など、Obsidianに言及していない依頼には対応していません。
Organize Obsidian vaults with MOCs, wikilinks, frontmatter/properties, dashboards, orphan-note checks, and cleanup workflows. Use ONLY when the user explicitly refers to Obsidian — by naming "Obsidian", an Obsidian "vault", or an Obsidian-specific feature such as wikilinks ("[[ ]]"), the Dataview or Bases plugins, or Obsidian Properties. Within that Obsidian context it covers creating Maps of Content, adding/fixing wikilinks, finding orphan notes, normalizing YAML frontmatter, generating Dataview/Bases dashboards, organizing folders, deduplicating or renaming notes, and preparing the vault for AI use. Do NOT use this skill for generic note-taking, Markdown, or knowledge-base requests that don't mention Obsidian.
ユーザーが Obsidian vault を整理・維持する支援:MOC と wikilink でナビゲーションを構築、メタデータを正規化、ダッシュボードを生成、孤立したノートを検出・修正、フォルダを整理、重複排除・リネーム、AI 活用向けの vault を準備する。
Obsidian固有の仕様(すべてのルールの基礎):
[[Note title]]。Obsidian内でノートをリネームすると、リンクが自動的に更新されるが、Obsidian外でファイルを移動するとリンクが壊れる — 可能な限り常に Obsidian 内でリネームすること。実行前に、vault のルートフォルダを確認し、ユーザーが Dataview plugin をインストール済みか確認する(Bases は Obsidian 1.9 以降に組み込み)。リクエストが曖昧な場合(整理 vs. クリーンアップ vs. ダッシュボード)、どのタスクかを質問する。
[[Three laws of motion]] — ファイル名で解決、拡張子やパスは含まない。[[atomic-habits|James Clear — Atomic Habits]]。[[Note#Section]]。ブロックリンク:[[Note#^block-id]]。![[Note]]、![[Note#Section]]、![[image.png]]。aliases property を追加して、別の名前でノートを解決できるようにする。# | ^ : % と [ ] は避ける — これらはリンク内で特別な意味を持つ。リンク追加時は unlinked mentions(unlinked 提及)も明らかにする:ノートのタイトルが他のノートにプレーンテキストとして現れた場合、それらを wikilink に変換する。
MOC は関連するノートをトピック上でリンクするノート — vault のナビゲーション層(フォルダやタグより柔軟で、制度的知識が不要)。
慣例:
tags: [moc](または type: moc property)して、すべての MOC が自身も検出可能にする。MOC テンプレート:
---
type: moc
tags: [moc]
updated: 2026-06-18
---
# Auth — Map of Content
認証、セッション、アクセス制御に関するノート。
## Core
- [[auth-flow]]
- [[session-tokens]]
## Related MOCs
- [[security-moc]]
すべてのノートに一貫した property ブロックを追加。推奨される基本形:
---
title: Session tokens
aliases: [tokens, session token]
tags: [auth, security]
type: note # note | moc | dashboard | template | person | project
created: 2026-06-18
updated: 2026-06-18
status: evergreen # seedling | growing | evergreen
related: ["[[auth-flow]]"]
---
ルール:
auth/tokens)は可。tag が増殖しないようにする。tags に # は不要。日付は ISO YYYY-MM-DD 形式。created、created/date/Created ではなく)して、残りを移行する。ユーザーのセットアップに基づいてエンジンを選択:
Bases(ネイティブ、編集可能、高速 — 運用ボード向けが最適):
.base ファイルまたは base コードブロックを作成;property からテーブル/ボードビューが構築される。各セルは基礎となるノートの frontmatter を編集する。Dataview(plugin、読み取り専用、最柔軟 — レポート/自動 MOC 向けが最適):
TABLE status, updated, tags
FROM #auth
WHERE type = "note"
SORT updated DESC
トピック内のすべてを対象とした自動 MOC:
LIST FROM #auth WHERE type != "moc" SORT file.name ASC
最近更新されたノート:
TABLE updated FROM "" WHERE updated >= date(today) - dur(7 days) SORT updated DESC
注:大規模 vault では重い Dataview クエリがラグを引き起こす可能性 — そこでは Bases を優先する。
孤立ノートはインバウンドまたはアウトバウンドリンクを持たないノート。検出・修正するには:
Desktop Commander から(アプリ不要、大規模 vault にスケール):vault で [[ ]] リンクを各ノートのタイトルに対して start_search — ゼロヒットはインバウンドリンク無し(unlinked ノート);真の孤立(インバウンドかつアウトバウンドなし)を確認するには、ノート自身の本体で [[...]] もスキャンする。同じ検索で unlinked mentions([[ ]] でラップされていないプレーンテキストのタイトル)と broken links(ファイルが欠落している [[target]])も明らかにする。
Graph view(Cmd/Ctrl+G):孤立ノートは端の孤立した点として浮上する。
Dataview query でリンクなしのノートを検出:
LIST WHERE length(file.inlinks) = 0 AND length(file.outlinks) = 0
各孤立ノートについて:関連 MOC/ノートからリンク(edit_block で wikilink を挿入)、#needs-link でタグ付けしてバッチ処理、または廃止なら保存。
unlinked mentions を実際の wikilink に変換し、edit_block で broken links を修正;残りは Obsidian の右サイドバーから解決する。
フォルダは大ざっぱなバケット;MOC + tag が本当の整理を行う。フォルダをネストさせすぎない。
実用的なレイアウト:
00-inbox/ # unsorted captures
10-notes/ # atomic notes
20-mocs/ # maps of content
30-projects/
90-assets/ # images/attachments
99-archive/
templates/
Settings で attachment folder を設定して、埋め込みが 90-assets/ に着地するようにする。
移動・リネームは Obsidian 内で実施 して wikilink を自動的に更新 — move_file は使用しない、すべての [[link]] を壊す。Desktop Commander からは、content のみ編集(edit_block / write_file);移動・リネームはアプリ内でユーザーに任せる。
start_search してほぼ同一のノートを検出;1 つにマージし、最もリンク数の多いファイル名を保持、edit_block で固有コンテンツをコピー、破棄予定ノートへのインバウンド [[links]] を start_search して削除前にリポイント。F2)してバックリンクを更新 — move_file 経由ではなく。広くリファレンスされていた場合は、古い名前の aliases エントリを保持。summary/description property を記述(素早いスキャン向け)。[[ ]] をパースできない場合は wikilink を標準 Markdown リンクにエクスポート検討。write_file → ノートの中を edit_block してリンク → Home MOC をリフレッシュ → unlinked mentions を変換。read_multiple_files → 標準名を選択 → 各ノートを edit_block → ベースライン property を追加。start_search → 重複排除 → 何が変更されたか報告(リネームは Obsidian に留まる)。write_file。updated がバンプされている。Help the user organize and maintain an Obsidian vault: build navigation with MOCs and wikilinks, normalize metadata, generate dashboards, find and fix orphans, organize folders, deduplicate/rename, and prepare the vault for AI use.
Obsidian-specific facts that shape every rule here:
[[Note title]].
Renaming a note auto-updates links inside Obsidian, but moving files outside
Obsidian breaks them — always rename via Obsidian when possible.Before acting, confirm the vault's root folder and whether the user has the Dataview plugin installed (Bases is built in since Obsidian 1.9). When a request is ambiguous (organize vs. clean up vs. dashboard), ask which task.
[[Three laws of motion]] — resolves by filename, no extension/path.[[atomic-habits|James Clear — Atomic Habits]].[[Note#Section]]. Block link: [[Note#^block-id]].![[Note]], ![[Note#Section]], ![[image.png]].aliases property so the note resolves under other names.# | ^ : % and [ ] in filenames — they have special meaning in links.When adding links, also surface unlinked mentions: if a note's title appears as plain text in other notes, convert those to wikilinks.
A MOC is a note that links the related notes on a topic — the vault's navigation layer (more flexible than folders or tags, and needs no institutional knowledge).
Conventions:
tags: [moc] (or a type: moc property) so
every MOC is itself discoverable.MOC template:
---
type: moc
tags: [moc]
updated: 2026-06-18
---
# Auth — Map of Content
Notes on authentication, sessions, and access control.
## Core
- [[auth-flow]]
- [[session-tokens]]
## Related MOCs
- [[security-moc]]
Add a consistent property block to every note. Recommended baseline:
---
title: Session tokens
aliases: [tokens, session token]
tags: [auth, security]
type: note # note | moc | dashboard | template | person | project
created: 2026-06-18
updated: 2026-06-18
status: evergreen # seedling | growing | evergreen
related: ["[[auth-flow]]"]
---
Rules:
auth/tokens) are fine. Don't let tags sprawl.tags use no # in frontmatter. Dates in ISO YYYY-MM-DD.created, not created/date/Created) and migrate the rest.Pick the engine based on the user's setup:
Bases (native, editable, fast — best for operational boards):
.base file or a base code block; it builds table/board views from
properties. Each cell edits the underlying note's frontmatter.Dataview (plugin, read-only, most flexible — best for reports/auto-MOCs):
TABLE status, updated, tags
FROM #auth
WHERE type = "note"
SORT updated DESC
Auto-MOC of everything in a topic:
LIST FROM #auth WHERE type != "moc" SORT file.name ASC
Recently updated:
TABLE updated FROM "" WHERE updated >= date(today) - dur(7 days) SORT updated DESC
Note: large vaults can lag with heavy Dataview queries — prefer Bases there.
An orphan is a note with no inbound or outbound links. To find and fix:
start_search
the vault for [[ ]] links to each note's title — zero hits means no inbound
links (an unlinked note); to confirm a true orphan (no inbound and no
outbound), also scan the note's own body for [[...]]. The same searches
surface unlinked mentions (the title as plain text, not wrapped in [[ ]])
and broken links (a [[target]] whose file is missing).LIST WHERE length(file.inlinks) = 0 AND length(file.outlinks) = 0
edit_block to insert the
wikilink), tag it #needs-link for a batch pass, or archive if obsolete.edit_block; resolve the rest from Obsidian's right sidebar.00-inbox/ # unsorted captures
10-notes/ # atomic notes
20-mocs/ # maps of content
30-projects/
90-assets/ # images/attachments
99-archive/
templates/
90-assets/.move_file for these, it breaks every [[link]]. From Desktop
Commander, only edit content (edit_block / write_file); leave moving and
renaming to the user in the app.start_search titles/aliases to find near-identical notes;
merge into one, keep the most-linked filename, copy unique content with
edit_block, then start_search for inbound [[links]] to the discarded note
and repoint them before deleting it.F2) so backlinks update —
not via move_file. Keep an aliases entry for the old name if it was widely
referenced.summary/description property per note for quick scanning.[[ ]].write_file topic MOCs → edit_block notes to link them
in → refresh the Home MOC → convert unlinked mentions.read_multiple_files to audit properties → pick
canonical names → edit_block each note → add missing baseline properties.start_search for orphans, broken links, and unlinked
mentions → dedupe → report what changed (renames stay in Obsidian).write_file the view from properties/tags.updated bumped on changed notes.原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。