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.