Keyboard Shortcut
Up arrow — cycle prompt history
Cycles backward through your previously typed messages in the current session, the same way shell history works.
If you're re-running a similar instruction with a small tweak — same request, different file — retyping it from scratch is wasted effort. The up arrow pulls your previous messages back into the input box one at a time, ready to edit and resend.
This mirrors how most shells handle command history, so it tends to feel immediately familiar rather than like something new to learn.
Combined with editing before sending, it's a quick way to iterate on phrasing when Claude misunderstood an instruction the first time.
Press the up arrow at an empty inputFrequently asked questions
What does Up arrow — cycle prompt history do in Claude Code?
Cycles backward through your previously typed messages in the current session, the same way shell history works.
How do I use it?
Try: Press the up arrow at an empty input
Any caveats to know about?
Combined with editing before sending, it's a quick way to iterate on phrasing when Claude misunderstood an instruction the first time.
Is this covered in the Claude Code Toolkit?
Yes — Up arrow — cycle prompt history and patterns like it are part of the full command, hook, and template pack included with a Claude Code Toolkit subscription.
Want the full command, hook, and template pack?
This is one pattern out of the full Claude Code Toolkit — subscribe for the complete set, plus everything we add going forward.
Subscribe to the toolkit — $79/mo