You'll get five commands that stop Claude Code from wasting your context window, plus when to run each one. Time needed: about 10 minutes to try all five once. What you need: Claude Code already installed, that's it.

⚡️ Quick version: check cost → answer shorter → undo mistakes → shrink history → hand off clean.

STEP 1: CHECK WHAT'S EATING YOUR CONTEXT (2 min)

Type /doctor and press enter. This is a built-in Claude Code command, no install needed. It scans your setup and shows which loaded files (docs, code examples, chat history) are costing you the most tokens, so you know where the waste actually is before you touch anything.

STEP 2: MAKE ANSWERS SHORTER

If Claude keeps giving you long explanations you don't need, [CONFIRM: exact install steps for the creator's "/ponytail" custom skill] — the idea is a custom skill that tells Claude to answer in fewer words, code with less commentary. Official Claude Code skills live in a .claude/skills folder as plain instruction files, so this is likely one you'd drop in there.

STEP 3: UNDO A WRONG TURN

Type /rewind the moment Claude goes down the wrong path. It's another built-in: pick a checkpoint from before the mistake and jump back, instead of spending ten messages correcting it by hand.

STEP 4: SHRINK A LONG SESSION

When a session has been running a while, type /compact. Built-in again: it condenses your conversation into a checkpoint and can cut active history by a large chunk, so replies stay fast and cheap.

STEP 5: HAND OFF CLEAN

Before starting a new session on the same project, [CONFIRM: exact install steps for the creator's "/handoff" custom skill] — the idea is it writes your goal, key decisions, and next steps to a small file, so the next session starts fresh without dragging the whole old conversation along.

✅ You'll know it worked when your /doctor numbers drop between sessions instead of climbing every time.

💡 Pro tips:

⚠️ If something breaks: