supermemory form if installed globally, or prefix with npx. Every command accepts the global flags --json, --tag, and --help.
Core memory operations
add — Ingest content
Ingest text, files, or URLs and extract memories into a container tag.
| Flag | Description |
|---|---|
--tag <string> | Container tag |
--stdin | Read content from stdin |
--title <string> | Document title |
--metadata <json> | JSON metadata object |
--id <string> | Custom document ID |
--batch | Batch mode, reads JSONL from stdin |
search — Search memories
Semantic search across memories with filtering and reranking.
| Flag | Description |
|---|---|
--tag <string> | Filter by container tag |
--limit <number> | Max results (default: 10) |
--threshold <number> | Similarity threshold 0-1 (default: 0) |
--rerank | Enable reranking for better relevance |
--rewrite | Rewrite the query using an LLM |
--mode <string> | memories | hybrid | documents (default: memories) |
--include <string> | Fields: summary, chunks, memories, document |
--filter <json> | Metadata filter object |
remember — Store a memory directly
Store a specific fact without ingesting a full document.
| Flag | Description |
|---|---|
--tag <string> | Container tag |
--static | Mark as a permanent memory |
--metadata <json> | JSON metadata |
forget — Delete a memory
| Flag | Description |
|---|---|
--tag <string> | Container tag |
--reason <string> | Reason for forgetting |
--content <string> | Forget by content match instead of ID |
update — Update an existing memory
| Flag | Description |
|---|---|
--tag <string> | Container tag |
--metadata <json> | Updated metadata |
--reason <string> | Reason for the update |
profile — Get a user profile
Retrieve the auto-generated user profile (static facts + dynamic context) for a container tag.
Document management
docs — Manage documents
list, get, delete, chunks, status
Container tags
tags — Manage container tags
Container tags scope memories to users, projects, or any logical grouping.
list, info, create, delete, context, merge
API keys
keys — Manage API keys
list, create, revoke, toggle
Connectors
connectors — External data sources
Connect Google Drive, Notion, OneDrive, and other services to sync documents automatically.
list, connect, sync, history, disconnect, resources
Plugins
plugins — IDE and tool integrations
Connect the CLI to Claude Code, Cursor, and other tools.
list, connect, revoke, status
Team management
team — Manage team members
list, invite, remove, role, invitations
Monitoring
status — Account dashboard
logs — Request logs
billing — Usage and billing
Utility
Scoped keys mode
When you authenticate with a scoped API key (restricted to a single container tag), only these commands are available, and the tag is taken automatically from the key’s scope — no--tag needed:
search, add, remember, forget, update, profile, whoami
Common patterns
Pipe content from other tools
Scripting with JSON output
Every command supports--json for machine-readable output: