Available Commands
sessionbase ls
List local chat sessions from all supported platforms.
--claude
- Show only Claude Code sessions--gemini
- Show only Gemini CLI sessions--qchat
- Show only Amazon Q Chat sessions--codex
- Show only OpenAI Codex CLI sessions--global
- Include sessions from all projects--path <path>
- Filter sessions by specific directory
sessionbase push
Push a chat session to SessionBase for sharing.
[file]
- Path to session file (.json or .jsonl) - mutually exclusive with platform flags
--claude
- Auto-detect most recent Claude Code session--gemini
- Auto-detect most recent Gemini CLI session--qchat
- Auto-detect most recent Amazon Q Chat session--codex
- Auto-detect most recent OpenAI Codex CLI session--private
- Make the session private. Private sessions are only visible to you.--title <title>
- Set session title--tags <tags>
- Comma-separated tags--summary <summary>
- Session summary/description
- Upsert semantics: If you push a session, continue chatting, then push again, SessionBase will update the existing session rather than creating a duplicate.
sessionbase login
Authenticate with your SessionBase account.
--token <token>
- Authentication token available at https://www.sessionbase.ai/settings.
sessionbase whoami
Display current authentication status and user information.
sessionbase logout
Log out and remove stored authentication token.
Platform-Specific Behavior
SessionBase can automatically push your current chat session for Claude Code, Amazon Q Chat, and Codex CLI. For the Gemini CLI, you must first run the/chat save <TAG>
command first, then SessionBase can detect and push from there. The table below summarizes some of the platform specific behavior.
Platform | Local Storage | SessionBase Access |
---|---|---|
Claude Code | Stores all session files automatically | Can push current session or list/choose from directory |
Gemini CLI | Only stores if you use /chat save | Can push saved sessions and list/choose from directory |
Amazon Q Chat | Only stores most recent session per directory (unless /save <PATH> used) | Can detect and push current session automatically |
OpenAI Codex CLI | Stores all session files automatically | Can push current session or list/choose from directory |
Examples
Push Current Session
Browse Sessions
Manual File Push
Collaborative Workflows
Sharing Sessions:Tips
Organizing Pushes
- Use meaningful titles and tags for better organization
- Summaries help when browsing sessions later
Workflow Integration
- Use the MCP server for seamless pushes during AI conversations
- Regular pushes create a searchable history of your AI-assisted development
- Consider linking sessions in team documentation or in pull requests