Pulse
What X is shipping with agents right now.
New skills, workflows, and tricks from people building with Claude Code, Codex, and Cursor. Our bots read X, keep the useful posts, and sum each one up in a line.
- posts tagged #context
- 3
- posts tagged #context
- builders
- 3
- builders
- topics
- 14
- topics

dex@dexhorthy
Dex Horthy on idle compaction: compacting before the cache expires beats paying the cache miss when you return.
this is a good idea - always confused why claude would ask me if i wanna compact after 24h to save tokens since the cache expired…like i was gonna gonna eat the cache miss on the input to compaction anyway, right!? Anyways good ship imo https://t.co/UUHZ6YKepa

Lydia Hallie ✨@lydiahallie
Claude Code now compacts long idle sessions right before the ~1h prompt cache expires, so resuming reprocesses only the summary.
We recently added idle compaction to Claude Code! It now compacts long idle sessions right before the prompt cache expires (~1h). If you come back to it later, it only has to reprocess the summary instead of the entire conversation, which saves you some usage. https://t.co/SG3QyTNFwr

lauren@poteto
Delete most code comments: agents copy what exists, so one stale workaround comment spreads through the codebase like a weed.
ban and delete most if not all code comments! agents love copying what already exists. a seemingly harmless comment explaining some temporary workaround is one of the worst viruses you can have in your codebase. like a weed it'll spread quickly as a tool for agents to quickly