Did you know you can stash your prompt in Claude Code?
@adocomplete35K followers
171,570 views
35 Comments
Comments from the original post on X (Twitter)

@_chair
i guess this is sufficient motivation to figure out what part of the shell ate my Ctrl key
18 likes

@jarredsumner
til
16 likes

@rawkode
Control-S is already a POSIX signal. You’re now just breaking terminal flow control.
12 likes

@DimitriosMitsos
Yes it's really handy feature, this and many more for claude code you can find here, now it's self updating
10 likes

@dcarmitage
this is actually very useful, tyvm. I’m always scrambling with notes or obsidian
6 likes

@EricBuess
🙌 It’s awesome! But it doesn’t save to file just to memory so when you /exit and continue the session it’s lost, right? Is it possible to make it persist past /exit and resume? I made a workaround I discussed briefly here but would love to not have to go to such lengths. Would also be awesome if up arrow or some other shortcut would restore it without having to submit something. Maybe like a stack that ctrl+s would add to would be great!
5 likes

@NickADobos
@marcelpociot Omg
4 likes

@Gerry
I use this all the time when I've typed up a prompt and then realize it would be better if I provided the output of a bash command. 1. <stash> 2. !<command> 3. Submit prompt I actually only found out about this from your Christmas list
2 likes

@greydoubt
Are you out of your goddamned mind?
2 likes

@codewithimanshu
@adocomplete, that's a clever way to manage prompts, and here's a guide to further improve your workflow.
2 likes

@clayboicartii
can you have clearing context not clear stashed text too please
2 likes

@kiknaio
If you need to stash a prompt to run it again later, you can probably build a skill out of it and reuse it
1 like

@mktpavlenko
Ctrl+S stash is a game changer. No more losing half your prompt when you need to pivot real quick.
1 like

@kostyniuk00
that's cool, I didn't know this
1 like

@jbetala7
The team knows exactly what to cook. Small or big. But never fail
1 like

@Nekovo_0
git stash for thoughts? This is the feature I didn't know I needed. 🤯 Stopping a thought to run a quick ls used to mean losing your flow. Small UX details like this are what make a dev tool stick.
1 like

@diegocasmo
TIL
1 like

@relentlessSB
TY for pointing this out
1 like

@_AIAcceleration
This is a feature that I would have never even thought to add Very useful shortcut
1 like

@explorersofai
Get started with Claude Code here. Simple set up guide!
1 like














