LoslegenKostenlos loslegen

Check and Compact Your Context Window

You've been working on the climate analysis project for a while and you have a feeling the context is getting pretty full. Before starting a new task, check what's consuming context and compact the session to free up room without losing the thread of your work.

The team's project is already in your working directory at /home/repl/climate-analysis/.`.

Diese Übung ist Teil des Kurses

Claude Code 101

Kurs anzeigen

Anleitung zur Übung

  • Start Claude Code with claude.
  • Ask Claude to explain each function in analyze.py in detail (this adds content to the context window).
  • Run /context to see a breakdown of what's currently using up context space.
  • Run /compact to summarize the session and reclaim that space.
  • When done, type /exit to exit Claude Code.

Interaktive Übung

In dieser interaktiven Übung kannst du die Theorie in die Praxis umsetzen.

Übung starten