
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@sessionbase/cli
Advanced tools
CLI tool for SessionBase - manage and share AI coding sessions from Claude Code, Gemini CLI, Amazon Q Chat, and OpenAI Codex CLI.
For more detailed documentation, see docs.sessionbase.ai.
Install the SessionBase CLI globally:
npm install -g @sessionbase/cli
This provides two commands:
sessionbase - Main CLI interfacesb - Shorthand alias for faster typingsessionbase-mcp - MCP server for AI platformsAuthenticate with your SessionBase account:
sessionbase login
This will open your browser to complete the authentication process with GitHub or Google.
Verify you're logged in:
sessionbase whoami
Note that all sessions are public and discoverable by default, unless you supply the --private flag. Private sessions are only visible to the owner of the session.
Push your most recent AI chat session from your current directory:
# From Claude Code
sessionbase push --claude
# From Gemini CLI (after saving with /chat save)
sessionbase push --gemini
# From Amazon Q Chat
sessionbase push --qchat
# From OpenAI Codex CLI
sessionbase push --codex
The MCP server enables you to push sessions directly from your AI chat without breaking your workflow.
claude mcp add sessionbase sessionbase-mcp --scope user
Add to ~/.gemini/settings.json:
{
"mcpServers": {
"sessionbase": {
"command": "sessionbase-mcp"
}
}
}
Add to ~/.aws/amazonq/mcp.json:
{
"mcpServers": {
"sessionbase": {
"command": "sessionbase-mcp"
}
}
}
Add to ~/.codex/config.toml:
[mcp_servers.sessionbase]
command = "sessionbase-mcp"
# List all sessions
sessionbase ls --global
# Push private session with metadata
sessionbase push --claude --title "Debug Session" --tags "debugging,api" --private
# Push specific file
sessionbase push /path/to/session.json
Once configured, use natural language in your AI chat:
Claude Code
mkdir -p ~/.claude/commands
echo "Use the sessionbase push_session tool to upload the current session" > ~/.claude/commands/upload.md
Now you can run /upload from Claude and it will automatically generate metadata and push to SessionBase. You can rename upload.md to create a different alias.
Gemini CLI
mkdir -p ~/.gemini/commands
touch ~/.gemini/commands/upload.toml
Add this content to ~/.gemini/commands/upload.toml:
description="Upload the current session to SessionBase"
prompt= """
Use the sessionbase push_session tool to upload the current session.
If you see a warning that the most recent session is outdated, ask the user to run `/chat save <tag>` to save a new checkpoint, then re-run /upload.
"""
Now you can run /upload from Gemini CLI to automatically push sessions to SessionBase.
Note: Amazon Q Chat and OpenAI Codex CLI do not currently support custom slash commands. Use natural language instead (e.g., "Push this to SessionBase").
| 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 | Can detect and push current session automatically |
| OpenAI Codex CLI | Stores all session files automatically | Can push current session or list/choose from directory |
Ensure the package is installed globally:
npm install -g @sessionbase/cli
which sessionbase-mcp # Should show the binary path
Verify you're logged in:
sessionbase whoami
If not authenticated, run sessionbase login again.
# Install dependencies
npm install
# Build the CLI
npm run build
# Link globally for testing
npm link
# Verify installation
sessionbase --help
sessionbase --version
npm unlink -g
FAQs
CLI tool for SessionBase - manage and share AI coding sessions
The npm package @sessionbase/cli receives a total of 2 weekly downloads. As such, @sessionbase/cli popularity was classified as not popular.
We found that @sessionbase/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.