Almost every Claude Code problem comes back to one constraint: the context window. Every message, every file Claude reads, and every command it runs takes up space, and as the window fills up the agent gets slower and less reliable. Learning to see what is in that window and keep it lean is one of the biggest upgrades you can make to your results.
This module starts with how context fills up and the commands that manage it: /context to inspect it, /compact to summarize a long session, and /clear to start fresh. It then covers CLAUDE.md, the file Claude reads at the start of every session, and how to use /init, /memory, and folder-level files to give the agent durable knowledge about your project without bloating every conversation.
Watch the lessons in order, then continue on to Permissions & Safety.
A short Anthropic walkthrough of how the context window fills up and what /context, /compact, and /clear each do. It closes with four ways to reduce context pressure: be specific, turn off unused MCP servers, prefer skills, and hand lookups to subagents.
The Net Ninja shows how /init scans your codebase and writes a CLAUDE.md, how to edit and maintain it, how the project, personal, and global memory levels differ, and how /memory opens your memory files. Some memory shortcuts have changed since it was recorded, so check the current docs for details.
A working engineer's guide to keeping context clean: put short pointers in CLAUDE.md instead of full specs, split instructions by folder, give each feature its own session, and use small test-driven steps so you can trust what Claude writes.
Ten tips for beginner through advanced users, including progressive disclosure, treating context as something that goes stale, trimming MCP servers to save tokens, and previewing subagents, worktrees, and hooks that later modules cover.