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 sethdfordv1.0.1MITIn 1 marketplace
Cross-session learning and recall - remember decisions, recall solutions, maintain state
You run one by typing its /name in Claude Code.
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.
Cross-session learning - Remember decisions, recall solutions, maintain state.
Claude Code loses context when sessions end or context is compacted. The Memory plugin solves this:
| Problem | Solution |
|---|---|
| Forgot what we decided | /remember stores decisions |
| Starting fresh each time | /recall retrieves relevant learnings |
| Context lost on compact | Auto-handoff preserves state |
| Repeating mistakes | Past failures surface automatically |
# Install the plugin
claude plugin install path/to/claude-toolkit/plugins/memory
# Initialize the SQLite database
/memory-init
Store something for later:
/remember "JWT auth requires the secret in .env file"
/remember type=WORKING_SOLUTION "Fixed the race condition by adding a mutex"
/remember type=FAILED_APPROACH "Don't use global state for user sessions"
Learning Types:
| Type | Use For |
|---|---|
WORKING_SOLUTION | Fixes that worked |
FAILED_APPROACH | What didn't work (avoid repeating) |
ARCHITECTURAL_DECISION | Design choices and rationale |
CODEBASE_PATTERN | Patterns discovered in code |
USER_PREFERENCE | User's preferred approaches |
Retrieve relevant learnings:
/recall authentication patterns
/recall error handling
/recall "what did we decide about the API"
Create a handoff document when ending a session:
/handoff "Completed auth module, tests passing, ready for review"
Resume from a previous handoff:
/resume # Resume latest
/resume auth-work # Resume specific session
All data is stored in SQLite at ~/.claude-toolkit/memory.db:
-- Learnings table
CREATE TABLE learnings (
id TEXT PRIMARY KEY,
type TEXT, -- WORKING_SOLUTION, FAILED_APPROACH, etc.
content TEXT,
context TEXT,
confidence TEXT, -- high, medium, low
session_id TEXT,
created_at DATETIME,
embedding BLOB -- Optional: for semantic search
);
-- Handoffs table
CREATE TABLE handoffs (
id TEXT PRIMARY KEY,
session_name TEXT,
status TEXT,
content TEXT,
created_at DATETIME
);
| Hook | Event | What It Does |
|---|---|---|
memory-awareness | UserPromptSubmit | Surfaces relevant learnings |
pre-compact-save | PreCompact | Auto-saves handoff |
session-end-extract | SessionEnd | Extracts learnings |
> /recall this project
Found 3 relevant learnings:
1. [ARCHITECTURAL_DECISION] Using JWT for auth with refresh tokens
2. [WORKING_SOLUTION] Rate limiting fixed by adding Redis cache
3. [CODEBASE_PATTERN] All API routes follow /api/v1/{resource} pattern
> Fixed the authentication bug by checking token expiry first
Claude: Great! Should I remember this solution for future reference?
> Yes, remember it
Claude: Stored: "Fixed auth bug by checking token expiry before validation"
> /handoff "Auth module complete, all tests passing"
Created handoff: auth-work-2024-01-15
- Status: complete
- Files modified: src/auth/*.ts
- Next steps: Deploy to staging
Resume later with: /resume auth-work
Create ~/.claude-toolkit/memory.config.json:
{
"auto_recall": true,
"recall_limit": 5,
"auto_handoff_on_compact": true,
"embedding_enabled": false
}
For better recall, enable embeddings:
pip install sentence-transformers
# In config:
{
"embedding_enabled": true,
"embedding_model": "all-MiniLM-L6-v2"
}
Extracted from Continuous-Claude-v3.
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 sethdford/claude-toolkit --plugin memoryPlugins from other owners that cover similar ground