Give Claude and ChatGPT one shared memory that you own
Obsidian now has official connectors for AI agents. You make one vault of notes on your computer. Then Claude and ChatGPT both read the same notes about you. Below is the full setup from my reel, with the two prompts and the install links. Obsidian is completely free.
Do the steps in this order. Each step takes a few minutes.
1
Download Obsidian
Made by Obsidian · "Free without limits"
Obsidian is a free note app. Your notes stay as Markdown files in a folder on your computer. Use the desktop app, because the connector uses it to search and read your notes.
Open Obsidian and click Create new vault. Give it a name, for example "My AI memory". A vault is a folder on your computer. Each note in it is a plain Markdown file.
3
Make three folders: raw, wiki and output
The raw folder holds your notes and files. The wiki folder holds what the AI builds from them. The output folder holds what the AI makes for you, for example a plan or a report. You add files to raw. The AI writes wiki and output.
Still from my reel. The Raw, Wiki and Output diagram is from a reel by Nate Herk (@nateherkai).
4
Fill raw with a note about you
Open the AI that you use most. Paste this prompt. Save the answer as about-me.md in the raw folder. Do the same in your other AI apps. Add your own notes and files too.
Prompt
Write a note of everything that you know about me.
Use only what you know from our chats and from your memory. Do not guess.
Use these headings: Work, Goals, Projects, Tools that I use, How I write, What I like, What I do not like, People and companies.
Write one fact on each line.
Do not include passwords, bank details, ID numbers or health data.
Give me the note as one Markdown file with the name about-me.md.
5
Change raw into a linked wiki
Idea by Andrej Karpathy (LLM Wiki)
Open Claude Code in your vault folder and paste my wiki prompt from the next section. It follows Karpathy's LLM Wiki idea. The AI reads raw, writes linked pages in wiki, and keeps an index and a log. Open Graph view in Obsidian to see the links between your notes.
Still from my reel: Karpathy's LLM Wiki idea in Claude Code, above the Obsidian graph view.Read Karpathy's LLM Wiki
6
Install the official Obsidian connector
Made by Obsidian · official
In Claude, add Obsidian from the official Claude plugin directory. In ChatGPT, add Obsidian from the ChatGPT plugin directory. The ChatGPT plugin also works in Codex and Dots. In Obsidian, go to Settings, then General, and set Command line interface to on. Then the AI can search the notes in the running app.
Then just say: What do you know about me?
Still from my reel: the install lines on the official Obsidian Connectors page.Open the install page
Copy my wiki prompt
Open Claude Code in your vault folder and paste this prompt. It reads the raw folder and builds the linked wiki. Codex works too.
Prompt
You are the keeper of my personal wiki. This folder is my Obsidian vault.
Build a linked wiki from my notes. Follow the LLM Wiki idea of Andrej Karpathy.
Read his idea file first: https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f
Do the steps below in order. After each step, tell me in one line what you did.
RULES
- Do not change, move or delete a file in raw/. The raw/ folder is my source of truth.
- You write and update every file in wiki/. I read the wiki. You write it.
- Put each thing that you make for me (a plan, a report, a table) in output/.
- Do not invent facts about me. Use only facts from raw/.
- If two notes do not agree, keep both facts. Write the conflict on the page.
- Do not copy passwords, bank details, ID numbers or health data into wiki/. If you find them in raw/, tell me.
- Write in Obsidian Flavored Markdown. Use [[wikilinks]] between pages.
STEP 1. CHECK THE VAULT
1. Make sure that this folder has the folders raw/, wiki/ and output/. If a folder is missing, make it.
2. List the files in raw/. If raw/ is empty, stop and tell me.
3. If the Obsidian skills are installed, use them for notes, Bases and Canvas files.
STEP 2. WRITE THE RULES FILE
1. Write CLAUDE.md in the root of the vault. This file is the schema: the rules of this wiki.
2. In it, write the job of each folder, the page types, the page format and the three jobs below: ingest, query and check.
3. Copy the same text to AGENTS.md, so that Codex and other agents use the same rules.
STEP 3. MAKE THE WIKI
1. Read each file in raw/, one file at a time.
2. For each file, write a summary page in wiki/sources/.
3. Make a page for each person, project, company, tool and goal in wiki/entities/.
4. Make a page for each big idea or topic in wiki/topics/.
5. Link each page to the pages that it talks about. Use [[wikilinks]].
6. At the top of each page, add these properties: type, sources, updated (the date).
7. Write wiki/me.md. This page is a short profile of me: work, goals, tools, how I write, what I like and what I do not like.
8. Link each fact in wiki/me.md to its source page.
STEP 4. MAKE THE INDEX AND THE LOG
1. Write wiki/index.md. List each page in groups, with a link and a summary of one line.
2. Write wiki/log.md. Add one line for each job. Start each line like this: ## [YYYY-MM-DD] ingest | file name
3. Always add new lines at the end of log.md. Do not change old lines.
STEP 5. CHECK THE WIKI
1. Find pages that have no links to them. Add links to them from the correct pages.
2. Find names that are on 2 or more pages but that have no page. Make a page for each name.
3. Find facts that do not agree. List them at the top of wiki/index.md under the title "To check".
STEP 6. GIVE ME THE RESULT
1. Tell me the number of pages that you made, for each page type.
2. Give me 5 questions that I can ask Claude or ChatGPT to test the shared memory.
3. Tell me what I can add to raw/ to make the wiki better.
FROM NOW ON
- If I say "ingest", read the new files in raw/. Then update the wiki, the index and the log.
- If I ask a question, read wiki/index.md first. Then read the pages. Give the answer with links to the pages.
- If an answer is useful, save it as a new page in wiki/.
- If I say "check the wiki", do Step 5 again.
Keep your shared memory up to date
1
Add new files to raw
Save new notes, articles and chat summaries in the raw folder. Obsidian Web Clipper saves a web page as a note.
2
Tell Claude Code to ingest them
Just say "ingest". Claude Code reads the new files and updates the wiki pages, the index and the log.
3
Ask Claude or ChatGPT
Ask a question in either app. Both apps use the same notes, so you do not start again from zero with a new AI model.
4
Check the wiki each week
Just say "check the wiki". The AI finds pages with no links, missing pages and facts that do not agree.
Questions people ask
Is Obsidian free?
Yes. The Obsidian pricing page says "Free without limits." The connectors are free too. You do not need a paid add-on for this setup.
Are my notes private?
Your notes stay in a folder on your computer. The connectors do not send anything by themselves. When an AI reads a note, that note goes to the AI model that you use. Keep passwords, bank details and private notes out of the vault.
Do I need Claude Code?
The wiki prompt needs an agent that can read and write files in your vault, for example Claude Code or Codex. Claude Code needs a paid Claude plan. The Obsidian connector itself works in the Claude and ChatGPT apps.
Which other AI apps have an Obsidian connector?
Obsidian lists Claude, ChatGPT, Antigravity, Cursor, GitHub Copilot, Grok Bot, Hermes, Kiro, Muse, OpenCode and more. The install steps for each app are on the Obsidian Connectors page. Open the Obsidian Connectors page
Want AI set up like this for your business?We build AI setups and run ads for businesses.
Obsidian and Obsidian Connectors by Obsidian (obsidian.md). LLM Wiki idea by Andrej Karpathy. The Raw, Wiki and Output diagram in the reel is from Nate Herk (@nateherkai). All credit to the makers.