Ships in session-memory. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Manage memory storage: remove old events, detect duplicate cards, suggest deprecations.
Remove events older than maxDaysToKeep (default: 30 days):
# For each .jsonl file in .claude/memory/events/
# Filter out lines where ts is older than cutoff date
# Show count of removed events before deleting
Scan .claude/memory/cards/*.md for potential duplicates:
Similarity check:
For each duplicate pair found:
Potential duplicates:
1. mem_20260309_a1b2c3.md: "Auth null check"
2. mem_20260312_d4e5f6.md: "Auth middleware guard"
Overlap: files=[src/auth.ts], tags=[auth]
Suggested action:
- Merge into card 1 (older, more evidence)
- Deprecate card 2
List cards by status and activity:
=== Session Memory Prune Report ===
Events:
Total: 450 events across 3 files
Stale (>30 days): 120 events
Action: [Delete stale events? y/n]
Cards:
Total: 12 cards (8 active, 3 draft, 1 deprecated)
Potential duplicates: 2 pairs
Stale (no activity 60+ days): 1 card
Duplicate pair 1:
- mem_20260309_a1b2c3.md: "Auth null check" (active, imp:2)
- mem_20260312_d4e5f6.md: "Auth middleware" (draft, imp:1)
Suggestion: Merge evidence into first, deprecate second
Stale cards:
- mem_20260201_x1y2z3.md: "Old config pattern" (last evidence: 2026-02-01)
Suggestion: Review — deprecate if no longer relevant
Storage:
Events: 45 KB
Cards: 12 KB
Summaries: 28 KB
Total: 85 KB
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub teamspwk/claude-session-memory --plugin session-memory7 skills in this plugin
Other plugins' skills for the same job