Setup
1. Get Your API Key
Generate a new API key from the Schema0 console API Keys page.2. Set the Environment Variable
Store your key as an environment variable so it persists across terminal sessions. macOS / Linux (zsh):3. Install the Plugin
How It Works
The plugin operates through two core mechanisms:Memory Injection
When a new session starts, the plugin retrieves relevant stored information and adds it to Claude’s context. Your agent immediately has access to knowledge from previous sessions — project details, decisions made, and patterns observed.Auto-Capture
Tool interactions are automatically recorded for future reference. The plugin captures:- File edits — Changes made to your codebase.
- File creation — New files added to your project.
- Command execution — Terminal commands and their outcomes.
- Spawned agent tasks — Sub-tasks delegated to other agents.
Configuration
Environment Variables
SUPERMEMORY_CC_API_KEY(required) — Your Schema0 API key.SUPERMEMORY_CC_EXCLUDE_TOOLS(optional) — Comma-separated list of tools to exclude from capture.SUPERMEMORY_CC_DEBUG(optional) — Set totrueto enable debug logging.
Settings File
For more granular control, create a settings file at~/.schema0-claude/settings.json:
Commands
Resources
- Schema0 Documentation — Full API and SDK reference.
- Schema0 Console — Manage your API keys and subscription.