I was messing around with various options in Claude Code today, and came across the /context
command.
If you haven’t used it, it’s pretty cool - it shows your context usage visually in the command line:
One interesting thing to notice: I cleared the context right before running this, and still, only 47% of the context window is available to me. (Presumably, the other 22.5% that’s reserved is also semi-available to me via compaction to some degree, but not all of it, I’d imagine.)
Content window management is so important in productive AI workflows and agentic coding, and being able to see this is really helpful.
I really love the Frequent Intentional Compaction method that Dex at HumanLayer talks about, and I’ve used it a handful of times to really great success.
Content management is really important, and being able to see this visually in Claude Code helps to show what you’re really working with. Since context is the only thing that AIs have to go on in order to solve your particular problems, learning to do this well is worth the investment.