The professional bridge between your local development environment and your AI memory vault.
While the Chrome extension is perfect for capturing chatbot conversations, the CLI tool extends SiderMem's power to your actual coding workspace.
sidermem list --search "performance"
SiderMem CLI is built on Node.js and distributed globally via NPM. Run this command in your terminal:
npm install -g sidermem-cli
Requires Node.js 18.0 or higher. You may need 'sudo' depending on your system configuration.
Sync your terminal session with your SiderMem account in seconds using passwordless authentication.
sidermem login
Enter your registered email. A 6-digit OTP will be sent to your inbox. Once verified, your encrypted session is stored in your local system config.
sidermem status
Instantly view your current Plan Tier, cloud storage usage, and active quota limits.
Find your knowledge anchors without browser context switching. Use namespace filters to narrow results to one agent or project.
sidermem list --limit 10
sidermem list --search "optimization"
sidermem list --namespace "/Users/me/workspace/app"
Access the full text or metadata for any memory by full UUID or an unambiguous UUID prefix.
sidermem show 5f2a
Prints the complete memory body to stdout.
sidermem info 5f2a --json
Shows title, type, size, last-updated timestamp, and AI summary when available.
Inject local context into your AI vault effortlessly.
Scenario 1: Upload a File
sidermem create --file ./documentation.md
Perfect for long-form content or project specifications. The filename becomes the memory title.
Scenario 2: Pipe from Shell
git diff main | sidermem create -t "Feature Diff"
Pipe any shell output directly into a new memory. Works with logs, diffs, command output, and more.
Scenario 3: Inline Content
sidermem create -t "My Note" -c "content here"
Write a quick note or paste a snippet directly on the command line.
Import local memory files from AI coding tools. Each capture command shows an insert/update/noop plan before writing.
sidermem capture-claude -t memory
Scans Claude Code projects under ~/.claude/projects, lets you pick one, and excludes the internal MEMORY.md index.
sidermem capture-codex -t memory
Recursively captures Codex memories from ~/.codex/memories into the codexglobal namespace.
sidermem capture-gemini -t memory
Captures Gemini/Antigravity global memories or project skills. Alias: capture-agy.
sidermem capture-claude -t memory --dry-run
sidermem capture-codex -t memory --yes
sidermem capture-gemini -t memory --json
Capture namespaces use readable partitions such as codexglobal, agyglobal, or the full absolute project path, so different agents can share the same project memory partition.
Keep your vault accurate — update stale notes or clean up what you no longer need.
sidermem update 5f2a --title "New Title"
sidermem update 5f2a --content "Revised content"
sidermem delete 5f2a
sidermem delete 5f2a --yes
Your session is stored locally and auto-refreshes. Log out when you're done on a shared machine.
sidermem logout
Git Context Preservation
Archive your recent commit history before switching branches:
Capture a Code Diff
Save your latest changes for AI review or team sharing:
Collaborative Debugging
Caught an elusive runtime error? Save the stack trace instantly:
Agent Memory Sync
Preview Codex memory changes before syncing them to your cloud vault:
SiderMem CLI is designed to be called by AI agents — Claude Code, Codex, Gemini CLI, Antigravity, and others. Read, create, and capture commands support --json for clean stdout output.
Step 1 — Discover available memories
Step 2 — Fetch relevant content
Step 3 — Save new context
Step 4 — Capture local agent memories
The CLI tool is available for all SiderMem tiers.