Claude Code context: stop slow, costly sessions
Every turn resends your whole context, so a long session slows down and costs more. Read /context, cut the fixed tax, then clear and compact with intent.
Filtering by topic #context · clear
Every turn resends your whole context, so a long session slows down and costs more. Read /context, cut the fixed tax, then clear and compact with intent.
Three ways to give a coding agent context, and one rule for picking. See what a skill, an MCP server and a rules file each cost in tokens and upkeep.
Your instruction file says stop and the agent does it anyway. The mechanics behind that, and a diagnosis you can run before you rewrite the rule again.
Graft parses your repo with tree-sitter into a codebase map your coding agent queries over MCP, so it stops rediscovering the same structure every session.
Convert a PDF, EPUB or folder of internal docs into an agent skill your coding agent loads on demand: install, token budget, headless runs, licensing.