Install command
Not provided
Use Claude Code's built-in checkpointing: run /rewind or press Esc twice to restore code, conversation, or both to an earlier point in a session, and summarize parts of the chat.
Open the source and read safety notes before installing.
Source-backed facts for citing this resource, derived directly from the registry — also available as plain text for AI assistants.
Decision playbook
Signals are present but mixed. Use the checklist below to confirm the source and operational safety for your environment.
0
78
—
No baseline selected
No major trust-signal divergence detected in the current selection.
Confirm ownership and provenance before trusting install instructions.
Source link availableRequired
Open the canonical repository and verify ownership.
Source provenance statusRequired
Marked as source-backed.
Metadata reviewed
Registry metadata indicates a reviewed listing.
Validate risk disclosures before installation or API wiring.
Safety notes presentRequired
Review the listed safety guidance before running commands.
Privacy notes presentRequired
Review data handling notes before connecting accounts or secrets.
Trust level risk gateRequired
Trust level does not block evaluation.
Check package metadata and artifact integrity signals.
Install payload available
Install or copy payload is available for review.
Package verification flag
No package verification flag provided.
Checksum metadata
No checksum provided for downloaded artifact.
Use compare context to validate trade-offs before adoption.
Compare tray has multiple entries
Add at least one more entry to compare trust differences.
Baseline comparison available
No baseline peer selected yet.
Diverging trust signals identified
No major trust-signal divergence found.
Setup at a glance
Copy-ready — paste the snippet to get started.
Install command
Not provided
Config snippet
Not provided
Copy snippet
Provided
Prerequisites
None
Platforms
1 listed
Difficulty
100/100
Adoption plan
Current risk score 16/100. Use staged verification before broader rollout.
Validate source and review signals before any execution.
Confirm source provenanceRequired
Source URL/provenance metadata is present.
Confirm metadata review state
Listing has review metadata.
Verify install payload
Install/config payload exists and can be inspected.
Confirm safety, privacy, and package integrity signals.
Review safety notesRequired
Safety notes are present.
Review privacy notesRequired
Privacy notes are present.
Verify package integrity metadata
No package verification/checksum metadata.
Adopt in controlled steps based on the selected plan.
Run in isolated sandbox firstRequired
Use a constrained sandbox and observe behavior across multiple tasks.
Roll out graduallyRequired
Roll out to a small cohort before wider usage.
Set monitoring and fallback
Define rollback path and monitor errors after adoption.
Evidence readiness
Required evidence gates are covered (5/6 signals complete).
Source repository/provenance is listed.
Required in this preset
Review metadata is present.
Required in this preset
Safety notes are present.
Required in this preset
Privacy notes are present.
Optional in this preset
Package integrity metadata is missing.
Optional in this preset
Install payload is available.
Required in this preset
Required evidence gates are covered for this preset.
Decision timeline
5/6 steps complete with no blocking gaps for this preset.
triage
Source/provenance metadata is available.
triage
Review metadata is available.
verify
Safety notes are available.
verify
Privacy notes are available.
verify
Package integrity metadata is missing.
rollout
Install payload is available.
No required blockers for this timeline preset.
Safety & privacy surface
3 safety and 1 privacy notes across 2 risk areas. Review closely: credentials & tokens.
/rewindClaude Code has built-in checkpointing: it automatically captures the state of your code before Claude's edits, so you can rewind to a previous state if a task goes off track. You open this with the built-in /rewind command, or by pressing Esc twice while the prompt input is empty.
This is a built-in Claude Code feature, not a separate plugin. Checkpointing is automatic, and you interact with it entirely through the
/rewindmenu (or by pressingEsctwice).
cleanupPeriodDays setting, not a separate checkpoint config file.Checkpoints are created automatically as you work — checkpointing is tied to your prompts rather than to a manual create step or a configurable interval.
/rewind
Or, with an empty prompt input, press Esc twice.
If the prompt input contains text, pressing
Esctwice clears the text instead of opening the menu. The cleared text is saved to your input history, so pressUpto recall it after you finish in the rewind menu.
The menu lists each prompt you sent during the session. Select a point, then choose an action.
For the selected message you can choose:
After restoring the conversation or choosing Summarize from here, the original prompt from the selected message is restored into the input field so you can re-send or edit it.
The restore options change state on disk and in history: they undo code changes, conversation history, or both.
The summarize options do not change files on disk — they compress one side of the conversation into a summary to free up context window space. The original messages are preserved in the session transcript, so Claude can still reference them. You can type optional instructions to guide what the summary focuses on. This is like /compact, but targeted to one side of the selected message rather than the whole conversation.
If you instead want to branch off and try a different approach while keeping the original session intact, use session forking (claude --continue --fork-session) rather than rewind.
/rewind, pick the prompt before the refactor, and choose Restore code.You: Refactor the payment service to use async/await
Claude: (edits several files)
You: The payment flow is broken now.
You: /rewind
-> select the prompt before the refactor
-> choose "Restore code"
Your files revert to the pre-refactor state while the conversation (including what went wrong) stays intact, so Claude can try a different approach with that context.
Checkpointing is a session-level safety net, not full version control. Be aware of what it does not track:
rm file.txt, mv old.txt new.txt, cp source.txt dest.txt) cannot be undone through rewind. Only direct edits made through Claude's file-editing tools are tracked.Show that Restore Code and Chat in Claude Code with /rewind is listed on HeyClaude. Paste this Markdown into your README — it renders the badge and links back to this page.
[](https://heyclau.de/entry/commands/checkpoint-manager)Restore Code and Chat in Claude Code with /rewind side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.
2 trust signals differ across this comparison (Source provenance, Submitter).
| Field | Use Claude Code's built-in checkpointing: run /rewind or press Esc twice to restore code, conversation, or both to an earlier point in a session, and summarize parts of the chat. Open dossier | Expert Claude Code checkpoint recovery capability pack for auditing automatic edit tracking, choosing restore versus summarize actions in /rewind, and recovering from bad turns without losing git history. Open dossier | A release-manager workflow collection for shipping versions safely: draft release notes from Conventional Commits, govern commits, triage red CI, checkpoint risky changes, and generate changelog artifacts before tagging. Open dossier | A practical walkthrough of Claude Code checkpointing: how automatic checkpoints capture code before each edit, how to rewind and summarize with /rewind, the difference between restore and summarize, and the limitations you must know before a risky refactor. Open dossier |
|---|---|---|---|---|
| Next steps | ||||
| Trust | ||||
| Review status | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed |
| Package trust | Package not verified | Package not verified | Package not verified | Package not verified |
| Source provenanceDiffers | Source-backed | Submission linkedSource submission | Submission linkedSource submission | Source-backed |
| SubmitterDiffers | — | kiannidev | kiannidev | JPette1783 |
| Install risk | Review first | Review first | Review first | Review first |
| Notes | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ |
| Brand | — | — | — | — |
| Category | commands | skills | collections | guides |
| Source | source-backed | source-backed | source-backed | source-backed |
| Author | JSONbored | kiannidev | kiannidev | JPette1783 |
| Added | 2025-10-25 | 2026-06-13 | 2026-06-16 | 2026-06-05 |
| Platforms | Claude Code | Claude CodeCodexWindsurfGeminiCursorCLI | Claude Code | Claude Code |
| Source repo | — | — | — | — |
| Safety notes | ✓Restore actions are destructive to working-tree state: Restore code and Restore code and conversation revert file edits made through Claude's tools, discarding uncommitted changes since the selected prompt. Confirm you have committed anything you want to keep before restoring. Checkpoints do not undo bash command side effects (deleted/moved/copied files, directories created by the shell) or database/external changes. After a rewind you may need to clean those up manually. Checkpoints are session-level recovery, not a backup. They are auto-deleted with their session after 30 days by default (cleanupPeriodDays). Use Git for anything you need to keep. | ✓This skill recommends checkpoint actions; it must not run `/rewind` restore or summarize without explicit user approval. Restore code and conversation reverts both files and chat history to a prior prompt; confirm the target checkpoint before acting. Restore code alone keeps conversation but reverts file edits; restore conversation alone keeps current files but rewinds chat. Summarize compresses conversation segments without changing files on disk; it is not a substitute for git revert when bash commands modified files. Checkpointing does not track files changed by bash commands such as `rm`, `mv`, or `cp`; use git or manual recovery for those paths. | ✓Release automation proposes notes and bumps—humans must approve tags and publishes. CI triage reads workflow logs; treat log content as untrusted input. Review each linked entry's safety notes before enabling hooks or skills. | ✓Checkpoints only track files edited through Claude's file-editing tools; changes made by bash commands (rm, mv, cp) are NOT tracked and cannot be undone via rewind. External or concurrent-session edits are generally not captured unless they touch the same files; do not rely on checkpoints for those. Checkpoints are session-level local undo, not version control; commit to Git before and after risky work for permanent history. |
| Privacy notes | ✓Checkpoints and the summarize feature store your code state and conversation history locally as part of the session transcript, including messages that were replaced by a summary. These persist across resumed sessions until cleaned up (default 30 days). | ✓The /rewind menu lists every user prompt in the session, which may expose internal task names, credentials pasted in prompts, or customer context. Restored prompts reappear in the input field and may contain sensitive instructions that should be redacted before sharing screens. Session transcripts persist with checkpoints for up to 30 days by default; treat resumed sessions as containing prior sensitive content. Public support notes should describe the recovery lane and checkpoint choice, not full prompt text or complete file diffs. | ✓Release notes commands include commit messages in model context—scrub sensitive subjects. Workflow completion hooks may echo branch names and paths in notifications. | ✓Checkpoints and session state are stored locally and cleaned up with the session after 30 days by default. Restoring or summarizing changes session state locally; it does not transmit anything beyond the normal model requests. Summaries are AI-generated from your conversation; the original messages remain in the local transcript. |
| Prerequisites | — none listed |
|
|
|
| Install | — | — | — | — |
| Config | — | — | — | — |
| Citations | ||||
| Claim | Unclaimed | Unclaimed | Unclaimed | Unclaimed |
Source-backed guides for putting this to work.
Loading live community signals…
A short, calm digest of reviewed Claude resources. Unsubscribe any time.