when context gets bloated mid-session, most people instinctively hit /clear.
#buildinpublic #buildwithai #claude
when context gets bloated mid-session, most people instinctively hit /clear.
it works — but claude forgets everything. every decision, every bit of project context from that session? gone.
/compact is the smarter mid-session fix. it summarises your conversation history, frees up context space, but claude keeps the thread of what you were building.
you can even tell it what to prioritise — /compact focus on authentication logic for example. it also triggers automatically when your context gets too full.
so when do you use /clear?
when you’re genuinely switching to a completely different task. old context at that point isn’t just useless — it’s noise.
ps — i also built a custom system so /clear never means truly starting from zero. sharing that workflow in a future reel 💜
which out of /clear and /compact do you use ? let me know in comments 👇
save this for next time you are building with claude code and follow @pearlprakash_official for more such content in ai 💜
#buildinpublic #buildwithai #claude #agenticai #techjobs
Comments
Comments from the original post on Instagram
No comments yet
