{"version":1,"type":"story","url":"https://digestai.news/story/anthropic-recommends-compact-to-reduce-claude-code-usage","json":"https://digestai.news/story/anthropic-recommends-compact-to-reduce-claude-code-usage.json","markdown":"https://digestai.news/story/anthropic-recommends-compact-to-reduce-claude-code-usage.md","slug":"anthropic-recommends-compact-to-reduce-claude-code-usage","headline":"Anthropic recommends /compact to reduce Claude Code usage","summary":"Claude Code, Anthropic’s terminal‑based coding assistant, tracks usage through a /usage command that shows a progress bar and breakdown on Pro, Max, and Ultra monthly plans. The tool rereads the entire conversation for each reply, so long sessions can quickly consume the weekly limit, especially when cache expires after one hour. Running /compact before a break or at natural stopping points summarizes the conversation while the cache is still warm, keeping limit consumption low, whereas /clear starts a fresh task without using any limit.\n\nMitsuhashi‑san’s logs from November 27 illustrate the issue: a three‑hour session reached 18% of the weekly limit, with 99% of that cost coming from cache reads. A single call read roughly 510,000‑560,000 tokens; after applying /compact, read usage dropped to about 120,000 tokens. The article also explains that /autocompact settings are saved per model and that sending /compact and /autocompact together can cause the second command to be ignored.\n\nFor users who switch devices, usage numbers may appear smaller because only local records are counted. The guide advises using /clear for new tasks, /compact for continuing long ones, and /rewind for lighter rollbacks, helping developers manage their Claude Code limits effectively.","keyPoints":["/usage shows a progress bar and breakdown on monthly Claude Code plans","Running /compact before a break keeps limit consumption low while cache is warm","/clear starts a new task and does not consume any usage limit"],"whyItMatters":"Understanding Claude Code’s usage model lets developers avoid unexpected limit exhaustion, ensuring smoother workflows and cost‑effective use of Anthropic’s coding assistant.","category":{"slug":"agents","name":"Agents & Tools","url":"https://digestai.news/category/agents"},"entities":{"companies":["Anthropic"],"models":[],"people":["Mitsuhashi-san"]},"firstPublishedAt":"2026-11-28T04:00:00Z","updatedAt":"2026-11-28T04:00:00Z","sourceCount":3,"hasPrimarySource":false,"sources":[{"outlet":"note.com","title":"How to Check Claude Code Usage and Limits: Run /compact Before Taking a Break","url":"https://note.com/s_kashiwakura/n/ndad5aa735a0b?hl=en","publishedAt":"2026-11-28T04:00:00Z","type":"press","primary":false,"lead":true},{"outlet":"note.com","title":"[AI Tips from an Active Engineer] If You Want to Reduce Token Consumption with Claude Code or Codex, Combine \"Skills + Scripting\"","url":"https://note.com/ren_webstep/n/n2e44e3ac8679?hl=en","publishedAt":"2026-11-28T01:30:00Z","type":"press","primary":false,"lead":false},{"outlet":"note.com","title":"Delegate 10x More Work to Claude Code While Staying on the Pro Plan","url":"https://note.com/burusupu/n/ne016c5630d8b?hl=en","publishedAt":"2026-11-28T00:07:00Z","type":"press","primary":false,"lead":false}],"sourceNotes":null,"discussions":[],"thread":null,"cite":{"text":"Digest AI, \"Anthropic recommends /compact to reduce Claude Code usage\", 28 November 2026, https://digestai.news/story/anthropic-recommends-compact-to-reduce-claude-code-usage","publisher":"Digest AI","title":"Anthropic recommends /compact to reduce Claude Code usage","datePublished":"2026-11-28T04:00:00Z","url":"https://digestai.news/story/anthropic-recommends-compact-to-reduce-claude-code-usage"},"generatedBy":"Written by Digest AI's editorial model from the linked sources; the sources are the record.","license":"Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse"}