One key point that I teach in my Agentic Coding class is the importance of managing context effectively.
Every technique in coding harnesses - be it grep, skills, subagents, CLIs and so on ultimately tie back into maintaining context relevance. Massive contexts not only confuse the agent, but also blow up the token costs. While this might have been less an issue with fixed price unlimited plans, that era is ending. With per-token API pricing becoming the norm, and price caps being implemented in organisations, we are going to see a lot of focus coming back into using the context efficiently.
My most used command is /new to wipe the context and start a new session. Yes, context auto-compacts, or you could use the /compact command manually but there is no control what the agent will decide to retain. Many times critical instructions are lost during compaction.
Instead, my preferred workflow is to externalise memory into markdown files, create new sessions liberally and rehydrate relevant memory for the current task back from the files.
Recent Articles
- • Running AI Models Locally on Consumer Hardware Jun 15, 2026
- • AI Coding for Free Using Local LLMs at Chennaipy Meetup Jun 08, 2026
- • Pi and Py: Demoing an Open-Source Agentic Coding Assistant Jun 05, 2026
- • Is Clean Code Still Relevant in the AI Age? May 04, 2026
- • AI Agents Need Hard Boundaries Apr 24, 2026