JAY GPT PROJoin the group

AI tips from the group · · Claude

Daily Claude Hack #7

🧹 Your Claude Code session getting slow? Here's how to fix it.

The longer your conversation goes, the more Claude loses focus. That's because the context window fills up, and when it does, Claude starts ignoring what's in the middle of the conversation. It remembers the beginning and the end, but everything in between gets lost.

Two commands you need to know:

1. /compact
Compresses your entire conversation into a short summary. A 70,000 token conversation can shrink to 4,000. Claude keeps working but with way more room.

Pro tip: add instructions like /compact focus on the database changes and Claude keeps only what matters.

2. /clear
Wipes everything. Fresh start. Claude still reads your CLAUDE.md and sees your files, but the conversation history is gone.

Simple rule: done with a task? /clear. Still mid flow but things are getting heavy? /compact.

Bonus: /context
Shows you exactly how full your context window is. Check it before things start to slow down.

💡 Claude auto compacts at around 80%, but don't wait for that. Run /compact after each major step. Your results will be noticeably better.

/compact and /clear also work in Cowork.

Jay

📲 Share our WhatsApp group with friends:
https://chat.whatsapp.com/F1YcpZGHueh2oSEhcsfjc1

Daily Claude Hack #7