← Back to Resources

Prompt Database

🧠 How to Give Claude Perfect Memory — 3 Layer System

💡 By default, Claude forgets your context, preferences, and tone the moment a conversation ends. These three layers fix that — starting in minutes, scaling to a full AI second brain.

🧭 Overview

Detail Info
Resource Name How to Give Claude Perfect Memory — 3 Layer System
Difficulty Beginner → Advanced
Time to Set Up 5 min (Layer 1) → 60 min (Layer 2) → 1–2 hrs (Layer 3)
Plans Supported Free (Layer 1), Pro/Max recommended (Layers 2–3)

📊 The Three Layers at a Glance

Layer Name Level Time What It Does
1 Basic Memory Beginner Minutes Cleans up + fills in Claude’s built-in memory
2 Context File System Intermediate ~60 min File-based memory Claude reads every session
3 AI Second Brain Advanced 1–2 hrs Self-evolving knowledge base (Notion or Obsidian)

🟢 Layer 1 — Basic Memory (Beginner)

4 quick wins. Takes minutes. Works on all plans including Free.

Win 1 — Clean Up Your Memory Page

Go to Settings → Memory. This is the most overlooked page in Claude. You’ll see everything Claude has stored about you across every conversation — preferences, facts, habits, working styles. Left unmanaged, it fills up with garbage.

Win 2 — Fill In Your Project Instructions

If you use Claude Projects, fill in the Project Instructions field for every project. Tell Claude your role, rules, audience, and files. Create projects for your most-used workflows so Claude never starts from scratch.

Win 3 — Tell Claude Directly (Mid-Conversation)

Just say it:

Claude stores these immediately. Verify at Settings → Memory.

Win 4 — Import From ChatGPT (or Other LLMs)

Option A: Ask ChatGPT to export a memory summary:

“I’m switching to Claude. Give me a complete summary of everything you know about me, my preferences, my work, and my communication style.”

Copy and paste into Claude.

Option B: Go to Settings → Memory → Import/Export and use Claude’s built-in import tool.


📋 Copy-Paste: Full Memory Setup Prompt

I need you to remember the following about me. Save all of this to your memory so it applies to every future conversation we have.

WHO I AM:
- My name is [YOUR NAME]
- My job title is [YOUR TITLE] at [YOUR COMPANY/BUSINESS]
- I work in the [YOUR INDUSTRY] industry
- I’ve been doing this for [X] years
- My main responsibilities are: [LIST 3-5 KEY THINGS YOU DO]

HOW I WORK:
- My communication style is [direct / casual / formal / friendly but professional]
- When I ask for writing, I want it to sound like [describe your voice]
- I prefer [short and punchy / detailed and thorough / somewhere in between] responses
- I hate when AI [uses corporate jargon / adds unnecessary caveats / gives vague answers / etc.]
- When I say “draft this,” I mean ready to send — not a rough outline

MY TOOLS:
- I use [list apps you use daily — Gmail, Slack, Notion, Google Docs, etc.]
- My calendar is on [Google Calendar / Outlook / Apple Calendar]
- I manage projects in [Notion / Asana / Monday / Trello / etc.]

MY GOALS RIGHT NOW:
- My #1 priority at work right now is: [WHAT YOU’RE FOCUSED ON]
- A secondary goal is: [SOMETHING ELSE YOU’RE WORKING TOWARD]
- By the end of this [month / quarter / year], I want to have: [SPECIFIC OUTCOME]

WHAT I NEED FROM YOU:
- Default to being [proactive / brief / thorough]
- If I ask you to write something, match my voice every time
- Challenge my ideas when they have obvious flaws. Don’t just agree with me.
- If you’re not sure about something, say so. Don’t make things up.

Save all of this. I should never have to explain any of it again.

🟡 Layer 2 — Context File System (Intermediate)

~60 min setup. File-based memory that lives on your computer and loads automatically into Cowork and Claude Code.

Instead of relying on Claude’s built-in memory (unreliable), you store all your context in .md files that Claude reads every time you work.

The 4 Files You Need

File Purpose
Instructions.md Your rules, voice, output standards, and the command to auto-update Memory.md
Memory.md Starts mostly empty. Claude updates it as you work. Sections: Preferences, Corrections, Patterns, Decisions.
Context.md Your business, audience, goals, active priorities. General or per-project.
Archive Copies Weekly backups Claude can’t access. Restore if Claude accidentally overwrites something.

How to Use It

  1. Create a folder on your desktop called “Claude Master Folder”
  2. Put all 4 files inside
  3. In Cowork or Claude Code, attach this folder
  4. Claude reads the files, follows your rules, and updates Memory.md as you work
  5. Once a week, copy the whole folder into a dated archive folder outside Claude’s reach

📋 Copy-Paste: Build Your Master Folder in Cowork

Go into my “Claude Master Folder” in my connected workspace and build these four markdown files inside it:

1. Instructions.md — include these sections:

## Who I Am
[My name, role, company, industry, years of experience]

## What I Do
[My primary responsibilities and the type of work I do daily]

## Rules
- Match my communication style: [direct / casual / formal / friendly but professional]
- My writing voice is: [describe — conversational, authoritative, warm, no-nonsense, etc.]
- Default response length: [short and punchy / detailed / somewhere in between]
- Never use these words or phrases: [list your banned words]
- Never start responses with: “Great question!” / “Absolutely!” / “Of course!”
- Never add disclaimers like “As an AI...” unless I specifically ask
- When I say “draft this” I mean ready to send — not bullet points or an outline
- If I ask “what do you think?” give me your actual recommendation, not just pros and cons
- If you’re unsure about something, say so instead of guessing
- Challenge my ideas when they have obvious flaws

## What Good Output Looks Like
- Lead with the answer, then explain if needed
- Use headers and bullets for anything longer than 3 paragraphs
- Bold the most important point in each section
- Write at an 8th grade reading level. Short sentences. Real words. Use contractions.
- Keep paragraphs under 4 sentences

## Memory Rule
Update Memory.md with my preferences, corrections, and patterns over time.

2. Memory.md — with sections: Preferences, Corrections, Patterns, Decisions, Personal Context

3. Context.md — with sections: About This Project / Business, Audience, Key People & Collaborators, Active Projects & Priorities, Tools & Stack, Important Background / History

4. Archive-Guide.md — step-by-step guide explaining why archiving matters, how to do it weekly, what to include, how to restore, and where to store backups.

Make all four files clean, well-organized, and ready for me to fill in with my real information.

🔴 Layer 3 — AI Second Brain (Advanced)

Not for everyone. But if you build it, Claude becomes a self-evolving second brain trained on everything you think, read, write, and work on.

Option A — Claude + Notion (Easier)

  1. Go to Claude → Settings → Connectors and enable the Notion connector
  2. Claude can now read your entire Notion workspace inside any chat
  3. Create a “Memory Database” in Notion to store AI preferences, rules, and context
  4. As you work, tell Claude: “Send this to my Notion Memory Database”
  5. Over time, this becomes a searchable, visual knowledge base of everything Claude knows about you

Bonus: You get Notion’s board views, to-do lists, and filters on top of your memory data. Can also export to other LLMs via CSV or Notion MCP connector.


Option B — Claude + Obsidian (Most Powerful)

Obsidian stores everything as plain Markdown files on your computer — which means Claude can read, write, search, and evolve your entire knowledge base over time.

📖 Full Obsidian Setup Guide

Step 1 — Download Obsidian

<p> Go to obsidian.md (free). Create a new Vault — just a folder on your computer where everything lives.</p>

<p> <strong>Step 2 — Connect to Claude</strong></p>

<p> Open the Claude Desktop app and click <strong>“Select Folder.”</strong> Point it at your Obsidian Vault folder. Claude now has direct read AND write access to everything inside.</p>

<p> For deeper connection (searchable from claude.ai):</p>

  • Inside Obsidian: Settings → Community Plugins → Browse → search “Claude Code MCP” by Ian Sinnott
  • Install and enable it
  • This runs a small server Claude can connect to for full search and access

<p> <strong>Step 3 — Inject the Knowledge Base Prompt</strong></p>

<p> Paste a system prompt into Claude that tells it how to build, maintain, and evolve your wiki over time.</p>

<p> The best one available is <strong>Andrej Karpathy’s LLM Knowledge Base system prompt</strong>:</p>

<p> <code>gist.github.com/karpathy/442a6bf555914893e9891c11519de94f</code></p>

<p> Copy the entire prompt and paste it into your Claude conversation (or save it as your Project Instructions).</p>

<p> <strong>Step 4 — Feed It Your Data</strong></p>

<p> Drop in:</p>

  • Existing notes from any app (Notion, Google Docs, Apple Notes exports)
  • CSV files, article exports, PDF summaries
  • Meeting notes, research documents, project briefs
  • Anything you’ve written that contains useful context

<p> Claude ingests each source, extracts key information, and integrates it into an evolving knowledge wiki with linked pages.</p>

<p> <strong>What to keep adding over time:</strong></p>

  • Meeting notes (who, what, decisions, action items)
  • Project briefs (goal, timeline, stakeholders, status)
  • Client/contact notes (preferences, past conversations, deals)
  • Research and ideas (articles, sparks, things to remember)
  • Templates and processes (how you do things — Claude follows YOUR process)
  • Daily notes (end-of-day brain dump — searchable work history)

<p> <strong>The Result (after a few weeks):</strong></p>

  • Claude knows what you discussed in last Tuesday’s meeting
  • Claude references the proposal you wrote 3 months ago
  • Claude remembers your client prefers formal language
  • Claude connects your research from last month to today’s project
  • Claude gets smarter every single day

Which Option Should You Choose?

Notion Obsidian
Setup time 5 minutes 1–2 hours
Interface Visual, board views Markdown, graph view
Claude access Read + edit via connector Full read/write via Desktop app
Best for Already using Notion daily Want the most powerful setup
Verdict Start here if unsure Build this if you want the best

📏 Quick Reference

Action Where
View/edit Claude’s memory Settings → Memory
Import from ChatGPT Settings → Memory → Import/Export
Set Project Instructions Open Project → Set custom instructions
Connect Notion Settings → Connectors → Notion
Connect Google Calendar Settings → Connectors → Google Calendar
Schedule daily task Cowork → Schedule a Task