>_ JC Chouinard

Keep long Claude Code sessions sharp

Manage your Claude Context Window

Long Claude Code sessions drift, forget and get expensive. Learn how the context window really works, why LLMs have no memory, how caching resets, and the habits that keep sessions sharp: when to clear, compact, persist to files and hand off.

  • Intermediate
  • 11 modules
  • 45 lessons
  • Self-paced

What you'll learn

Skills you'll gain

Syllabus

11 modules, 45 lessons. Titles only; lesson content unlocks with access.

Module 1: Introduction1 lessons
  • Start here: the context window in 12 minutesReading
Module 2: The Context Window3 lessons
  • What the context window is and how it worksReading
  • What sits inside the windowReading
  • What eats your contextQuiz
Module 3: When the Window Fills Up5 lessons
  • The smart zone and the dumb zoneReading
  • What happens when the window fills upReading
  • A conversation before and after compactionReading
  • Practice: why Claude repeats a rejected ideaQuiz
  • Restart around 200k tokens, not when the window is fullQuiz
Module 4: Tokens and Window Size3 lessons
  • What tokens areReading
  • From tokens to window size: how many pages fitReading
  • Practice: count the tokens in two promptsQuiz
Module 5: See Your Context3 lessons
  • Where to see your context windowReading
  • See your contextReading
  • Put it in the status lineReading
Module 6: No Memory, Full History5 lessons
  • LLMs do not have memoryReading
  • Proof: with and without historyReading
  • What the model actually receivesReading
  • What this means for youReading
  • Why bigger is not freeQuiz
Module 7: Prompt Caching4 lessons
  • Prompt caching: reuse the prefixReading
  • Cache lifetime and what breaks itReading
  • Practice: what resets the cacheQuiz
  • What caching saves youReading
Module 8: Compact or Clear7 lessons
  • When to use /clear and when to use /compactReading
  • Compact with a focusReading
  • When to compactQuiz
  • Compaction is not a handoffQuiz
  • Common questionsReading
  • Start fresh with /clearReading
  • New task, new sessionQuiz
Module 9: Persist State in Files3 lessons
  • Point to files, do not pasteQuiz
  • Write plans to filesQuiz
  • Check, then actQuiz
Module 10: Handoff and Offload5 lessons
  • Write a handoff packetReading
  • Keep the main window cleanQuiz
  • Offload heavy readsQuiz
  • When long sessions are fineQuiz
  • Decision guide: pick the right moveReading
Module 11: Assessment6 lessons
  • Check: tokens and window sizeQuiz
  • Check: why caching mattersQuiz
  • Check: spot the cache breakersQuiz
  • Check: coming back after a breakQuiz
  • Check: a long sessionQuiz
  • Final assessment: pick the right move for a long taskQuiz

Who this is for

Regular Claude Code users whose long sessions start to degrade.

♥ Sponsor