
Get Your API Key
Create a Supermemory API key from the API Keys page, then add it to your shell profile so it persists across sessions:- macOS / Linux (zsh)
- macOS / Linux (bash)
- Windows (PowerShell)
Install the Plugin
How It Works
Once installed, the plugin runs automatically:- Context Injection — On session start, relevant memories are fetched and injected into Claude’s context. This includes user preferences, project knowledge, and past interactions.
- Auto-Capture — Tool usage is captured and stored during the session for future context.
What Gets Captured
| Tool | Captured As |
|---|---|
| Edit | Edited src/auth.ts: "old code..." → "new code..." |
| Write | Created src/new-file.ts (500 chars) |
| Bash | Ran: npm test (SUCCESS/FAILED) |
| Task | Spawned agent: explore codebase |
Commands
/claude-supermemory:logout
Log out from Supermemory and clear saved credentials.Configuration
Environment Variables
Settings File
Create~/.supermemory-claude/settings.json:

