save-memory

Manually save current session memory to files

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 24, 2025

When & Why to Use This Skill

The Save Memory skill enables Claude agents to manually persist session context, progress, and critical insights into local Markdown files. By forcing an immediate checkpoint, it ensures that session summaries, architectural decisions, observed patterns, and unresolved issues are documented, providing a reliable way to maintain continuity and prevent context loss during complex, long-running tasks.

Use Cases

  • Development Checkpointing: Manually save session state before initiating a major code refactor or experimental change to ensure a restorable record of current progress.
  • Decision Documentation: Capture and store key technical decisions and their rationales in real-time, creating an audit trail for team reviews or future project maintenance.
  • Session Handoff and Continuity: Generate detailed session logs that allow users to pick up exactly where they left off in a new session by reviewing the saved memory files.
  • Knowledge Base Integration: Automatically format and append session summaries to a central memory file, helping to build a long-term knowledge base of project-specific patterns and issues.
namesave-memory
descriptionManually save current session memory to files

Save Memory

Force immediate save of session memory.

Usage

/memory-keeper:save-memory

Actions

  1. Save to memory.md:
printf '\n## %s\n%s\n' "$(date +%Y-%m-%d_%H%M)" "[Summary of current session progress]" >> ".claude/memory/memory.md"
  1. Create session file:
cat > ".claude/memory/sessions/$(date +%Y-%m-%d_%H%M).md" << 'ENDSESSION'
# Session TIMESTAMP

## Summary
[What has been accomplished so far]

## Decisions
- [type] Decision: Reason
  - files: affected files
  - concepts: relevant concepts

## Patterns
- [type] Pattern observed
  - concepts: tags

## Issues
- [type] Issue: open|resolved
  - files: affected files

ENDSESSION

Notes

  • Uses same format as auto-save
  • Does NOT reset counter (auto-save will still trigger normally)
  • Use when you want to checkpoint progress mid-session