carbonian.org / manual pages
CARBONIAN-FRESH(1) Carbonian Manual CARBONIAN-FRESH(1)

carbonian-fresh - a clean machine, and back to the same Claude Code session

carbonian-fresh [-r|-n] [-p TEXT] [SESSION-ID]

Arms a one-shot for the next login: a tmux window runs claude --resume ID in the directory the session was started in, once. Then, by default, it ends the user's tmux server (every pane and what runs in it) and the graphical session, so that the login screen comes up and the autologin enters again.

Without an ID it uses the newest Claude Code session of the current directory.

Reboot instead of ending the session.
Only arm it; end nothing.
The prompt typed and sent in Claude.

~/.config/carbonian/resume
Settings, one key value per line: command (default claude --resume; the ID is appended), prompt (default "continue where we stopped"), submit (yes sends it with Enter, no leaves it typed).
~/.local/state/carbonian/resume-once
The armed one-shot (ID, directory, prompt). carbonian-session(1) reads and removes it.

1 when no session ID is found.

carbonian-session(1), carbonian-autologin-test(8)

October 2026 Carbonian