How it worksTeamsDocs
Get Flatbread

Paste this to your agent

Install and set up Flatbread using https://flatbread.io/install.md
Or set it up by hand

How to share a Claude Code session

A screenshot shows the last message. Someone reviewing the work, or picking it up, needs the rest: what was asked, each command and what it printed, what broke, what fixed it and the diff.

What Claude Code has built in

/export writes the conversation as plain text: to a file if you name one, otherwise to your clipboard or a file you pick.

/share does not make a link. It is another name for /bug, which sends a report to Anthropic after a consent screen.

/resume reopens an earlier session, on the machine that ran it.

Checked against Claude Code's command reference on 9 November 2026.

Where the session is saved

Each session is a JSONL file under ~/.claude/projects, one folder per project, or under $CLAUDE_CONFIG_DIR/projects if you set that variable.

It is the whole session, one JSON object per line, with everything the session printed left in as it was printed.

Every session records token usage, the files it changed and how each tool call ended.

Share it as one link

Flatbread turns an agent session into one link: what was asked, every step, what broke, what fixed it and the diff. People read it. Agents pull it and pick up where it ended. Secrets stay on your machine. Nothing uploads until you approve the review.

Tell your agent

Install and set up Flatbread using https://flatbread.io/install.md

Or run it yourself

npm install -g flatbread-cli && flatbread setup

Then, when a session is done, say share this run in its chat, or run flatbread share claude in a terminal.

What happens next

  1. A review page opens in your browser. It runs on your own computer (127.0.0.1), and nothing has left it yet. No tab? Open the link the terminal or your agent printed.
  2. Check it. Keys, passwords and personal details are already hidden. Hide more words if you like, and choose who can open the run: Private (only you), Unlisted (anyone with the link) or Public.
  3. Press Confirm & share. Not signed in yet? Press Sign in to Flatbread first: it opens a new tab, and this page keeps what you chose.
  4. Copy your link: the page that follows shows it, with Copy link.

See a shared run · Docs