CachyCLI
Guide11 / Sessions
Guide · 11

Sessions

Every conversation is saved as you go, one folder per project, so you can close the terminal and pick up exactly where you stopped.

Continue where you left off

$ cachycli -c                 # most recent session here
$ cachycli --resume           # choose from a list
$ cachycli --resume nightly   # by name
$ cachycli --resume 01a149…   # by id
  • ▪Names are taken from your first message; rename them to something memorable.
  • ▪Matching ignores case and dashes, so fix-login-bug finds “Fix login bug”.
  • ▪Resuming continues the provider's own conversation too: opencode, ACP and Claude Code pick up where that session left off, and /new starts over on both sides.
find an old sessionCTRL+P
CachyCLI session and command list

Manage them

$ cachycli sessions list
$ cachycli sessions search payment
$ cachycli sessions restore nightly   # prints the command to reopen it
$ cachycli sessions delete old-thing

/rename payment work     inside the interface
/delete                  remove the current one

Take a conversation with you

$ cachycli export                    # Markdown, next to you
$ cachycli export --output notes.md
$ cachycli usage                     # tokens and turns for a session

Exports include your messages, the answers, the tool calls and the diffs — useful for a pull request or a hand-over.

Named sessions for scripts

$ cachycli -p "start the release check" -s release
$ cachycli -p "and the changelog?" -s release

Named sessions are created on first use and reused after that — handy in CI or a nightly script.