ClaudeHack
0

Rewind failed attempts instead of correcting in-place

Context Management·13 hours ago·verified 13 hours ago·easy·~1 min setup·verified

Double-Esc /rewind back to after useful file reads, then re-prompt with what you learned—without the failed approach still in context.

The problem

Saying "that didn't work, try X" keeps the failed path in context and burns attention on noise.

The hack

Use `/rewind` (Esc Esc) to jump back, drop the bad attempt, and re-prompt with the corrected direction.

Why it works

Rewind keeps valuable exploration while removing the wrong-path tokens that cause context rot.

Setup

1. After a failed approach, press Esc Esc or run `/rewind`. 2. Select the checkpoint after the useful reads (before the bad implementation). 3. Re-prompt with what you learned: "Don't use approach A; go straight to B because ...". 4. Optionally use summarize-from-here for a handoff message.

Additional details

Especially useful after Claude reads five files and then chooses the wrong API.

Source

anthropic·View original →·by Anthropic

Does this still work?

0 said it works · 0 said it's broken

Discussion

No comments yet. Be the first to say whether this worked for you.