A second brain for AI: shared memory for Claude Code, ChatGPT and Codex

A second brain is a trusted place for the things you don’t want to keep in your head. Working with AI tools adds a new need to that idea: your notes are now read by your AI tools as well as by you. The problem is that each tool keeps its own separate memory. This guide explains what a second brain for AI is, how shared memory across tools works, and where its limits are.

Last updated:

What is a second brain?

A second brain is the habit of keeping ideas, decisions and things you learn in an outside system instead of your head. Usually that system is a notes app: folders, linked notes and short summaries you can find again later.

AI adds a new reader to that system. You might start a project in ChatGPT, continue it in Claude and write the code with Claude Code or Codex. Each of these tools has to know you and your project to be useful.

Claude memory, ChatGPT memory, Codex memory: why are they separate?

ChatGPT memory is the saved information you see in its settings, and it is used only inside ChatGPT. Claude memory lives in Claude’s own memory feature and projects. Claude Code memory is the CLAUDE.md file in your project, and Codex memory is AGENTS.md plus Codex’s own settings. Each works on its own, but none of them knows what the others know.

The result is familiar: you explain the same writing preference, the same database choice and the same reason a feature was cut to every tool. A fact you correct in one tool stays outdated in the others.

How shared AI memory works

Shared memory is one place where the AI tools you authorise can read and write the same short records. In Notenso that place is called Brain. Tools connect to Brain over MCP (Model Context Protocol), an open standard for AI apps to use outside tools that ChatGPT, Claude, Claude Code and Codex support.

When a tool notices something worth keeping, it saves a short record: a preference, a decision, a goal or a project fact. Another tool searches for it when the work is related and uses it. Records keep their history, so when something changes the record is corrected and the old version isn’t lost.

Long notes stay separate. You can link a whole note to a topic or save one sentence of it as a memory. A tool needs separate access to a note or folder to read its full text.

Obsidian second brain or shared memory?

Local notes apps such as Obsidian are strong for long notes and a personal archive. Claude Code can read a notes folder on your computer directly. That works well with one tool on one computer.

It gets harder with tools that run on the web. ChatGPT or Claude in the browser can’t reach a folder on your computer. Notenso Brain is a hosted MCP server, so Claude Code in the terminal and ChatGPT in the browser reach the same memory. The two can work together: the long archive in one place, and the short decisions your tools need every day in shared memory.

How to set up shared memory

  1. Create a free Notenso account and open Brain from the sidebar.
  2. Connect your tool. For Claude Code, run: claude mcp add --transport http notenso https://app.notenso.com/mcp. For ChatGPT, Claude and Codex, follow the steps under Connect an AI in Settings. On the permission page, tick “Shared Brain memory.”
  3. Add the ready-made Brain instructions from the same screen to your tool’s permanent instructions. Models don’t reliably call a memory tool on their own; the instructions tell them when to save and when to recall.
  4. For Claude Code and Codex, set up the optional Brain hook. It adds a short block of relevant memories at the start of a session and on each prompt, using its own read-only key that you can revoke at any time.
  5. Share a preference in a normal chat, then check the record on the Brain screen in Notenso. Ask a related question in a second tool to test recall.

Limits and control

Brain doesn’t import past conversations. It keeps only the short facts your connected tools save from the current conversation. You can see, correct or delete every record. Brain permission doesn’t grant access to your notes; that is chosen separately. Keep passwords, API keys and sensitive personal information out of shared memory.

The free plan includes 100 memories and 1 AI connection. To connect several tools at once, Pro includes 5 connections. Connecting a tool doesn’t mean it will use memory on every message; check that a record was saved and recalled in the other tool.

Try Brain in your own account.

Start free