AIFCC
記事一覧へ
Claudememory-systemObsidianclaude-workflow

Claudeに完璧なメモリを持たせる方法――3層システム完全ガイド

AI Edge@aiedge_
565
# Claude に完璧なメモリを持たせる方法(完全ガイド) 誰がなんと言おうとデフォルトの Claude のメモリは基本的に使い物にならない。 コンテキストを頻繁に忘れ、何度も説明し直す羽目になる。そして説明し直した後でも、やはり覚えていないことが多い。 残念ながら、ほとんどの人がこの欠点とともに何ヶ月も暮らしており、より良い方法があることを知らない。 私は Claude を毎日使っている。Mac のどのアプリよりも Claude に費やすスクリーンタイムが長い。 これほど頻繁に使うからこそ、最もよく使う仕事ツールがランダムにコンテキストや重要なデータを忘れることを許容できない。 可能な限り鋭い Claude を必要とした私は、あらゆるメモリソリューションを探し求めて沼に潜った。 幸い、研究は成功した。 3 つのメモリシステムの「層」を発見し、それらが Claude を格段に強力にした。 - 90% 以上の Claude ユーザーに十分で、手軽に機能するもの。 - セットアップに約 60 分かかるが、Claude の動作を完全に変えるもの。 - Claude をあなたのデータで訓練された自己進化型のセカンドブレインに変えるもの。 今日の記事では、この 3 つのシステムと、私が Claude を大幅に鋭くした方法をすべて公開する。 Claude を一度も触ったことがなくても、パワーユーザーであっても、あなたのニーズに合ったシステムが見つかると確信している。 --- ## 第 1 層:基本メモリ(初級) ここから誰もが始めるべきだ。数分でセットアップできる 4 つのクイックウィンが、すべての会話をすぐに改善する。 ### 1. メモリ編集ツール 今すぐ Settings → Memory に移動する。 これは Claude 全体で最も見落とされているページであり、ほとんどの人が一度も開いたことがない。 ここには、Claude がこれまでのすべての会話を通じて受動的に蓄積したあなたに関するすべて(好み・事実・習慣・作業スタイルなど)が保存されている。 管理しないままにすると、メモリはすぐにゴミで埋まる。 修正は簡単だ。このページのすべてを読み通す。時代遅れ・不正確・無関係なものは削除する。そして実際に Claude に恒久的に持ち越してほしいコンテキストを手動で追加する。 ここでは基本にとどめる(あなたの役割と基本的な好み)——高度に特化したシステムの構築はすぐに説明する。 *(Chat Memory の画像)* ### 2. プロジェクト指示 Claude Projects を使っているなら(使うべきだ)、Project Instructions フィールドを埋める必要がある。 *(Project Instructions の画像)* 私のアドバイス:最もよく使うワークフローすべてにプロジェクトを作り、コンテキストをすべて Google ドキュメントに音声プロンプトで入力して、各プロジェクトに PDF としてアップロードする。 ### 3. Claude に直接伝える このリストの中で最もシンプルなメモリハックだ。会話の途中で、覚えてほしいことを Claude に直接伝えるだけでいい。 例えば: - 「○○は絶対に使わないことを覚えておいて」 - 「私の役割は○○だと覚えておいて」 - 「○○でメモリを更新して」 - 「400 字以内の返答を好むと覚えておいて」 Claude はこれらをすぐにメモリに保存する。忘れさせることもできる。「○○と言ったことは忘れて」 ### 4. メモリのインポートとエクスポート ChatGPT(または他の LLM)を使っており、そこで大量のコンテキストを構築してきた場合、Claude でゼロからやり直す必要はない。コンテキストを転送する効果的な方法が 2 つある。 a) ChatGPT にプラットフォームを切り替えると伝えてメモリエクスポートドキュメントを生成させる。「このプロジェクトを Claude に切り替えます。サマリードキュメントを作ってください...」 b) Claude でインポート/エクスポートを使う。Settings → Memory でメモリを完全インポートできる。 *(Export/Import の画像)* この 4 つのクイック編集は 90% 以上の方に十分であり、Claude の応答に即時の影響をもたらす。 しかし次のセクションは、Claude を次のレベルに引き上げる本格的なシステムを求める人向けだ。 --- ## 第 2 層:コンテキストファイルシステム(中級) 第 1 層は基本的なメモリ問題を修正する。 第 2 層はより強力なものを構築する。コンピュータ上に存在し、Cowork や Claude Code に自動的に読み込まれる、ファイルベースのメモリアーキテクチャだ。 コンセプトはシンプルだ。Claude にコンテキストをプロンプトで伝える代わりに、そのコンテキストをすべて Claude がアクセスできる .MD デスクトップファイルに保存する。 これらの Markdown ファイルはどの LLM や AI エージェントシステムにも添付できる。 新しいデスクトップフォルダを作り「Claude Master Folder」と名付け、その中に次の 4 つの Markdown ファイルを作成する(Claude が手伝ってくれる)。 ### Instructions.md Claude のすべてのルールと指示を書くファイル: ``` ## あなたは誰か ## 何をするか ## ルール ## 良いアウトプットとはどんなものか ``` 重要な追加項目:「Update Memory.MD with my preferences over time.」 この一行が重要だ。これによって Claude が 2 番目の Markdown ファイルにあなたのデータの継続的なメモリログを作成するようになる。 ### 2. Memory.md これは Claude の「脳」であり、時間とともに継続的に更新される。 ``` ## 好み ## 訂正 ## パターン ## 決定事項 ``` これで「em ダッシュを使うな」と言えば、Claude がメモリファイルに入って更新する。 ### 3. Context.md [特定プロジェクト] の具体的なコンテキストファイル。 この Markdown ファイルの内容は当然、特定のプロジェクトによって変わる。 汎用的な「ビジネスコンテキスト」や「ライフコンテキスト」の大型 Markdown ファイルを作るだけでもよい。 ### 4. アーカイブコピー これは純粋に保護目的だが、やる価値がある。 Claude は作業しながらメモリファイルを自動的に更新する。ときに、誤って上書きしたり意図しない変更を加えたりする。 バックアップシステムがなければ、そのコンテキストは失われる。 修正は簡単だ。週に 1 回、Instructions、Memory、Context などすべてを含むマスターフォルダ全体を、Claude がアクセスできない別のアーカイブフォルダにコピーし、日付をラベル付けする。 何かが壊れたり誤って上書きされたりしたら、アーカイブから復元できる。 *(4 Markdown Files: Final Product の画像)* 上述のように、これを Claude 自身に作らせることができる。 「Claude Master Folder」という新しいフォルダを作り、新しい Cowork チャットに添付してこのプロンプトを貼り付ければいい。 ``` 私の接続済みワークスペース内の「Claude Master Folder」に移動して、以下の 4 つの Markdown ファイルを作ってください: Instructions.md — 次のセクションを含む:あなたは誰か、何をするか、ルール、良いアウトプットとはどんなものか、そして Memory.md を時間とともに私の好みで更新するよう Claude に伝える一行。 Memory.md — 次のセクションを含む:好み、訂正、パターン、決定事項、個人的なコンテキスト。何を追加すべきかわかるようにプレースホルダーの例を事前入力する。 Context.md — 次のセクションを含む:このプロジェクト/ビジネスについて、オーディエンス、主要人物と協力者、アクティブなプロジェクトと優先事項、ツールとスタック、重要な背景/歴史。記入できるプレースホルダー付きのテンプレート形式を使う。 Archive-Guide.md — なぜアーカイブするのか、どのように週次で行うか(フォルダを複製し日付付きで名前を変更し Claude がアクセスできない場所に移動する)、何を含めるか、何かが壊れた時にどうやって復元するか、バックアップをどこに保存するかを説明するステップバイステップのガイド。 ``` システムが構築できたら、実際にどう使うのか? Cowork/Claude Code で作業するときはいつでも、マスターフォルダを添付すれば Claude がこれをミニメモリデータベースとして使う。 メモリ Markdown ファイルを編集し、どんな LLM・新しいチャット・AI エージェントにも添付できるものを残してくれる。 .MD ファイルを手動で更新したり、マスターフォルダ内に特定プロジェクトの新しいフォルダを作ったりすることもできる。 このシステムは完全なゲームチェンジャーだが、第 3 層で紹介するものはさらにこのシステムを超えていく。 --- ## 第 3 層:AI セカンドブレイン(上級) これは最も深いレベルであり、率直に言ってすべての人向けではない。 初期セットアップと継続的なメンテナンスが必要だが、構築した人にとっては、Claude との高度で詳細なメモリシステムとして真に最良の選択肢になる。 作業方法に応じて 2 つのオプションがある。 1 つ目は簡単で、「シンプルな」AI セカンドブレインを求める人向けに含めた。 2 つ目はより高度(しかし全体的に優れている)で、専念した構築に 1〜2 時間かかる(すべて案内するので安心してほしい)。 AI セカンドブレインのメモリ保管庫を効果的にするには、実際にデータベースのメンテナンスと更新に時間を費やす必要があることを覚えておいてほしい。 ### Option 1: Claude × Notion Claude を Notion に接続するのは、5 分でできる最大のレバレッジだ。 Claude → Settings → Connectors に移動し、Notion コネクターを有効にする。 *(Notion Connector の画像)* 接続すると、Claude は任意のチャット内で Notion ワークスペースを直接読める。 タスク・CRM・ノート・テーブルなどすべてが Claude からアクセス・編集できるようになる。 「Memory Database」という新しいデータベースを作り、AI の好み・ルール・重要な AI コンテキストをすべて保存することをお勧めする。 Claude と作業しながら「これを Notion Memory Database に送って」と言うだけでいい。 その後、CSV ファイルや Notion MCP コネクターを使って、この Notion データを他の LLM や AI プラットフォームにエクスポートできる。 このセットアップは第 2 層で説明したものと似ているが、Notion の組み込みボードビュー・TODO リストなど視覚的な美しさが加わり、追加機能も解放される。 私個人はこのセットアップをあまり使わない(下の Option 2 の方が優れているから)が、Claude で使う価値のあるメガプロンプトを送ったり保存したりするのに時々使っている。 *(Claude x Notion: Final Product の画像)* ### Option 2: Claude × Obsidian Obsidian はすべてをプレーンな Markdown ファイルとしてコンピュータに保存するツールであり、Claude と接続してセカンドブレインを構築する堅実な方法だ。 **セットアップ** **1. Obsidian をダウンロードする** obsidian.md にアクセスしてアプリをダウンロードする。 新しい Vault を作成する(Claude Code がデータを保存・アクセスするシンプルなデスクトップフォルダと考えればよい)。 **2. Claude Cowork/Claude Code で Vault を選択する** Claude デスクトップアプリを開き「Select Folder」をクリックする。 Obsidian Vault フォルダを指定する。Claude はその中のすべてに直接読み書きアクセスを持つようになる。 **3. メガプロンプトを注入する** Andrej Karpathy の LLM Knowledge Base システムプロンプトをチャットボックスにペーストする。 これが Claude Code に対して、ウィキをどのように構築・維持・進化させるかを伝える命令セットだ。 プロンプトはこちらから入手できる: **4. データを投入する** 既存のノート・CSV ファイル・記事のエクスポート・Notion のエクスポートを投入してセカンドブレインの初期データとする。 Claude は各ソースを取り込み、重要な情報を抽出し、進化するメモリウィキに統合する。 **最終成果物** 最終成果物は、アイデアとノートをリンクし、あなたのデータをすべて記憶し、以下のような外観になる AI セカンドブレイン知識ウィキだ。 *(Claude x Obsidian: Final Product の画像)* **どちらを選ぶべきか?** - Notion = 速く、シンプルなオプション - Obsidian = ローカルストレージで Claude に深い理解を持たせたい場合(これが私が個人的に見つけた中で最も高度なメモリシステムだ) Claude × Obsidian セカンドブレインを構築するなら、まずこれを読むことをお勧めする(より詳細): @aiedge_ の記事「Claude Code + Obsidian Ultimate Guide(AI セカンドブレインを構築する)」 Claude Code + Obsidian は私がこれまで使った中で最も強力な AI コンボだ。思考・読んだこと・書いたこと・オンラインで調べたことなど、すべてを含む AI セカンドブレインを文字通り構築できた。 --- ## 最後に 以上が、Claude をはるかに鋭くする 3 層のメモリシステムだ。 繰り返すと、第 1 層は即時の効果をもたらす基本セットアップ(ほとんどの人に十分)。 第 2 層はセットアップが必要だが非常に価値がある。 そして第 3 層は Claude の使い方を完全に変える。 この記事が役に立てば嬉しい。私は週 2〜3 回 AI の記事を投稿しており、すべてのコンテンツは実際の AI の使い方に基づいて手書きしている(AI スラップではない)。 そのようなコンテンツが好きなら、@aiedge_ をフォローすればフィードにもっと流れてくる。
原文を表示 / Show original
AI Edge @aiedge_ How to Give Claude Perfect Memory (complete guide) 23 156 1.2K 1.1M I don't care what anyone tells you - by default, Claude's memory is basically useless. It frequently forgets context; you constantly have to re-explain yourself, and even after you do, it still often doesn't remember. Sadly, most people have been living with these flaws for months, without knowing there is a better way. I use Claude every single day. I literally have more Claude screen time than any other app on my Mac. Because I use Claude so often, I can't afford to have my most-used work tool randomly forget context and important data. In need of a Claude that is as sharp as possible, I went down the rabbit hole of looking for every possible memory solution. Luckily, my research was successful. I discovered three "layers" of memory systems, and they've made Claude significantly more powerful. One that is easy and works well enough for 90%+ of Claude users. Another one that takes ~60 minutes to set up, but changes how Claude operates entirely. And the last one turns Claude into a self-evolving second brain, trained on all your data. In today's article, I'm revealing all three of these systems and how I made my Claude way sharper. Whether you've never touched Claude before or you're a power user, I'm confident that you'll find a system that fits your needs. Layer one: Basic Memory (Beginner) This is where everyone should start - four quick wins that take minutes to set up and immediately improve every conversation you have with Claude. 1. Memory Editing Tool Go to Settings → Memory right now. This is the most overlooked page in all of Claude, and most people have never opened it. What you will find is everything Claude has stored about you (preferences, facts, habits, working styles, etc.) accumulated passively across every conversation you have ever had. Left unmanaged, your memory quickly fills up with garbage. The fix is simple: read through everything on this page. Delete anything outdated, inaccurate, or irrelevant. Then, manually add the context you actually want Claude to carry permanently. Stick to the basics here (your role and basic preferences) - we'll dive into building highly specific systems soon. Chat Memory 2. Project Instructions If you use Claude Projects (you should), you need to fill in your Project Instructions field. Project Instructions My advice: Create projects for all your most-used workflows, then voice-prompt all your context into a Google Doc and upload it as a PDF for each project. 3. Tell Claude Directly The simplest memory hack on this list. Mid-conversation, just tell Claude what you want it to remember. Things like: "Remember that I never want [x]" "Remember that my role is [x]" "Update your memory with [x]" "Remember that I prefer responses under 400 words." Claude will store these in your memory immediately. You can also tell it to forget things: "Forget that I mentioned [x]." 4. Memory Imports & Exports If you have been using ChatGPT (or another LLM) and have built up significant context there, you do not have to start from scratch in Claude; you have two effective options to transfer context: a) You can tell ChatGPT you are switching platforms and ask it to generate a memory export document: "I'm switching this project to Claude, give me a summary document..." b) You can use Import/Export in Claude In Settings → Memory, you can import full data from other LLMs Export/Import These four quick edits will suffice for 90%+ of you, and they make an immediate impact on how Claude responds. However, the next section is for people who want a real system for taking Claude to the next level. Layer two: Context File System (Intermediate) Layer 1 fixes the basic memory problems. Layer 2 builds something more powerful: a file-based memory architecture that lives on your computer, loads automatically into Cowork and Claude Code. The concept is simple: Instead of prompting Claude for context, you store all of that context in .MD desktop files that Claude has access to. You can also attach these markdown files to any LLM or AI agent system. Start a new desktop folder, label it "Claude Master Folder", and build these four markdown files within it (Claude can help you do this): Instructions. MD This file tells Claude all your rules & instructions: Example: ## Who you are ## What you do ## Rules ## What good outputs look like Important to include: "Update Memory. MD with my preferences over time." This line is crucial; it's how you get Claude to create a running memory log of your data in the second markdown file. 2. Memory. MD This is the "brain" of Claude, and it gets continuously updated over time. Example: ## Preferences ## Corrections ## Patterns ## Decisions Now, whenever you say something like "stop using em dashes," Claude will go into the memory file and update it. 3. Context. MD The specific context file for [x] project. Obviously, what's in this markdown file will change depending on your specific project. You can also just create a general "business context" or "life context" markdown mega file. 4. Archive Copies This one is purely protective but worth doing. Claude will update your memory files automatically as you work. Occasionally, it overwrites something incorrectly or makes a change you did not intend. Without a backup system, that context is gone. The fix is simple. Once a week, copy your entire master folder with Instructions, Memory, Context, and everything else into a separate archive folder that Claude cannot access, and label it with the date. If anything breaks or gets overwritten incorrectly, you can restore from the archive. This is what the final product should look like: 4 Markdown Files: Final Product As I mentioned above, you can just get Claude to create this for you. Just create a new folder called "Claude Master Folder," attach it to a new Cowork chat, and paste this prompt: Go into my "Claude Master Folder" in my connected workspace and build these four markdown files inside it: Instructions.md — includes sections for: Who You Are, What You Do, Rules, What Good Outputs Look Like, and a line telling Claude to update Memory.md with my preferences over time. Memory.md — includes sections for: Preferences, Corrections, Patterns, Decisions, and Personal Context. Pre-fill with placeholder examples so I know what to add. Context.md — includes sections for: About This Project/Business, Audience, Key People & Collaborators, Active Projects & Priorities, Tools & Stack, and Important Background/History. Use a template format with placeholders I can fill in. Archive-Guide.md — a step-by-step guide explaining why to archive, how to do it weekly (duplicate the folder, rename with the date, move it somewhere Claude can't access), what to include, how to restore if something breaks, and where to store the backups. So you have the system built - now, how do you actually use it? Anytime you're working in Cowork/Claude Code, you can attach your Master Folder, and Claude will use this as a mini memory database. It will edit the memory markdown file, leaving you with something you can attach to any LLM, new chat, or AI agent. You can also manually update the .MD files and create new folders for specific projects within your Master Folder. This system is a complete game-changer, but what I'm about to show you in Layer three takes this system even further. Layer three: AI Second Brain (Advanced) This is the deepest level, and frankly, it is not for everyone. It does require some initial setup and ongoing maintenance, but for those of you who build it, it truly is the best option for an advanced, detailed memory system with Claude. There are two options depending on how you work. The first option is easier, and I included it for those of you who want a "simple" AI second brain. The second option is more advanced (but better overall), and requires 1-2 hours of dedicated building (don't worry, I'll guide you through it all). Keep in mind that for your AI second brain memory vault to be effective, you actually have to spend time maintaining it and updating your databases. Option 1: Claude x Notion Connecting Claude to Notion is the highest-leverage thing you can do in 5 minutes. Go to Claude → Settings → Connectors, then enable the Notion connector. Notion Connector Once connected, Claude can read your Notion workspace directly inside any chat. Now all your tasks, CRMs, notes, tables, etc., are accessible and editable for Claude. I recommend creating a new "Memory Database" where you store all your AI preferences, rules, and important AI context. As you're working with Claude, you can say: "Send this to my Notion Memory Database." You can then export this Notion data to other LLMs or AI platforms via a CSV file or by using the Notion MCP connector. This setup is similar to what I covered in Layer Two, except you now have nice visuals with Notion's built-in board views, to-do lists, and more, and you unlock additional functionality. I personally don't use this setup often (Option two below is just better), but I do occasionally use it to send and store valuable mega prompts I use in Claude: Claude x Notion: Final Product Option 2: Claude x Obsidian Obsidian is a tool that stores everything as plain Markdown files on your computer, making it a solid way to connect with Claude and build a second brain. The setup Download Obsidian Go to obsidian.md and download the app. Create a new Vault (think of this as a simple desktop folder where Claude Code will store and access your data). 2. Select Vault in Claude Cowork/Claude Code Open the Claude desktop app and click 'Select Folder.' Point it at your Obsidian Vault folder. Claude now has direct read and write access to everything inside it. 3. Inject mega prompt Paste Andrej Karpathy's LLM Knowledge Base system prompt into the chatbox. This is the instruction set that tells Claude Code how to build, maintain, and evolve your wiki over time. The prompt is available here: gist.github.com/karpathy/442a6bf555914893e9891c11519de94f 4. Feed it your data Drop in any existing notes, CSV files, article exports, or Notion exports to start populating your second brain. Claude then ingests each source, extracts the key information, and integrates it into an evolving memory wiki. Final Product The final product is an AI second brain knowledge wiki that links ideas, notes, remembers ALL your data, and looks like this: Claude x Obsidian: Final Product Which one should you choose? Notion = fast, simple option Obsidian = local storage, and you want Claude to have a deep understanding (this is the most advanced memory system I've personally found). If you're going to build the Claude x Obsidian second brain, I recommend reading this first (more details): AI Edge @aiedge_ · Apr 9 Article Claude Code + Obsidian Ultimate Guide (build an AI second brain) Claude Code + Obsidian is the most powerful AI combo I've ever used. I literally built an AI second brain that contains everything I think, read, write, research online, and more. It contains my... 28 165 1K 967K Final Thoughts So, there you have it, my three layers to building memory systems inside Claude that make it way sharper. Again, layer one is the basic setup that yields immediate results (enough for most people). Layer two requires some setup, but is extremely valuable. And lastly, layer three will completely change how you use Claude. I hope you found this article helpful. I post AI articles 2-3x/week, and all my content is hand-written, based on how I'm actually using AI (no AI slop). If that's the style of content you like to see, follow me @aiedge_ and more will be on your feed soon! Lastly, if you can, please Like/Repost this article so others can see it💙 Want to publish your own Article? Upgrade to Premium 11:55 PM · Apr 22, 2026 · 1.1M Views 23 156 1.2K 6.3K Read 23 replies

AIFCC — AI Fluent CxO Club

読み書きそろばん、AI。経営者が AI を自分で動かせるようになるコミュニティ。

Claudeに完璧なメモリを持たせる方法――3層システム完全ガイド | AIFCC