Store a memory in erinra for future reference
Store a memory in erinra.
Check that mcp__erinra__store is available in your tools. If not, tell the user:
Erinra MCP server is not connected. Run
claude mcp add erinra -- erinra serve -s userand restart Claude Code.
/decaf-memory:remember [description of what to remember]
Clarify if needed — If the user's input is vague, ask what they want to remember and why it matters.
Classify the memory — Choose a type:
preference — User preference or working stylepattern — A reusable approach or conventiondecision — An architectural or design choicebug-fix — A bug and its solutionfact — A piece of factual knowledgeconcept — A concept or mental modelnote — A general noteevent — Something that happenedStore it using mcp__erinra__store:
mcp__erinra__store({
content: "[the memory content]",
type: "[type]",
projects: ["[project-name if applicable]"],
tags: ["[relevant tags]"],
links: [{ target_id: "[id]", relation: "[relation]" }] // optional: link to related memories
})
The links parameter is optional. Use it to connect the new memory to existing ones with relations like related_to, caused_by, context_for, or supersedes.
Check the response — store returns the top-3 most similar existing memories. If a very similar one exists:
mcp__erinra__update on the existing memory insteadmcp__erinra__merge to combine themConfirm — Tell the user what was stored and how it was classified.
User: /remember HttpClient timeout doesn't work as expected with Polly retry
Response:
I'll store this. Can you clarify:
1. What was the unexpected behavior?
2. What was the solution?
[After user responds]
Stored as bug-fix:
- HttpClient.Timeout is per-attempt, not total
- Polly retry can exceed expected total timeout
- Solution: Wrap retry policy with Polly timeout policy
Tags: polly, httpclient, dotnet
User: /remember I prefer tabs over spaces
Response:
Stored as preference: "User prefers tabs over spaces for indentation"
Guide users away from storing: