ChatCLI uses a unified history — a single message array shared across all modes (chat, agent, coder). When saving a session, the entire context is preserved regardless of the mode in which it was generated. Use
/compact to reduce size and /rewind to go back to earlier points.Session Commands
All session management commands start with/session.
/session save <name>
Saves the current conversation (the entire history of prompts and responses) with a name of your choice.
/session load <name>
Loads a previously saved session. The current conversation is replaced by the loaded session’s history.
Next Steps
Conversation Control
Use /compact and /rewind to manage history size and state.
Persistent Context
Save, attach, and reuse project snapshots with the /context command.
Bootstrap and Memory
Customize the AI and maintain long-term context.
One-Shot Mode
Use ChatCLI in scripts, automations, and CI/CD pipelines.