← heapsort
DOC28

Claude Code Slow? Master /clear and /compact in 2 Minutes (Day 3 of 10)

DEV.to AIΒ·May 6, 2026

This article explains how to optimize Claude Code sessions in VS Code using the /clear and /compact commands. By managing the context window, users can prevent slowdowns and faster token depletion, thereby improving productivity.

Read original β†—