Getting started with My Brain
My Brain is a brain you own as markdown files. It answers a question over your own notes with the source paths listed, files every capture, import and nightly insight as a proposal you confirm or discard, and, once you connect a hosted brain, lets other AI tools read it through a scoped, revocable connection.
How to
The RepoOps desktop app. Optional: ANTHROPIC_API_KEY in the data directory's .env for written answers, and a repoops.ai account for the hosted panels.
- Open Memory, then the Ask tab.
What follows you counts the files the install owns under its .claude/brain folder (preferences, decisions, glossary, anti-glossary, and the lessons, identity and loop-contracts folders) plus Claude Code's auto-memory for the project, by kind. Once this machine is connected to your team, Read my teams' brains adds a file count for each team you belong to. The rest of My Brain opens from Ctrl K.
- Ask it a question.
On the same card, type the question under Ask your owned brain and press Ask, or press one of the Try asking questions. With a key, a short answer streams in and ends with Drawn from, naming each file, and a few related questions. Without one you get the matching files and no answer text. A repeat question comes from a cache that any change to the owned files empties.
- Capture a thought as a proposal.
On Memory's Ask tab, paste it into Quick capture on the owned brain card, check File into (it preselects one of the five knowledge files and says why), and press Capture as a proposal. Nothing becomes a memory yet.
- Accept or discard in Your review queue.
On the same card, Your review queue lists each proposal with its source, the knowledge file it goes into and its day. Accept appends it to that file; Discard writes a rejected copy under proposed/rejected/.
- Connect it to your AI tools.
Connect the desktop to your team on repoops.ai from Setup; Your hosted brain, on the Privacy and egress page, then says the connection works and whether it can write. Then run repoops connect --me to add the person-scoped RepoOps MCP server to Claude Code, Cursor, Claude Desktop or ChatGPT; you authorize it once. The tool gets ask_brain, search_brain and get_brain_file over your brain only. In the desktop app, Connected tools on This machine, Settings shows which tools on this machine list a RepoOps server.
- Give an app without MCP a scoped token.
On the Privacy and egress page, under Personal read tokens, give it a Label, a Scope such as kind:projects path:lessons/, and when it expires, then press Mint token. If your repoops.ai account has an authenticator app, enter its current code first. The token shows once; keep it as a server-side secret and call GET /api/me/brain/context with a Bearer header. The list under the form shows every token you hold with a Revoke button on each live one, and Who read your brain, above it, shows each token's reads.
Use cases
What did I decide, and where is it written?
- Situation
- You remember the outcome of a decision weeks ago, not the reason. A key is set.
- You do
- Ask the question under Ask your owned brain, on Memory's Ask tab.
- You see
- An answer, then Drawn from naming brain/decisions.md with a snippet. Open the file and read the line; the answer claims nothing the file does not say.
Clip it now, decide later
- Situation
- A call produced a fact worth keeping, but you want to read it again before it counts.
- You do
- Capture it into decisions, then Accept or Discard it from Your review queue later.
- You see
- The message reads Captured as a proposal on this machine and names the file. Accept appends it; Discard keeps a rejected copy. Neither happened on its own.
Expected outcome
Next step: Add content to one of the owned files or folders, or set REPOOPS_SELF_ROOT if the tab reads the wrong root.
Next step: ANTHROPIC_API_KEY is not set. Add it to the data directory's .env.
Next step: errors.md, open-questions.md and patterns.md are not owned files. Capture the fact into decisions or glossary and confirm it.
Next step: Connect this machine to a team on Setup. Your hosted brain, on the Privacy and egress page, says why a bound machine cannot use its credential.
What else to consider
Open it in Obsidian
Your .claude/brain/ folder is flat markdown with [[wiki-links]], so it is already an Obsidian vault. In Obsidian choose Open folder as vault and pick the folder; nothing is copied. Install the Dataview community plugin for live tables, and copy what you want from docs/obsidian/vault-template/ in the RepoOps repository: a .obsidian/ config and example notes for sessions by date, the brain by type, and what links here. An edit in Obsidian is an edit to the same files RepoOps reads.
What it reads, and what it does not
It reads one brain, the RepoOps install's own root, not each tracked repository. Only the owned files count, so a capture confirmed into errors, open-questions or patterns is exported but not read by What follows you or Ask. A question is cut at 200 characters and an answer at 700 tokens. A proposal is never visible to a read token or the MCP server.
The nightly pass and person sync
While the capture daemon runs, a nightly pass writes a morning brief and files new insights as proposals; REPOOPS_NIGHTLY_OFF=1 stops it. To fill the hosted store, turn on Personal brain sync under Privacy and egress: every 5 minutes it pushes the owned files that changed, up to 200 a tick. It is off until you turn it on.
Tokens, sharing and deletion
The server sets an expiry on every read token (90 days by default, at most 365) and keeps at most 100 live tokens per person; revoke one at any time. Share a slice, under Brain packs you shared on the Privacy and egress page, publishes a redacted pack others install as proposals, with the lineage kept, and revokes it. The read audit stores query text and counts, never content. Delete everything, under Delete your hosted brain on the Privacy and egress page, removes your hosted memories, tokens, packs, connector sources and read records after you type DELETE; it does not delete your account or this machine's files. For integrating a token from code, see read tokens in the API reference.
Egress and cost
With a key, Ask sends your question and the top eight passages to Anthropic, one Haiku call per new question on your key. Without a key and without a hosted brain, nothing leaves the machine. The proxy to a hosted brain forwards only paths under /api/me/brain to a public https address.