Automatic persistent memory across Claude Code sessions. Remembers your preferences, corrections, and project context without manual intervention.
npx claudepluginhub christinetyip/ensue-auto-memoryAutomatic persistent memory that saves preferences, corrections, and project context. Works invisibly in the background.
Automatic persistent memory for Claude Code sessions. Remembers your preferences, corrections, and project context across sessions.
Add to your shell profile (~/.zshrc, ~/.bashrc, etc.):
export ENSUE_API_KEY="your-api-key-here"
export ENSUE_USERNAME="your-username"
Get a free API key at https://www.ensue-network.ai/dashboard so memories are saved to your own (private) network.
Alternatively, use a Guest API key:
export ENSUE_API_KEY="lmn_af9e0d32ae044e5faf084d957da9b60b"
export ENSUE_USERNAME="your-username"
claude
/plugin marketplace add https://github.com/christinetyip/ensue-auto-memory
/plugin install ensue-auto-memory
And restart Claude to load the new plugins.
While you're using Claude Code, the plugin automatically saves and loads:
When you express preferences or make corrections, they're automatically saved:
You: "I prefer early returns over nested conditionals"
→ Saved to @yourname/preferences/code-style
You: "No, don't add emojis to commit messages"
→ Saved to @yourname/corrections/no-emojis
You: "We're using JWT for authentication in this project"
→ Saved to @yourname/projects/my-api/auth
A final check ensures any significant learnings are saved before the session ends.
| Category | What's Stored | Example Key |
|---|---|---|
identity/ | Name, role, company, timezone | @you/identity/role |
preferences/ | Code style, tools, workflows | @you/preferences/testing |
corrections/ | Things NOT to do | @you/corrections/no-emojis |
projects/{name}/ | Project-specific context | @you/projects/api/stack |
Optional environment variables to customize behavior:
| Variable | Default | Description |
|---|---|---|
ENSUE_RELEVANCY_THRESHOLD | 0.7 | Minimum score for discovered memories (0-1) |
ENSUE_PROJECT_LIMIT | 5 | Max project memories to load (can be increased for long-running tasks) |
ENSUE_PREFERENCES_LIMIT | 10 | Max preferences to load |
ENSUE_CORRECTIONS_LIMIT | 5 | Max corrections to load |
Verify environment variables are set:
echo $ENSUE_API_KEY
echo $ENSUE_USERNAME
Check plugin is installed:
/plugin
Restart Claude Code after setting environment variables
7-day visitors to each marketplace page
Matt Pocock's skills for real engineering, as an installable Claude Code plugin.
Development marketplace for Superpowers core skills library
Harness-native ECC skills, hooks, rules, MCP conventions, and operator workflows