セカンドブレインを作る:Obsidian のノートの中で Claude Code を使う

CLAUDE.md の基本ルールと 3 つのコマンド /daily、/weekly-review、/find-ideas を使い、Obsidian の保管庫の中で Claude Code を動かします。ノートを書き換えずに、一日の計画、一週間の振り返り、アイデアのつながりづくりをしてくれます。

  • レベル 中級
  • 所要時間 1〜2 時間
  • 対応アプリ
    • Claude Code
    • Claude Desktop
このページの内容13 項目

「セカンドブレイン」とは、すべてを頭の中に抱え込まなくてよいと思えるほど信頼できるノートの仕組みのことです。Obsidian は、すべてのノートを、パソコン上の普通のフォルダにプレーンな Markdown のテキストファイルとして保存する無料のノートアプリです。そのフォルダを保管庫(vault)と呼びます。ノートはただのファイルなので、Claude Code は読めますし、新しいノートも書けます。

このガイドでは、Claude が守るべきルールを決めたうえで、Claude に運営を手伝ってもらう保管庫を整えます。最終的に、3 つのコマンドが手に入ります。

  • /daily は、未完了のタスク、受信箱、プロジェクトから、今日の計画を書きます。
  • /weekly-review は、一週間の振り返りを書きます。
  • /find-ideas <topic> は、関連するノートを探して、新しいつながりを提案します。

完成すると手に入るもの

  • Inbox、Daily、Projects、Notes、Reviews、Templates のフォルダがある Obsidian の保管庫。
  • CLAUDE.md ファイル。Claude Code がセッションの開始時に毎回読む、常時の指示のまとまりです。
  • 保管庫の .claude/skills/ の中にある 3 つのスキル(保存したコマンド)。
  • 何でも元に戻せるようにするバックアップ。

必要なもの

必要なもの詳細
Obsidianobsidian.md から無料で入手できます。料金のページには「制限なしで無料」とあります。Sync と Publish は任意の有料アドオンです。
Claude CodePro、Max、Team、Enterprise、Console のアカウントが必要です。無料プランには含まれません。ターミナル、または Claude Desktop の Code タブで使います。
Git(任意)一歩ずつ元に戻せるバックアップのためです。代わりにフォルダをコピーしても構いません。

どのコマンドも複数のノートを読むので、プランの利用量を一部使います。大きな保管庫での /weekly-review が最も多く使います。

ステップ 1:保管庫を作る

  1. Obsidian をインストールして開きます。
  2. 新しく始めるには、Create new vault の横の Create をクリックします。名前(たとえば MyVault)を入力し、Browse をクリックして保存先を選び、Create をクリックします。
  3. すでにノートがあるなら、Open folder as vault の横の Open をクリックして、そのフォルダを選びます。先にバックアップを取ってください(ステップ 6 を参照)。

Obsidian のヘルプは、別の保管庫の中に保管庫を作らないよう警告しているので、この保管庫は単独で置いてください。

ステップ 2:保管庫の中で Claude Code を開く

ターミナル。まだなら Claude Code をインストールします。macOS か Linux では、これを実行します(Windows のコマンドはセットアップのページにあります)。

curl -fsSL https://claude.ai/install.sh | bash

次に、保管庫に入って起動します。

cd ~/Documents/MyVault
claude

Claude Desktop。 Code タブを開きます。Environment の下で Local を選び、Project folder の下で保管庫のフォルダを選びます。

Obsidian も開いたままにしておきます。Obsidian は、ほかのアプリがノートに加えた変更を取り込むので、Claude が作った新しいノートが表示されます。

ステップ 3:基本ルールを書く(CLAUDE.md)

Claude Code は、起動したフォルダにある CLAUDE.md というファイルを自動で読みます。Anthropic は、200 行以内に収めることを勧めています。このプロンプトを Claude Code に貼り付け、その直後にファイルの内容を貼り付けます。

Create CLAUDE.md in this folder with exactly the content below. Don't change anything else.
# How to work in this vault

This folder is my Obsidian vault. Every note is a plain Markdown file. You are my note assistant: you help me plan, review and connect ideas. You don't reorganize my notes.

## Folders
- Inbox/ – quick captures, not sorted yet
- Daily/ – one note per day, named YYYY-MM-DD.md
- Projects/ – one note per active project
- Notes/ – everything else worth keeping: ideas, reading notes, people, meetings
- Reviews/ – weekly reviews, named YYYY-Www.md (for example 2026-W43.md)
- Templates/ – note templates. Don't edit these unless I ask.

## Rules
- Never delete a note. Never move or rename a note unless I ask in this session.
- Don't rewrite my words. In an existing note you may only add [[links]], or add a section at the end headed "## From Claude".
- Link with Obsidian wiki links, like [[Workshop-November]]. Only link to notes that exist.
- When you use something from my notes, say which note it came from.
- Dates are YYYY-MM-DD. Weeks start on Monday.
- Ignore the .obsidian/ and .claude/ folders.
- If you're unsure, ask before you change anything.

「don’t rewrite my words」というルールがいちばん大切です。これがノートをあなたのものとして守り、Claude はその上に付け足すだけになります。

ステップ 4:フォルダと日次テンプレートを整える

This folder is my Obsidian vault. Please set it up as a second brain. Follow the rules in CLAUDE.md.

1. Create these folders if they don't exist: Inbox, Daily, Projects, Notes, Reviews, Templates.
2. Create Templates/Daily.md with exactly this content:

---
date: {{date:YYYY-MM-DD}}
---
# {{date:YYYY-MM-DD}}

## Notes

## Tasks
- [ ] 

3. Don't move, rename or edit any note I already have.
4. Tell me what you created, then list my existing top-level folders with how many notes each holds, and suggest (don't do) where they could fit in the new structure.

Claude がフォルダを作る許可を求めてきます。そのたびに承認してください。

次に、Obsidian でテンプレートをつなぎ、手作業で作る日次ノートも同じ見た目になるようにします。

  1. Settings > Core plugins に進み、Daily notes と Templates がオンになっていることを確認します。
  2. Core plugins > Templates で、Template folder location を Templates に設定します。
  3. サイドバーの Plugin options の下にある Daily notes をクリックします。New file location を Daily に、Template file location を Templates/Daily に設定します。

ステップ 5:3 つのコマンドを追加する

Claude Code では、スキルは SKILL.md ファイルが入ったフォルダです。保管庫の .claude/skills/<name>/SKILL.md に置くと、/name というコマンドになります。disable-model-invocation: true の行は、入力したときだけ実行され、Claude が勝手に始めることはない、という意味です。

ドットで始まるフォルダは隠れているので、これらのファイルを作るいちばん簡単な方法は、Claude に頼むことです。以下のファイルごとに、プロンプトを貼り付け、その直後にファイルの内容を貼り付けます。

Create .claude/skills/daily/SKILL.md with exactly the content below.
---
name: daily
description: Create or update today's daily note with a short plan from my open tasks, inbox and projects. Use when I type /daily or ask Claude to plan my day.
disable-model-invocation: true
---

# Plan my day

Extra context from me for today (may be empty): $ARGUMENTS

1. Work out today's date. Today's note is `Daily/YYYY-MM-DD.md`.
2. Read the last 3 notes in `Daily/`, every note in `Inbox/`, and every note in `Projects/`.
3. Collect open tasks (lines that start with `- [ ]`). Remember which note each one came from. Treat the same task in two notes as one task.
4. If today's note doesn't exist, create it from `Templates/Daily.md` and replace `{{date:YYYY-MM-DD}}` with today's date.
5. Add this section at the end of today's note. If a "## From Claude" section is already there, replace only that section.

   ## From Claude
   **Top 3 today**
   - [ ] task ([[source note]])
   **Also open**
   - task ([[source note]])
   **Waiting in Inbox** (number of notes)
   - [[note]]: one-line summary. Suggested home: Projects/ or Notes/
   **Stuck**
   - tasks that appear in daily notes from 3 or more days ago and are still open

6. Pick the top 3 by due dates mentioned in the notes first, then by what my extra context says.
7. Don't change any other note and don't move inbox notes. Only suggest.
8. Reply with the top 3 and the path of today's note.

$ARGUMENTS は、コマンドの後ろに入力した内容に置き換わります。たとえば /daily I only have the afternoon free なら、その文が渡されます。

Create .claude/skills/weekly-review/SKILL.md with exactly the content below.
---
name: weekly-review
description: Write a weekly review note from the last 7 days of daily notes and recently changed notes. Use when I type /weekly-review or ask for my weekly review.
disable-model-invocation: true
---

# Weekly review

1. Work out this week's ISO week number. The review goes in `Reviews/YYYY-Www.md`. If it already exists, show me what you'd change and ask first.
2. Read every note in `Daily/` from the last 7 days, and every note in `Projects/`, `Notes/` and `Inbox/` changed in the last 7 days.
3. Write the review with these sections:
   - **Done**: finished tasks (`- [x]`), with [[links]] to where they came from
   - **Still open**: open tasks, oldest first
   - **Themes**: 2–4 topics I kept coming back to, each with the notes that mention it
   - **Decisions and commitments**: anything I agreed to, with who and when
   - **Inbox**: how many notes are waiting, and a suggested home for each
   - **Next week's top 3**: your suggestion, with one line on why
   - **Questions for me**: up to 3 things only I can answer
4. Use only what's in my notes. If a section has nothing, write "Nothing this week."
5. Don't change any other note. Reply with the path of the review and the top 3.
Create .claude/skills/find-ideas/SKILL.md with exactly the content below.
---
name: find-ideas
description: Search my vault for notes related to a topic and suggest connections and new ideas. Use when I type /find-ideas followed by a topic.
disable-model-invocation: true
argument-hint: "[topic]"
---

# Find ideas about: $ARGUMENTS

1. If no topic was given, ask me for one and stop.
2. Search every note in the vault (not `.obsidian/` or `.claude/`) for the topic, similar words and related ideas. Read the notes that match.
3. Write a new note at `Inbox/Ideas - <topic> - YYYY-MM-DD.md` with:
   - **Related notes**: each as a [[link]] with one line on how it relates
   - **Connections**: 3–5 links between notes that I may not have noticed, each naming both notes
   - **New ideas**: 3 ideas that combine what's in the notes. Mark each one as your suggestion.
   - **Gaps**: questions my notes don't answer yet
4. Quote my notes only word for word. If you paraphrase, don't use quotation marks.
5. Then list [[links]] you'd add to existing notes, and ask me before adding any.

Claude Code は通常、再起動しなくても新しいスキルを認識します。/ を入力するとメニューに表示されます。コマンドがない場合は、Claude Code を終了して、もう一度起動します。

ステップ 6:Claude が本物のノートに触れる前にバックアップする

次のどれかを選びます。

  • コピー。今すぐ保管庫のフォルダを ZIP にし、毎週やり直します。
  • Git。Git はすべての変更の履歴を残すので、1 つだけ元に戻せます。Git がインストールされていれば、Claude に頼みます。
Set up git in this vault so I can undo your changes. Add .obsidian/workspace.json and .obsidian/workspaces.json to .gitignore, then commit everything with the message "Before Claude".

Obsidian のヘルプは、ノートを開くたびに変わるこの 2 つのワークスペースのファイルを無視するよう勧めています。Obsidian に組み込まれた File recovery プラグインも、ノートのスナップショットを保存します。Obsidian はこれを「完全なバックアップのソリューションではない」と述べているので、バックアップの代わりではなく、バックアップと併用してください。

ステップ 7:使ってみる

/daily I only have the afternoon free

小さな架空の保管庫で、Claude Code を使ってテストしました。テスト用の保管庫には、日次ノートが 2 つ、プロジェクトのノートが 2 つ、受信箱のノートが 2 つありました。/daily はテンプレートから Daily/2026-10-19.md を作りました。水曜が期限のタスクを先頭にしたトップ 3 を選び、すべてのタスクに元のノートへのリンクを付け、「Book dentist」が 2 つのノートに出ていても 1 つのタスクとして扱い、ほかのノートは一切変更しませんでした。テストの範囲は、セットアップのプロンプトと /daily でした。/weekly-review と /find-ideas は、まずバックアップ済みの保管庫で実行し、書かれた内容を読んでください。

代わりに Claude Desktop のチャットを使う

Code タブよりチャットのほうがいいなら、Filesystem MCP サーバーで Claude Desktop に保管庫のフォルダへのアクセスを与えられます。ただし、.claude/skills/ のスキルは Claude Code の機能です。チャットでは、手順をプロンプトとして貼り付けることになります。Customize > Skills にスキルとしてアップロードする場合は、先に disable-model-invocation と argument-hint の行を削除してください。claude.ai は受け付けません。Code タブなら、このガイドのすべてが追加のセットアップなしで使えます。

うまくいかないときは

  • Claude がノートを書き換える。CLAUDE.md のルールでその可能性は下がりますが、鍵ではありません。Desktop では Manual の権限モードを使い、ターミナルでは初期設定の確認を残して、変更が起きる前に一つずつ確認します。git かコピーで元に戻します。
  • 壊れたリンク。Claude が存在しないノートにリンクするかもしれません。ルールで禁止していますが、確認してください。存在しないノートへのリンクをクリックすると、Obsidian は新しい空のノートを作ります。
  • 日付や週が違う。Claude は実行時に今日の日付を割り出します。ファイル名がおかしければ、伝えれば直してくれます。
  • 大きな保管庫はより多く使う。どのコマンドもノートを読むので、数千のノートがある保管庫はプランをより多く使います。積み重なるようなら、コマンドを特定のフォルダに向けてください。
  • プライバシー。Claude が読んだノートは、処理のために Anthropic に送られます。Claude Code のデータ利用のページを読み、モデルの学習に関する設定を確認してください。ごく個人的な内容のノートは、Claude では開かない別の保管庫に置きます。
  • 同期の競合。Claude が書き込んでいる間に Obsidian Sync、iCloud、Dropbox が同期していると、競合コピーができることがあります。コマンドを実行する前に同期を終わらせてください。

自分用にカスタマイズ

  • 会議メモ。貼り付けた文字起こしを Notes/ のノートにし、決定事項と、アクションごとの - [ ] のタスクを入れる /meeting スキルを追加します。
  • 受信箱をゼロに。受信箱のノートごとに置き場所を提案し、「はい」と言ったあとにだけ移動する /sort-inbox スキルを追加します。
  • 読書メモ。ハイライトを整理して、関連するノートにリンクする /book スキルを追加します。
  • 自分のセクション。/daily のセクションを好みに合わせて変えます。たとえば「避けていること 1 つ」や「今日のエネルギー」です。
  • どの保管庫でも。スキルのフォルダを ~/.claude/skills/ に移すと、Claude Code で開くどのフォルダでもコマンドが使えます。

次のステップ

出典

に以下の出典と照らし合わせて情報を確認しました。 ページ更新日:。 情報の確認方法

  1. help.obsidian.md/vault(新しいタブで開きます)
  2. help.obsidian.md/data-storage(新しいタブで開きます)
  3. help.obsidian.md/plugins/daily-notes(新しいタブで開きます)
  4. help.obsidian.md/plugins/templates(新しいタブで開きます)
  5. help.obsidian.md/plugins/file-recovery(新しいタブで開きます)
  6. obsidian.md/pricing(新しいタブで開きます)
  7. code.claude.com/docs/en/setup(新しいタブで開きます)
  8. code.claude.com/docs/en/memory(新しいタブで開きます)
  9. code.claude.com/docs/en/skills(新しいタブで開きます)
  10. code.claude.com/docs/en/desktop(新しいタブで開きます)
  11. code.claude.com/docs/en/data-usage(新しいタブで開きます)

関連ガイド

すべてのガイド

  • 非開発者におすすめの MCP サーバー:最初に何をつなぐか

    コードを書かない人におすすめの MCP サーバーとコネクタ:メール、カレンダー、ファイル、メモ、会議、デザイン、自動化を、プラン、設定、安全面とあわせて紹介します。

    初級選ぶのに 10 分、設定はコネクタ 1 つにつき約 5 分

  • Claude Design vs Figma MCP:UI の作業にはどちらを使う?

    Claude Design は画面の下書きを作り、Figma MCP は Claude に Figma ファイルを読ませて編集させます。プラン、上限、ハンドオフを比べ、1 つのワークフローで両方を使います。

    初級判断に 10 分、実際に手を動かすワークフローに約 30 分