Back to Skills

memory-management

verified

Persistent memory management for Claude Code via AutoMem. Use this skill when: - Starting a session (recall project context, decisions, patterns) - Making architectural decisions or library choices - Fixing bugs (store root cause and solution) - Learning user preferences or code style - Completing significant work (store summary) - Debugging issues (search for similar past problems)

View on GitHub

Marketplace

verygoodplugins-mcp-automem

verygoodplugins/mcp-automem

Plugin

automem

Repository

verygoodplugins/mcp-automem
30stars

plugins/automem/skills/memory-management/SKILL.md

Last Verified

January 18, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/verygoodplugins/mcp-automem/blob/main/plugins/automem/skills/memory-management/SKILL.md -a claude-code --skill memory-management

Installation paths:

Claude
.claude/skills/memory-management/
Powered by add-skill CLI

Instructions

# Memory Management Skill

Use AutoMem to maintain persistent context across Claude Code sessions. This skill teaches the **3-Phase Memory Pattern**: Recall → Store → Summarize.

## Phase 1: SESSION START (Recall)

### Always Recall For

- Project context questions (architecture, tooling, deployment)
- Architecture discussions or decisions
- User preferences and code style
- Debugging issues (search for similar past problems)
- Refactoring (understand why current structure exists)
- Integration or API work (check past implementations)
- Performance optimization discussions

### Adaptive Recall Based on Context

- **Files open** → Recall memories tagged with those components
- **Error messages** → Search for similar error patterns
- **Multiple files** → Recall architectural decisions
- **PR/commit context** → Recall related feature implementations

### Skip Recall For

- Pure syntax questions ("How does Array.map work?")
- Trivial edits (typos, formatting, simple renames)
- Direct factual queries about current code
- File content requests that can be answered by reading

### Recall Examples

```javascript
// Basic project recall
mcp__memory__recall_memory({
  query: "project architecture decisions",
  tags: ["project-name"],
  limit: 5
})

// Debug similar errors
mcp__memory__recall_memory({
  query: "TypeError authentication timeout",
  tags: ["bug-fix"],
  time_query: "last 30 days",
  limit: 5
})

// Multi-hop reasoning (find related context)
mcp__memory__recall_memory({
  query: "Who worked on the auth system?",
  expand_entities: true,
  limit: 10
})

// Context-aware coding recall
mcp__memory__recall_memory({
  query: "error handling patterns",
  language: "typescript",
  context: "coding-style",
  context_types: ["Style", "Pattern"]
})
```

## Phase 2: DURING WORK (Store)

### What to Store with Importance Levels

| Type | Importance | When to Store |
|------|------------|---------------|
| **Decision** | 0.9 | Architecture, library choices, pattern decisions 

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
5739 chars