Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By transaurusv0.3.0MITIn 1 marketplace
Automatic long-term memory for Claude Code via Hindsight. Recalls relevant memories before each prompt and retains conversation transcripts after each response.
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Biomimetic long-term memory for Claude Code using Hindsight. Automatically captures conversations and intelligently recalls relevant context — a complete port of hindsight-openclaw adapted to Claude Code's hook-based plugin architecture.
# 1. Add the Hindsight marketplace and install the plugin
claude plugin marketplace add vectorize-io/hindsight
claude plugin install hindsight-memory
# 2. Configure your LLM provider for memory extraction
# Option A: OpenAI (auto-detected)
export OPENAI_API_KEY="sk-your-key"
# Option B: Anthropic (auto-detected)
export ANTHROPIC_API_KEY="your-key"
# Option C: No API key needed (uses Claude Code's own model — personal/local use only)
# See: https://vectorize.io/hindsight/developer/models#claude-code-setup-claude-promax
export HINDSIGHT_LLM_PROVIDER=claude-code
# Option D: Connect to an external Hindsight server instead of running locally
mkdir -p ~/.hindsight
echo '{"hindsightApiUrl": "https://your-hindsight-server.com"}' > ~/.hindsight/claude-code.json
# 3. Start Claude Code — the plugin activates automatically
claude
That's it! The plugin will automatically start capturing and recalling memories.
hindsight-embed locally or connect to an external Hindsight serverThe plugin uses all four Claude Code hook events:
| Hook | Event | Purpose |
|---|---|---|
session_start.py | SessionStart | Health check — verify Hindsight is reachable |
recall.py | UserPromptSubmit | Auto-recall — query memories, inject as additionalContext |
retain.py | Stop | Auto-retain — extract transcript, POST to Hindsight (async) |
session_end.py | SessionEnd | Cleanup — stop auto-managed daemon if started |
| Module | Purpose |
|---|---|
lib/client.py | Hindsight REST API client (stdlib urllib) |
lib/config.py | Configuration loader (settings.json + env overrides) |
lib/daemon.py | hindsight-embed daemon lifecycle (start/stop/health) |
lib/bank.py | Bank ID derivation + mission management |
lib/content.py | Content processing (transcript parsing, memory formatting, tag stripping) |
lib/state.py | File-based state persistence with fcntl locking |
lib/llm.py | LLM provider auto-detection for daemon mode |
UserPromptSubmit hook fires<hindsight_memories> blockhookSpecificOutput.additionalContext — Claude sees it, user doesn'tStop hook fires (async, non-blocking)<hindsight_memories> tags to prevent feedback loopsThe plugin supports three connection modes, matching the Openclaw plugin:
Connect to a running Hindsight server (cloud or self-hosted). No local LLM needed — the server handles fact extraction.
{
"hindsightApiUrl": "https://your-hindsight-server.com",
"hindsightApiToken": "your-token"
}
The plugin automatically starts and stops hindsight-embed via uvx. Requires an LLM provider API key for local fact extraction.
{
"hindsightApiUrl": "",
"apiPort": 9077
}
Set an LLM provider:
export OPENAI_API_KEY="sk-your-key" # Auto-detected, uses gpt-4o-mini
# or
export ANTHROPIC_API_KEY="your-key" # Auto-detected, uses claude-3-5-haiku
If you already have hindsight-embed running, leave hindsightApiUrl empty and set apiPort to match your server's port. The plugin will detect it automatically.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub transaurus/staging-vectorize-io-hindsight --plugin hindsight-memoryPlugins from other owners that cover similar ground