Obsidian(ノート管理アプリ)のコンテンツ・マップ、内部リンク、メタデータ、ダッシュボード、孤立したノートの検出、整理ワークフローを使って、ノートの保管庫を整理します。 次のような場合に使用: ユーザーが「Obsidian」という名前、「保管庫(Vault)」、または内部リンク(「[[ ]]」)、Dataviewプラグイン、Basesプラグイン、Obsidianのプロパティといった Obsidian 固有の機能を明示的に言及している場合です。 Obsidian の文脈では、以下のタスクに対応します: - コンテンツ・マップの作成 - 内部リンクの追加・修正 - 孤立したノートの検出 - メタデータ情報の正規化 - Dataview・Bases ダッシュボードの生成 - フォルダの整理 - ノートの重複排除・リネーム - 人工知能との連携に向けた保管庫の準備 汎用的なメモ取り、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とwikilinksでナビゲーションを構築、メタデータを正規化、ダッシュボードを生成、孤立したノートを検出・修正、フォルダを整理、重複排除・名前変更、vaultをAI利用に対応させます。
[[Note title]]
Obsidian内でノートを名前変更するとリンクは自動更新されますが、ファイルをObsidian外で移動するとリンクが破損します—可能な限りObsidian内で名前変更してください。アクションを実行する前に、vaultのルートフォルダを確認し、ユーザーがDataviewプラグインをインストールしているか確認してください(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 プロパティを追加して、ノートが他の名前でも解決されるようにします。# | ^ : % [ ] を避けてください—リンク内で特殊な意味を持ちます。リンクを追加する際は、unlinked mentionsもサーフェスします: ノートのタイトルが他のノート内にプレインテキストとして現れる場合、それらをwikilinksに変換してください。
MOCは関連ノートをトピック別にリンクするノート—vaultのナビゲーションレイヤー(フォルダやタグより柔軟で、既存知識を必要としません)。
規約:
tags: [moc](または type: moc プロパティ)で、すべてのMOC自体が発見可能になります。MOCテンプレート:
---
type: moc
tags: [moc]
updated: 2026-06-18
---
# Auth — Map of Content
認証、セッション、アクセス制御に関するノート。
## Core
- [[auth-flow]]
- [[session-tokens]]
## Related MOCs
- [[security-moc]]
すべてのノートに一貫したプロパティブロックを追加します。推奨される基本構成:
---
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)は問題ありません。タグが広がらないようにしてください。tagsはfrontmatter内で#を使用しません。日付はISO形式のYYYY-MM-DDです。created、created/date/Createdではなく)して残りをマイグレーションします。ユーザーのセットアップに基づいてエンジンを選択します:
Bases(ネイティブ、編集可能、高速—オペレーショナルボード向けベスト):
.base ファイルまたは base コードブロックを作成; プロパティからテーブル/ボードビューを構築します。各セルは基礎となるノートのfrontmatterを編集します。Dataview(プラグイン、読み取り専用、最も柔軟—レポート/自動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]])がサーフェスされます。
グラフビュー(Cmd/Ctrl+G): 孤立はエッジで分離したドットとして浮きます。
Dataviewクエリでリンクなしのノートを取得:
LIST WHERE length(file.inlinks) = 0 AND length(file.outlinks) = 0
各孤立について: 関連するMOC/ノートからリンク(wikilink挿入にedit_blockを使用)、バッチ処理用に #needs-link タグ、または廃止予定の場合はアーカイブします。
unlinked mentionsを実際のwikilinksに変換、edit_blockでbroken linksを修正; 残りはObsidianの右サイドバーから解決します。
フォルダは粗いバケット用; MOC + タグが実際の整理を行います。フォルダをオーバーネストしないでください。
実用的なレイアウト:
00-inbox/ # 未分類のキャプチャ
10-notes/ # アトミックノート
20-mocs/ # コンテンツのマップ
30-projects/
90-assets/ # 画像/添付ファイル
99-archive/
templates/
設定で添付フォルダを設定して、埋め込みが 90-assets/ に配置されるようにします。
移動/名前変更はObsidian内で行うので、wikilinksが自動更新されます—コンテンツ編集(edit_block / write_file)のみをDesktop Commanderから実行してください; 移動と名前変更はユーザーにアプリで任せます。
start_searchでタイトル/エイリアスを使用して類似ノートを検出; 1つにマージして最もリンクされたファイル名を保持、ユニークなコンテンツを edit_block でコピー、廃止されたノートへのインバウンド [[links]] を start_search して再ポイント、削除前にリダイレクトしてください。F2)で実行してバックリンクを更新—move_file を使用しないでください。古い名前が広く参照されている場合は aliases エントリを保持します。summary/description プロパティを記述して、素早くスキャンできるようにします。[[ ]] をパースできない場合、wikilinksを標準Markdown リンクにエクスポートすることを検討します。write_file でトピックMOC → edit_block ノートをリンク → Home MOCをリフレッシュ → unlinked mentionsを変換。read_multiple_files でプロパティを監査 → 正規名を選択 → edit_block 各ノート → 不足している基本プロパティを追加。start_search で孤立、broken links、unlinked mentionsを検出 → 重複排除 → 変更内容をレポート(名前変更は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 による自動翻訳です。