The second brain
On this page
The brain is the project's memory: every Markdown file in .clara, linked into one graph. That
includes tickets, people, meetings, decisions, the notes of each chat, and the repository's own
docs. People read it on the board's Brain page. Agents read it before they start, so a new chat
begins with what the last one learned.
It is plain Markdown in your repository, so git keeps its history and any editor opens it. The folder is also an Obsidian vault.
Set it up
clara brain init
brain init writes the first notes wherever none exist yet. These are Home.md, the status page
docs/status.md, one page per person on the board, a short README in each folder, and
index.md and log.md. It never writes over a note that is there. On the Brain page, an empty
brain has a Set up the brain button that does the same.
What is in it
.clara/
Home.md, index.md, log.md the home page, the index, the log
docs/status.md where the project stands; its ## Now goes to every chat
conversations/2026-11-28-GEN-12-sign-in.md what a ticket's chats did
meetings/2026-11-28-sprint-2-planning.md one note per meeting
daily/2026-11-28.md one note per day
phases/S2-checkout.md one note per stage of the plan
people/ana.md who someone is and what they own
playbooks/, docs/decisions/ how things are done here, and what was chosen
notes/anything.md anything else
The brain also shows some pages nobody has to write:
- each person, agent and label on the board, under
people/,agents/andtags/; - the repository's own
README.md,CHANGELOG.mdanddocs/, under@repo/, which it reads and never writes (brain.sourceschanges the list); - each file of code a note names, such as
cli/run.ts, under@code/, so tickets that touch the same file meet.
Linking notes
A note links to another with [[its name]], a Markdown link, a ticket's id such as GEN-12,
or a front matter field such as tickets: or related:. Every link counts both ways: a note
shows what it links to and what links to it.
---
tickets: [GEN-12, GEN-14]
---
# Sign-in
Owned by [[ana]]. Links expire after fifteen minutes, as [[tokens-are-hashed]] says.
What Clara writes by itself
| When | Note |
|---|---|
| A ticket is handed in | conversations/<date>-<ID>-<title>.md: the summary, files, checks, questions and answers. Each hand-in adds a round. |
| A sprint starts or closes | A planning note or a retro note in meetings/. |
| A plan is applied | A note in phases/ for each sprint, linked to its tickets. |
clara standup --save |
Today's note in daily/. |
Each of these also adds a line to log.md. brain.remember: false in the config stops them.
Writing it down yourself
clara meeting "Sprint 2 planning" --type planning --with ana,raj --from notes.md
clara brain capture daily --text "Shipped sign-in. Billing next."
clara brain write people/ada.md --text "# Ada
Owns [[sign-in]]."
A meeting with the same title on the same day adds to its note instead of starting another. A chat can do all of this too. Paste the notes of a meeting and ask it to capture them.
On the Brain page, New note makes a note from a template: Note, Meeting, Decision, Person or
Phase. A note's page edits it in place. Typing [[ suggests the titles of other notes. Rename,
move and delete are on each note. Renaming a note points every link to it at the new name, in
one change.
How agents use it
When clara start opens a chat, its first message carries the status page's ## Now and up to
four notes that bear on the ticket. Those are the notes that link to the ticket, its epic and
what it waits for, then the best matches for its title and labels, then the chat notes of the
work it depends on. They stay inside the context budget, and the message says what was left out.
During the chat, the agent reads index.md first and searches before it decides something the
team may have decided already. When it settles something, it writes the note and runs
clara brain index. A playbook or a decision it proposes stays a draft until a person accepts
it.
clara brain search sign-in tokens
clara brain search kind:decision cache
clara brain search in:people
Keeping it tidy
clara brain lint
brain lint finds what a wiki left to itself loses:
- links to pages nobody wrote;
- pages nothing links to;
- tickets in no epic;
- labels on three tickets or more with no page;
- decisions no ticket names;
- documents nothing links to;
- an index that is out of date.
Run it at the end of a sprint. clara brain index writes index.md again.
The Brain page
The Brain page draws every note as a graph, with the project at its centre. The notes are also listed as a file tree beside the graph, and the note you pick opens on the other side.
- Find notes searches the full text. Matching notes light up on the graph and the rest dim.
- Depth and Kind narrow the graph to the notes around one note, or to one kind.
- The gear opens the graph's settings: what it leaves out, how it is drawn and how it pulls. Each viewer keeps their own settings.
- Double-click a node to pin it. Pinch or scroll to zoom. The arrow keys walk from the selected note to its neighbours.
- Open in Obsidian opens the note in Obsidian, when it is installed.
Sharing and privacy
The brain lives in .clara, which you commit, so the team shares it through git. Sync on the
Brain page brings in what the team pushed, fast-forward only. Then it commits the board's own
changes and pushes them when the branch has an upstream. A conflict is listed by file.
To keep the whole board on this machine instead:
clara init --private
clara config brain.private true # later, on a board that exists
Both add the board's folder to the repository's .gitignore. Sync then only pulls.
clara config brain.private false takes that line out again.