Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

/new (codex) or /clear (claude code) are much better than compact after every feature, but of course if there is context you need to retain you should put it (or have the agent put it) in either claude/agents.md or a work log file or some other file.

/compact is helping you by reducing crap in your context but you can go further. And try to watch % context remaining and not go below 50% if possible - learn to choose tasks that don't require an amount of context the models can't handle very well.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: