| name | context |
| description | Load full memory context for the current task. Use automatically at the start of coding tasks to load corrections, decisions, and relevant background. Also use when switching topics mid-session. |
/amem:context — Load Memory Context
Load all relevant memory context for a topic or the current task.
Instructions
-
Determine the topic from $ARGUMENTS or the current conversation context.
-
Execute this sequence:
a. Call memory_inject with the topic — surfaces corrections (MUST follow) and decisions (SHOULD follow)
b. Call reminder_check — show any overdue or upcoming reminders
c. Call memory_tier with action: "list", tier: "core" — load always-on context
d. If more context needed, call memory_context with the topic for broader background
-
Present the context naturally:
- Lead with corrections: "I remember these constraints..."
- Then decisions: "Previous decisions on this topic..."
- Then patterns/preferences if relevant
-
Apply corrections as absolute constraints — never violate them.
When to Use
- Start of any new task or topic
- When the user asks "what do you know about X?"
- When switching between different parts of the codebase
- Before writing code that might have constraints
Working with Claude Auto-Memory
If Claude auto-memory is also active:
- amem is authoritative — it has timestamps, versioning, and confidence scores
- When they conflict, trust amem
- Don't re-store what's already in amem from auto-memory
- Use amem's structured recall instead of loading the entire auto-memory file