telexed ~ c / 40cd7a79-350radar:50 · agent_toolLIVE
← back
NO.
#40cd7a79
Topic
AGENTS & TOOLS
Source
r/ClaudeAI
Published
2026-05-17 08:24:12
Importance
★ 5/10 — radar 50

Claude Code context controls: `/btw`, `/rewind`, guided `/compact`, `CLAUDE.md`

Context cleanup is more granular than wiping or compacting everything. These commands reduce drift during long coding sessions, worth adding to daily agent habits.

[ KEY POINTS ]
  1. /btw answers side questions in an overlay and does not enter history; use it for quick flag, API, or idiom checks.
  2. /rewind can summarize after a checkpoint or before it, keeping either the original spec or the latest working state intact.
  3. /compact <instructions> beats passive compaction when the next step is clear, e.g. keep API changes and drop debug history.
  4. CLAUDE.md can set compaction invariants once, such as preserving modified files and test commands every time.
Originalwww.reddit.com/r/ClaudeAI/comments/1tfjja8/anthropic_shipped_4_context_tools_between_clear/Read original →

// related