Give your Claude a memory, and set it up to really work for you
Right now Claude Code forgets everything when a chat ends. After this setup it remembers: who you are, how you like to work, and what you did together. Every chat starts out already knowing you. By the end it can also publish web pages, read your email and calendar, use a browser, and make Word, Excel and PDF files.
Your Claude does the setup. Most steps are a message you copy from this page and paste into Claude Code. Claude does the work and tells you when it's done. When it asks to run something, click Yes. You only do three things yourself: sign in on a few websites, click Allow, and paste your keys into a hidden window. Keys never go into a chat.
Do the steps in order and tick each one off when it's done. The page remembers your ticks.
Paste to Claude= paste it into Claude Code. You= you do it yourself, usually on a website. Key window= a separate PowerShell window for pasting keys.
Before you start
3 min- You Accept Ori's invite to the memory system. It's in your email, or here: accept the cc-memory-bridge invite.
- You Open Claude Code, signed in with your own Claude plan (Pro or Max). Use a new chat for each step on this page.
- Keep Claude Code's normal safety setting, where it asks before it runs things. Just click Yes when it asks during this setup.
Install the tools
5 minClaude installs what the memory system needs: Node.js, Git, the GitHub tool and Python.
I'm setting you up with a long-term memory system and some tools. I'm not technical, so please do the work yourself, explain in plain words, and do one thing at a time. This is Windows. Step 1: install these with winget if they're missing: Node.js LTS (needs version 22.15 or newer), Git, GitHub CLI (gh), and Python 3.12. Tell me if a Windows permission popup needs my click. After installing, refresh your PATH from the registry so you can find the new tools, or tell me if I need to restart Claude Code. Also: - run Set-ExecutionPolicy -Scope CurrentUser RemoteSigned - make a global git ignore file (~/.gitignore_global containing .env, .env.*, *.key, *.pem) and set git's core.excludesFile to it, so files with keys are never uploaded anywhere - show me the versions of node, git, gh and python at the end
Sign in to GitHub
3 minThis lets Claude save your memory and your projects to your own GitHub account. It's a sign-in, so you do it yourself in a separate window.
- Key window Open a separate Windows Terminal (PowerShell) and type
gh auth login. Pick GitHub.com, HTTPS, Yes, Login with a web browser. Copy the code it shows into the browser page that opens, then close that window. - Paste to Claude
I just signed in to GitHub with gh auth login. Please check it with gh auth status, run gh auth setup-git, then ask me for my name and the email on my GitHub account and set them as my git user.name and user.email.
Install the memory system
8 minClaude downloads and builds the memory system, sets your old instructions aside so nothing gets lost, and gets the settings file ready. It also makes a small "add a key" tool you'll use in the next step.
Next, please install the cc-memory-bridge memory system. Do each part and tell me when it worked:
1. Clone https://github.com/E3vaBot/cc-memory-bridge into ~/repos/cc-memory-bridge, then run npm install, npm run build and npm link there. Check that the cc-memory-bridge command works.
2. If ~/.claude/CLAUDE.md exists, rename it to ~/.claude/CLAUDE.md.before-memory. Don't change anything else in ~/.claude.
3. Create the folder ~/.cc-memory-bridge/memory, and create ~/.cc-memory-bridge/.env with exactly these lines:
MODE=standalone
MEMORY_DIR=~/.cc-memory-bridge/memory
WORKSPACE_DIR=~/.cc-memory-bridge/memory
MEMORY_SQLITE=~/.cc-memory-bridge/index.sqlite
DB_MODE=readwrite
SUMMARIZER_PROVIDER=anthropic
4. Save this script as ~/add-key.ps1, exactly as written (plain ASCII):
param([string]$Target = "$HOME\.env")
$dir = Split-Path $Target
if (-not (Test-Path $dir)) { New-Item -ItemType Directory -Force $dir | Out-Null }
if (-not (Test-Path $Target)) { New-Item -ItemType File $Target | Out-Null }
icacls $Target /inheritance:r /grant:r "$($env:USERNAME):F" | Out-Null
$name = Read-Host "Key name (CAPITALS_LIKE_THIS)"
$sec = Read-Host "Paste the key (it stays hidden)" -AsSecureString
$val = [System.Net.NetworkCredential]::new('', $sec).Password
$rest = @(Get-Content $Target | Where-Object { $_ -notmatch "^$name=" })
Set-Content -Path $Target -Value ($rest + "$name=$val") -Encoding ascii
$val = $null
"Saved $name in $Target"
5. Run icacls on ~/.cc-memory-bridge/.env so only my Windows user can open it.
Don't run the memory system's install command yet. I'll add my keys first.Make and add the two memory keys
10 minThe Claude key writes a short summary after each chat, using the free monthly API credits that come with your Claude plan. The OpenAI key lets Claude search your memory by meaning, so asking about a "printer problem" also finds notes about "the HP in room 12". It costs pennies a month.
- You Claude key: go to console.anthropic.com, API keys and sign in with the same account as your Claude plan. Check that your monthly credits show up there. Click Create key, name it
memory, and copy it. - Key window Open a separate PowerShell window and run the line below. For the name, type
ANTHROPIC_API_KEY. For the key, right-click to paste it. It stays hidden.
powershell -ExecutionPolicy Bypass -File "$HOME\add-key.ps1" -Target "$HOME\.cc-memory-bridge\.env"
- You OpenAI key: go to platform.openai.com, API keys (make an account if you need one, and add $5 of credit under Billing). Click Create new secret key, name it
memory, and copy it. - Key window Run the same line again. This time the name is
OPENAI_API_KEY, then paste the key.
Switch the memory on and set up the backup
5 minClaude connects the memory to itself, makes a private repo on your GitHub to hold your memory, and sets up an automatic backup to it every day.
I've added my two keys to ~/.cc-memory-bridge/.env with my add-key tool. Don't show me the file or print any key. Now please: 1. Run cc-memory-bridge install --claude-code, then cc-memory-bridge index, then cc-memory-bridge doctor. Everything should be OK, the summarizer should say anthropic, and vector search should be on. If anything isn't OK, explain it to me plainly and fix it. 2. Make my memory folder (~/.cc-memory-bridge/memory) a git repo on branch main, commit everything, and create a PRIVATE GitHub repo called claude-memory from it with gh repo create claude-memory --private --source=. --push. Check that it really is private. 3. Set up the daily backup: from ~/repos/cc-memory-bridge, run powershell -ExecutionPolicy Bypass -File .\scripts\windows\schedule-backup.ps1 -Time 05:50 4. Tell me in plain words what's now set up, and remind me to fully close and reopen Claude Code.
Restart Claude and let it move in
15 minThe memory only switches on after a restart. Then your Claude brings over your old instructions, asks what you want to call it, and gets to know you.
- You Fully close Claude Code (every window) and open it again. Start a new chat.
- Paste to Claude
Hi! You now have a long-term memory (the cc-memory-bridge system). My memory files are in ~/.cc-memory-bridge/memory: USER.md (who I am), OPERATIONAL-CONTEXT.md (how I want you to work) and MEMORY.md (the index). Let's set it up together, one step at a time: 1. If ~/.claude/CLAUDE.md.before-memory exists, read it. Also look in ~/.claude (settings.json, commands, skills) so you know what I already had. Change nothing there. 2. Move everything useful from that old file into its new home: facts about me go in USER.md, rules for how you work go in OPERATIONAL-CONTEXT.md. Anything that must stay in ~/.claude/CLAUDE.md goes ABOVE the memory section that is already there. Never write the same fact in two places. Then show me a short list of what went where. 3. Ask me what name I want to call you, and add an "Identity" section at the very top of ~/.claude/CLAUDE.md. 4. Interview me a few questions at a time (not a wall of questions) to fill in USER.md: who I am, my work, my timezone, how I like answers, and what I'll use you for. 5. Add these rules to OPERATIONAL-CONTEXT.md: - Never repeat a password, key or token in chat, even when warning about it. - Never send a password, key, token or personal or financial info anywhere outside this computer without my OK. - Always ask before deleting anything, or sending or publishing anything. - Keys live in files, never in chat: the memory's keys are in ~/.cc-memory-bridge/.env (ANTHROPIC_API_KEY writes summaries on my Claude API credits, OPENAI_API_KEY powers search by meaning). All my other keys go in ~/.env. When a command needs a key, load ~/.env (in bash: set -a; . ~/.env; set +a) and refer to keys only by NAME. If you need a key I don't have, tell me its name. I add keys myself in a separate PowerShell window with: powershell -ExecutionPolicy Bypass -File "$HOME\add-key.ps1" - If summaries or memory search stop working, check those credits and keys first. - GitHub: use gh (I'm signed in). Every new repo is PRIVATE unless I say so. Projects go in ~/repos. Ask me before pushing anything or making anything public. 6. Keep every file short and plain. When we're done, run cc-memory-bridge backup and tell me what it said.
Test that it really remembers
5 minThis proves the whole thing works: saving, summarizing, finding and backing up.
- Paste to Claude In a new chat: "My favourite tea is mint. Please remember that." Then type
/endand close that chat. - Wait about two minutes.
- Paste to Claude In another new chat:
What's my favourite tea? Search your memory. Then run cc-memory-bridge doctor and cc-memory-bridge backup and tell me in plain words if everything is healthy and backed up.
Cloudflare: put pages online
10 minThis lets Claude publish web pages for you in seconds, for example a how-to guide for teachers or a sign-up form. It's free, and it's the same way this page was made.
- You Make your own free account at dash.cloudflare.com/sign-up and confirm your email.
- You Make a key: go to My Profile, API Tokens, click Create Token, then Use template next to Edit Cloudflare Workers. Leave the settings as they are, click Continue to summary, then Create Token, and copy it.
- Key window Save it in your keys file. The name is
CLOUDFLARE_API_TOKEN.
powershell -ExecutionPolicy Bypass -File "$HOME\add-key.ps1"
- Paste to Claude
I added CLOUDFLARE_API_TOKEN to ~/.env. Please install wrangler globally with npm, load my keys from ~/.env, and run wrangler whoami to check the key works. Then make a simple one-page "Hello from Ravit" website and publish it on my Cloudflare Pages with wrangler pages deploy, and give me the link. Then add to OPERATIONAL-CONTEXT.md: "Cloudflare: my own free account; CLOUDFLARE_API_TOKEN is in ~/.env and wrangler reads it once ~/.env is loaded. Publish pages with wrangler pages deploy. Ask me before publishing anything with real names or school information."
Email, calendar and Drive
5 minThis lets Claude read your email, check your calendar and find files in your Drive. It's the biggest time-saver for day-to-day work. It always asks you before it sends or deletes anything.
- You Go to claude.ai, Settings, Connectors (same account). Connect Gmail, Google Calendar and Google Drive, or the Microsoft ones if that's what you use. Sign in and click Allow for each.
- You Fully close Claude Code and open it again.
- Paste to Claude
What's on my calendar tomorrow, and are there any emails from this week I haven't answered? Then add to OPERATIONAL-CONTEXT.md: "Email/calendar/Drive: read freely, but ALWAYS show me the draft and wait for my yes before sending, accepting, changing or deleting anything."
Give Claude a browser
5 minWith a browser, Claude can look things up, read web pages, check a site, and fill in simple forms while you watch.
- You In Chrome, install the Claude extension from the Chrome Web Store (made by Anthropic) and sign in with the same Claude account.
- You In Claude Code, type
/chromeand follow what it says to connect. - Paste to Claude
Please install agent-browser (npm install -g agent-browser, then agent-browser install). Use it to look up today's weather where I live and tell me in one line. Then add to OPERATIONAL-CONTEXT.md: "Browser: use agent-browser for reading and research; use Claude in Chrome when I want to watch or when a site needs my login. Never type a password for me."
Word, Excel, PowerPoint and PDF
5 minWith these, Claude can make real documents you can print or email, like a printer guide, a sign-up sheet or a slide deck. It doesn't just give you plain text.
Check whether you have the document skills (Word, Excel, PowerPoint, PDF). If not, walk me through installing Anthropic's official ones: /plugin marketplace add anthropics/skills, then install the document-skills plugin. Tell me when I need to restart. After that, make the folders ~/Claude/Documents and ~/Claude/Drafts, and make me a one-page Word document titled "Test" with three bullet points in ~/Claude/Documents.
Open the Word file Claude made and check it looks right.
First real jobs
try anyTo start working, open Claude Code in your Claude folder (or in a project in repos). Its memory comes with it to any folder. Some first jobs to try:
| Try saying | What you get |
|---|---|
| "Make a one-page printable guide for teachers: how to connect to the classroom printer on Windows 11. Save it as Word and PDF." | A handout you can print today |
| "This laptop's sound isn't working. Check what's wrong, explain it simply, and ask me before you change anything." | A diagnosis on your own machine |
| "Make a small web form where teachers can report a broken laptop, and publish it on my Cloudflare." | A live link to share |
| "Go through my email from this week and list what needs an answer from me, most urgent first." | Your to-do list |
Using it every day
read onceMost of this happens on its own. Here's what you can do yourself.
| You want to | Do this |
|---|---|
| Make Claude remember something important | Say "remember this". |
| Save a chat's summary right now | Type /end (the chat keeps working). |
| Keep the memory tidy | About once a week, type /consolidate. |
| Fix something Claude believes about you | Say "that's wrong, update my memory". |
| Give Claude a new key | Key window powershell -ExecutionPolicy Bypass -File "$HOME\add-key.ps1" |
| Check everything is healthy | Say "run cc-memory-bridge doctor and backup and tell me if all is well". |
| Get a new version (when Ori says) | Say "update my memory system: git pull in ~/repos/cc-memory-bridge, then npm install, npm run build, and doctor". |