Claude Code Plugin
The Pensyve plugin gives Claude Code persistent memory across sessions. It remembers your preferences, project decisions, debugging approaches, and codebase knowledge — so you don't have to repeat yourself.
Install
claude plugin add pensyveOr from the repo:
cd /path/to/pensyve
claude plugin add ./claude-code-pluginWhat It Does
Once installed, the plugin exposes Pensyve's memory tools directly in your Claude Code sessions:
| Tool | What it does |
|---|---|
pensyve_remember | Store a fact or preference ("I use vim keybindings", "We deploy to us-east-2") |
pensyve_recall | Search for relevant memories ("What database do we use?") |
pensyve_forget | Clear memories for an entity |
pensyve_inspect | View all stored memories |
Claude Code will automatically use these tools when appropriate — remembering decisions you make during a session and recalling relevant context in future sessions.
Configuration
The plugin stores memories in your local Pensyve database. Configure it via environment variables:
# Optional — defaults work for most setups
export PENSYVE_PATH=~/.pensyve/
export PENSYVE_NAMESPACE=my-projectUse different namespaces per project to keep memories isolated:
# Project A
PENSYVE_NAMESPACE=project-a claude
# Project B
PENSYVE_NAMESPACE=project-b claudeHow It Feels
First session:
You: "We're using Drizzle ORM with Postgres, deployed on Vercel" Claude remembers this.
Next session (days later):
You: "Add a new table for audit logs" Claude recalls your ORM choice and generates Drizzle schema — no re-explanation needed.
Across sessions:
- Your debugging preferences persist
- Architecture decisions are remembered
- Code style choices carry forward
- Project-specific patterns are recalled automatically
Using with Pensyve Cloud
To back the plugin with Pensyve Cloud instead of local storage:
export PENSYVE_API_URL=https://api.pensyve.com
export PENSYVE_API_KEY=psk_your_key_hereThis syncs your Claude Code memories to the cloud, making them accessible from the dashboard and across machines.
The plugin works with any MCP-compatible client, not just Claude Code. See MCP Setup for other clients.