Store a learning for future recall
Stores user-defined learnings, patterns, and decisions for future recall during sessions.
/plugin marketplace add sethdford/claude-toolkit/plugin install memory@claude-toolkit[type=TYPE] <content>Store a learning, decision, or pattern for future recall.
/remember "JWT auth requires the secret in .env"
/remember type=WORKING_SOLUTION "Fixed race condition with mutex"
/remember type=FAILED_APPROACH "Global state doesn't work for sessions"
| Type | When to Use |
|---|---|
WORKING_SOLUTION | A fix or approach that worked (default) |
FAILED_APPROACH | Something that didn't work - avoid repeating |
ARCHITECTURAL_DECISION | Design choice with rationale |
CODEBASE_PATTERN | Pattern discovered in the code |
USER_PREFERENCE | How the user prefers things done |
ERROR_FIX | How a specific error was resolved |
Parse the arguments to extract:
type: Learning type (default: WORKING_SOLUTION)content: The actual learning contentThen store it using the memory script:
"${CLAUDE_PLUGIN_ROOT}/scripts/memory.sh" store \
--type "$TYPE" \
--content "$CONTENT" \
--session "$CLAUDE_SESSION_ID"
Simple:
/remember "The API rate limits to 100 req/min"
With type:
/remember type=ARCHITECTURAL_DECISION "Using event sourcing for audit trail"
Failed approach:
/remember type=FAILED_APPROACH "Caching at the controller level caused stale data"
After storing, confirm to the user what was remembered and suggest related recalls if applicable.