A Claude Code slash command for saving and restoring working context.
# Clone to your preferred location
git clone git@github.com:claude-commands/command-context-dump.git <clone-path>/command-context-dump
# Symlink (use full path to cloned repo)
ln -s <clone-path>/command-context-dump/context-dump.md ~/.claude/commands/context-dump.md/context-dump # Save current context
/context-dump auth-refactor # Save with name
/context-dump --restore # List saved contexts
/context-dump --restore auth-refactor # Restore specific context
/context-dump --list # List all contexts
- Captures current git state (branch, changes, commits)
- Saves investigation notes and hypotheses
- Records progress and next steps
- Stores for seamless later resumption
- Restores context with actionable summary
- Git branch and uncommitted changes
- Progress checklist (completed/in-progress/todo)
- Investigation notes and findings
- Current hypotheses and blockers
- Code snippets and references
- Next steps to continue
# Context: auth-refactor
**Branch**: feature/auth-refactor
## Problem
Refactoring authentication to use JWT
## Progress
- [x] Added JWT library
- [ ] Token refresh logic (70% done)
## Next Steps
1. Finish token refresh
2. Write tests# Restoring: auth-refactor
## Where You Left Off
Token refresh logic in middleware
## Next Steps
1. Finish implementation
2. Run testsContexts saved to:
.claude/contexts/- Claude Code directory.context/- Project local
- Git repository
- Claude Code with Opus 4.5 model access
cd <clone-path>/command-context-dump && git pull