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 pensyve

Or from the repo:

cd /path/to/pensyve
claude plugin add ./claude-code-plugin

What It Does

Once installed, the plugin exposes Pensyve's memory tools directly in your Claude Code sessions:

ToolWhat it does
pensyve_rememberStore a fact or preference ("I use vim keybindings", "We deploy to us-east-2")
pensyve_recallSearch for relevant memories ("What database do we use?")
pensyve_forgetClear memories for an entity
pensyve_inspectView 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-project

Use different namespaces per project to keep memories isolated:

# Project A
PENSYVE_NAMESPACE=project-a claude

# Project B
PENSYVE_NAMESPACE=project-b claude

How 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_here

This 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.