Brain Trail · for Claude Code

See what Claude read before it answered.

Brain Trail is a pane beside the chat in Claude Code. It maps every file your session opened, wrote or only saw in a search, and every outside tool it called. You see where an answer comes from, and when the context starts to work against you.

Free, MIT licence. Runs on your machine. Made by Unkillable Companies.

Brain TrailMap
COMPANY-BRAIN · 2,279 NOTESCLIENTSMEETINGSARCHIVERESOURCESCONTENTPROJECTSPROCESSCOMPANYINBOX20252024Prep_Acme_TomorrowDecisions_LogProposal_v2Meeting_PrepCompetitorsOffer_Reference2026-11-10_Acme_WeeklyAGENTSAGENTSGmail · 22GMAILGoogle Calendar · 11CALENDARSlack · 11SLACKread_channel
read written seen in a result seen through a link jump with no link
Profile of a person with a glowing brain, in peach and blue-grey light
Why we built it

An answer is only as good as the context behind it.

When Claude prepares a client meeting from your company brain, the chat shows you the answer. It doesn't show you that it skipped last week's meeting notes, or that it found twenty notes in a search and opened two of them.

Brain Trail draws that path while the session runs. You notice the missing file before you send the email, and you learn where your notes need a link so the next session finds its way.

3,567notes in our own company brain, mapped first
40of our busiest sessions, replayed on the map
53%of our notes had no link to or from another note
The map

Your folder as one disc. Each file that reached the context lights up in its colour.

One circle per folder, one dot per file. Claude's path from file to file is drawn as arcs, and you can replay the session step by step.

Read

Opened by Claude. Its content sits in the context until the next compaction.

Written

Created or changed during the session. The edit itself is in the context.

Seen in a result

Named by a search, a listing, a connector or a sub-agent's report. Only the name came in, not the file.

Seen through a link

Linked from a note Claude read. Claude knows the note exists and can follow the link.

Jump with no link

Claude went from one note to another with no link between them. Adding that link helps the next session.

Outside tools

Each service called through MCP, like Gmail, Slack or your CRM, shows with its logo and its number of calls.

Five tabs

What the session did, told in business words.

Map

The disc above, in 2D or as a brain that turns in 3D. Follow Claude live, zoom with the wheel, replay the session, open a note in Obsidian with a click.

Goal

The current request, Claude's plan, and what it did for each request, in plain sentences.

Context

How full the context window is, with the advice that goes with it: keep going, compact, or start a new session. Your plan usage and the cost of the session.

Files

What was loaded before your first message, then what was read, written or only seen. Click a figure to get the list.

Coach

Tips on how the session is going. Apply one and it fills the prompt box for you.

Any folder

It draws the folder you work in.

No setup file and no path to type. Brain Trail reads the folder of the session and packs it into the map.

  • A company brainInside an Obsidian vault, even from a client sub-folder, the map shows the whole vault, where the links lead.
  • A code projectEvery source file is a dot. Reads and edits light up the same way.
  • Your home folderThe map keeps to the first levels, so it stays fast.
  • Your files stay yoursBrain Trail only writes in its own folder under ~/.claude, never in your files.
Install

One command, then a new session.

You need the Claude Code desktop app. The map is drawn there; a terminal session shows the text only.

01

Open a terminal and run:

claude plugin install brain-trail --marketplace go-silex/brain-trail
02

Start a new session in the desktop app. The pane opens by itself beside the chat.

03

Closed it? Type /brain-trail to open it again.

No terminal? In the desktop app, click + next to the prompt box, then Plugins, Add marketplace with go-silex/brain-trail, then Add plugin.