memory-prunelisted
Install: claude install-skill shandar/memory-map
# Memory Prune
Identify and remove stale, outdated, or redundant memory entries to keep the store clean
and decision-useful over time.
Works in **claude.ai** (uses `memory_user_edits`) and **Claude Code** (writes
`~/.claude/memory.md`). Detected automatically.
---
## Step 0 — Detect environment
| Signal | Environment | Load |
|--------|-------------|------|
| `memory_user_edits` tool is available | claude.ai | `references/claude-ai.md` |
| Not available / running in terminal | Claude Code | `references/claude-code.md` |
---
## Core Protocol
### Step 1 — Read all memory
Fetch every entry with the environment-appropriate read command.
### Step 2 — Audit for cleanup candidates
Categorise each entry into:
**Stale** — references past events or dates that have passed:
- Events with past dates that are not retrospectively meaningful
- "Upcoming" tags on things that have shipped
- Old "CURRENT STATE SNAPSHOT" entries that have been superseded but not replaced
**Redundant** — covered by another entry:
- Two entries with overlapping content (one is more current)
- Sub-entries that have been folded into a parent entry
- Duplicate category labels
**Outdated** — factually wrong now:
- Old contact details, links that no longer work
- Specs that have been revised
- Cohort numbers that have changed
**Mergeable** — could be consolidated to save space:
- Two related entries that are both under-character-limit could become one
- Multiple small notes about the same project
### St