Reddit probes how Claude Code’s /compact turns chats into summaries

MiddleLtSocks · reddit · 2026-07-23

A Reddit discussion digs into Claude Code’s /compact behavior by asking whether people have inspected its network traffic or used packet sniffers.

The key point: /compact appears to send the model a prompt to summarize the current session, and then Claude Code reuses that summary as the first prompt in a fresh session. The thread frames this as compaction by another name and asks whether everyone already knew this or whether it is less obvious than it seems.

Original post →

More from coding & agent

coding & agent channel →