๐Ÿ“

Context Window Management

General

Work efficiently within token limits

All AI coding agents have context window limits. As you approach the limit, early conversation content may be truncated or performance may degrade. Start a new session after completing large tasks, avoid unnecessary file output, and keep only essential context.

How to Use

1

Start a new session after completing large tasks โ€” reset with clean context

2

Claude Code: Compress current conversation context with /compact

3

Avoid outputting entire unnecessary files โ€” request only needed parts

4

Record essential context in CLAUDE.md/rules for automatic loading each session

Tags

#context #token #window #compact #efficiency

Source

Community Best Practice