/context

Last updated

What is /context?

The /context command is a diagnostic tool that provides a technical breakdown of how the model's context window is currently allocated, using a colored grid. While commands like /usage show you the "how much," /context shows you the "what." It lists every file, conversation turn, and tool result currently being held in the AI's active memory, allowing you to see exactly which resources are consuming tokens.

Free resources to learn /context

More in stage 9: Hooks

/context: common questions

Can I learn /context in Hindi?

This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain /context in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.

Is this /context tutorial for beginners?

It is lesson 70 of 109 in the free Claude Code roadmap, in stage 9, Hooks. If you are new to Claude Code, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.

Still confused? Ask me