What this thread does
Do first: After two failed corrections, run /clear and send one new prompt that incorporates what the failed attempts taught you.
Short answer
Claude Code’s guide recommends a restart after two failed corrections rather than a third correction in the same conversation. Its explanation is that another correction leaves the earlier failed attempts in the material Claude keeps reading.
What to do
| Situation | Control and effect |
|---|---|
| Stop an action immediately | Esc preserves the conversation so far |
| Restart with a revised prompt | /clear starts over |
| Return to an earlier prompt | /rewind, or Esc twice on an empty prompt |
The rewind menu can restore code, conversation, or both, and can summarize part of a stale conversation. For the restarted task, the same guide recommends giving Claude an observable check such as a test, build result, linter, fixture comparison or screenshot.
Limits and open questions
Checkpoints cover edits made through Claude’s own file tools in the main conversation. A file touched only by a Bash command is outside that restoration. The two-correction rule is the guide’s operational advice, not a success rate measured here.
Not for: Cursor chat history controls.
Sources
Checked
2026-11-17: read Claude Code best practices: steering and checks; no command was run.
Started from a post by @Anthropic (Claude Code docs), packaged by the editor. Original post