Put Your Agents' Brain in Git. Every Coding Agent Reads It.
One folder of notes that Claude Code, Copilot, Cursor and Codex all share, with every change as a diff you review.

Every coding agent keeps its memory in its own file. Claude Code reads CLAUDE.md, Copilot reads its instructions file, and Cursor reads its rules. Use two of them on one project and the same context gets written twice, then the copies drift apart.
We built the open brain format so the agents you use can share one memory. A brain is a folder of Markdown notes, plus the rules, skills and scripts an agent needs to keep it. The folder carries the same skills in the place each agent already looks, so Claude Code, Copilot, Cursor and Codex all work from the same notes. Put it in a Git repo and every change an agent makes becomes a diff you review before you keep it.
The format is open source on GitHub, MIT licensed and free. Here is the setup, shown with a sample brain for a billing API.
One folder, four agents
Here is the starter brain from the repo, set up as a private repo of its own. That is the whole brain:

AGENTS.md holds the rules every agent follows, INDEX.md maps every note and lists the open tasks, TASKS.md holds your to-dos, and brain.json names the brain and its sections. CLAUDE.md tells Claude Code to read AGENTS.md, and scripts/ holds optional Node 18+ helpers.
The skills are identical in every location. Each agent finds them where it already looks:
| Agent | Where it finds the skills |
|---|---|
| Claude Code | .claude/skills/ |
| GitHub Copilot (VS Code, Agent mode) | .github/skills/ |
| Cursor | .cursor/rules/ |
| Codex, or any agent that reads AGENTS.md | skills/ |
Only sections/ and daily/ hold your knowledge. Everything else is scaffolding you can regenerate. The folder ships ten skills, from file-a-note and answer-from-brain to log-a-meeting, log-a-transcript and projects.
Step 1: Make it a repo
Copy the starter brain, rename it, and set its name and purpose in brain.json. Add an owner with the names you go by, such as "owner": {"names": ["Alex Rivera", "Alex"]}, so the meeting skills can tell your action items from everyone else's. Then run git init and make your first commit.
Keep it as its own private repo or as a folder next to the code it covers. Either way, it is plain files.
Step 2: File a decision
Tell your agent what to keep, in plain words: "File this: failed charges retry three times, after 1 hour, 24 hours and 72 hours, then we send the card-update email." The file-a-note skill picks the decisions section and runs node scripts/new-note.mjs, which writes the note with its frontmatter and updates the index:

The new note and the updated index are ready to commit like any other change.
Step 3: Ask it from any agent
Ask the brain a question from Claude Code, such as "What did we decide about retrying failed charges?" Here is the answer it gave in our sample brain, taken straight from the note:

Ask about something nobody filed, such as "What's our refund policy?", and the agent does not guess. In our sample brain, it said the only note on file covered retries and offered to file the refund policy once we had one. The answer-from-brain skill sets that rule: answer from the notes, name them, and say so when the brain has nothing.
Open the same folder in VS Code with Copilot in Agent mode or in Cursor. Your notes and skills are already there. VS Code also offers the Foam extension when you open the folder, so its Markdown preview follows [[links]] between notes.
Step 4: Log a meeting and read the diff
Meetings are where a shared brain does the most work. Here is a request to Claude Code:
Log this meeting: payments sync on 2026-11-28 at 10:00 with Priya and Sam. We agreed the card-update email goes to the account's billing contact, not the account owner. I'll update the email template by Friday 2026-12-04. Sam checks that older accounts have a billing contact by 2026-12-02.
The log-a-meeting skill writes a meeting note with the same six headings every time (Agenda and Notes, both empty here, are trimmed). Action items split in two: yours, and the ones you are waiting on.
Only your item goes to TASKS.md. Sam's stays in the meeting note as a Waiting on line, so your task list holds the work you owe and nothing else. The agent also filed the decision as its own note, since it changes who receives the email in the retry policy, linked the meeting from that day's daily note and rebuilt the index. One commit captures all of it:

Step 5: Log a meeting from its Teams transcript
For a long call, skip the summary. Download the meeting's transcript from Teams as a .vtt (the meeting's Recap, then Transcript, then Download as .vtt), drop it in the brain folder and say "log this transcript". The log-a-transcript skill cleans it with node scripts/transcript.mjs, one line per turn, with no word changed. It keeps the whole transcript as a note in meetings/transcripts/ and writes the meeting note from it, with the time each decision and action item was said. Your owner name tells it which speaker is you:

"Someone should tell support" has no clear owner, so the skill asks you about it before anything goes in TASKS.md. It also turns "by Thursday" into a date counted from the meeting and tells you it did.
A transcript is other people's names and their exact words, so the format keeps it local on purpose. In a repo you push, keep it out of the remote with one line in .gitignore:
sections/**/transcripts/
The meeting note still commits like any other change. Only the transcript stays on your machine.
One brain, several services
A brain can also hold several projects, which suits a team brain that covers more than one service. Each project is a section of its own. Run node scripts/new-project.mjs refunds "Refunds", or ask your agent to start the project:

That adds the project to brain.json, makes sections/refunds/ with an overview note and meetings/, meetings/transcripts/, decisions/ and reference/ folders, makes outputs/refunds/ for deliverables, and gives TASKS.md a ### Refunds heading next to ### General. The daily note splits the same way, and git log sections/refunds becomes that project's history. People and reference stay shared across every project. To move notes from an existing brain into a project, node scripts/move-to-project.mjs shows the move first and changes nothing until you add --apply.
Why Git is a good home for a brain
Git gives you review before anything is kept. git diff shows every note the agent touched, so a note filed in the wrong section gets fixed before it becomes history, and a note an agent rewrote poorly is one git restore away.
The history doubles as a decision log. git log sections/decisions shows when each decision landed. And node scripts/validate.mjs checks frontmatter, sections and links, exiting with an error when something is broken, so it fits a pre-commit hook or CI.
The rules in AGENTS.md also tell every agent never to save passwords, tokens or keys in the brain. Read the diff before you push all the same, especially to a shared remote.
Where the folder stops
A repo brain reaches the agents that can open that repo on your machine. It does not reach the agent in your phone's chat app, a teammate's agent, or the next agent you try, without a fresh clone and setup.
That is the gap BlackOps closes. The format is the same in a folder and in BlackOps, so your notes move over without converting them. In BlackOps, open your Brains page, choose Import a brain, and pick the folder or its zip. It becomes a BlackOps brain with its notes and open tasks, free on every plan. Import skips the transcripts/ folders and any note tagged transcript, and tells you how many it left in your folder. The Eject a Brain docs cover the details.
From there, every agent you connect over MCP reads the same brain: Claude, ChatGPT, Grok, Copilot and Cursor. Shared agent memory carries what one agent decides or hands off to the next, BlackOps logs your agents' work for them, and two agents can split one build and talk it through on Comms. Secret detection refuses any note write that holds a password or an API key.
To bring a repo brain in through your agent instead, the format repo includes a send-to-blackops skill that moves it over the BlackOps MCP server note by note, one project per BlackOps brain, and it skips transcripts too. And if you already keep brains in BlackOps, Eject a brain hands one back as a folder, with its notes and open tasks, also free. An ejected brain comes without the transcript tools, since transcripts never pass through BlackOps; copy them from the starter brain if you want them.
For a lighter start with one agent, see how to give Claude Code memory across sessions.
Copy the free starter brain into a repo and let your agents share it. When you want that brain in every agent you use, not only the ones on your laptop, start with BlackOps.
Related Posts

Sign Up Through Your Agent. It Starts With How You Work.
Run npx blackops-onboard and your agent asks what you work on, who you work with and how you like things done. Your answers become your first brain, set your voice and shape a first draft you can review. Here's each step.

Only Copilot Allowed at Work? Your Brain Still Runs There.
If your employer approves Copilot and nothing else, you can still keep a work brain. Put the brain folder next to your repos, open it as your VS Code workspace, and let Copilot fill it, answer from it and write your docs.

Your Vault Shouldn't Belong to One Agent
The BlackOps Center plugin for Obsidian syncs your brains with a folder in your vault, both ways, with no GitHub. Your notes stay plain Markdown, and every agent you connect works from them.