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
- Resin lets an agent build standalone LLM inference engines; vLLM and SGLang optimize DeepSeek kernels differently — AccBalanced · 2026-10-27
- How I let my cloud Grok Bot code on my Mac mini via Tailscale, no public ports — talkaboutdesign · 2026-10-27
- Context layout is a cost decision: one memory edit can bust your entire agent prompt cache — dscape · 2026-10-27
- Alchemy adds effect/Workflow support across Durable Objects, Workflows and Lambda Durable Functions — samgoodwin89 · 2026-10-27
- Alchemy's Lambda Web Functions run plain Node web servers on Lambda, no OpenNext needed — samgoodwin89 · 2026-10-27
- Alchemy makes all ~2,850 AWS bindings work from any cloud, not just S3/Lambda/DynamoDB — samgoodwin89 · 2026-10-27