CLI

Attachments, saving answers, and the context meter

/attach <path> stages a file (images, PDFs, spreadsheets, docs, up to 10MB) to go with your next message. Drag-and-drop onto the terminal and Ctrl+V to paste a clipboard image…

Getting files in

/attach <path> stages a file (images, PDFs, spreadsheets, docs, up to 10MB) to go with your next message. Drag-and-drop onto the terminal and Ctrl+V to paste a clipboard image both work too.

Getting the agent's answers back out

  • /copy — copy the agent's last answer to your clipboard.
  • /save [dir/name] — save the last answer to a file under ~/tbsp-report/<date>/, format auto-detected.
  • /diff — show a summary of file changes the current turn made.
  • /artifacts — list documents the session has generated; pick one to open it in your browser (nothing is downloaded locally — the web console holds the current version). This replaces the older /download, /open, and /preview commands.

Keeping an eye on how full the conversation is

A live indicator in the status line — something like ctx 420k/915k (46%) — shows how close the conversation is to the point where it gets automatically compacted (summarized to free up space). It's based on the model's actual token usage against that specific compaction threshold, not a hard context ceiling, and turns into a "near" warning past 80%.

If you'd rather compact on your own terms before that happens, see /compact in Managing sessions from the CLI.

On this page