| name | context-restore |
|---|---|
| description | Restore session context from previous session |
| disable-model-invocation | false |
Resume work from where the last session ended. Read actual codebase along with this file.
ls -la .claude/context.md 2>/dev/nullIf no context file exists, fall back to git-based restoration.
Read .claude/context.md and parse:
- Project Anchor
- Git State
- What We Were Doing
- Decisions Made
- Open Questions
- Next Actions
- Quick scan codebase (docs and git are usually lagging)
- Read key planning & implementation docs
Check for discrepancies. Run these as separate parallel Bash calls — never chain with &&:
git status --shortgit log --oneline -5- New commits since context was saved?
- Files changed externally?
- Branch switched?
## Session Restored
**Project:** [name]
**Branch:** [current branch]
### Where We Left Off
[Task, approach, where we stopped]
### Decisions From Last Session
[Key decisions that carry forward]
### Open Questions
[Unresolved items]
### Codebase Changes Since Last Save
[Any changes detected, or "None"]
### Recommended First Action
[First item from Next Actions]
---
Ready to continue. What would you like to work on?- "Does this match your recollection?"
- "Should we continue with [first action], or do something else?"
- Codebase is truth — Context file is memory, not authority
- Verify, don't assume — Check git state against context
- Surface discrepancies — If things changed, say so
- Be ready to pivot — User may want to do something different