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.
More from coding & agent
- Anthropic-linked researchers detail SharedRoot, a sandbox escape that can expose a host filesystem — EdenEmarco177 · 2026-07-24
- Developer Reflection: AI Writing Code Frees Up Time for Bigger Thinking — cto_junior · 2026-07-24
- User says Codex botched a cryptography task and replaced a Merkle tree with comparisons — chaumian · 2026-07-24
- Firecrawl becomes an official Replit connector with search, scrape, and interact — devdigest · 2026-07-24
- Neon says an agent built a working git host with clone, push and JWT auth — cramforce · 2026-07-24
- Quoted claim says Anthropic and Stanford built a six-agent engineering team that saves $1.6M a year — theomitsa · 2026-07-24