Another rookie error is doing everything in one single session. Every time you say "now also fix this other thing" in the same chat, the new task inherits all the context bloat from the previous one. The tool outputs from your test run two hours ago are still in the context.
The workflow I use:
- Finish a unit of work, exit the session.
- New task → new session.
- Use /clear only if you specifically want a fresh start in the same terminal — exiting is usually fine and lets you revisit the session later if needed.
If you still need context from your session to work on the next task, use /compact — it will drop all the useless information, failed attempts and tool logs, and keep only what’s needed. It usually kicks in automatically when your context is 95 percent full — but at that point it's usually too late. Don't rely on this — compact context early and deliberately.