Context Diet
github.com/drkokorev/context-diet- Category
- Developer Tools
- Rank
- No. 1830Tools index
Previous survey · No. 1729 ·
- Type
- TOOL
- Use case
- Coding
- Interfaces
- Host Plugin
- GitHub
- 14 stars
- Latest release
- v0.3.0
- Date
About
Context Diet is a Claude Code mod that rewrites tool results before they enter the conversation. It turns test, build and lint output into digests of failures and summaries, simplifies JSON, diffs and search results, and shows only changes on repeated commands, saving the full output to a file. This slows context growth, delaying compaction. The author reports equal accuracy with fewer tool calls on 7 Q&A tasks and an 18-run bug-fixing test.
At a glance
Context Diet shortens large Claude Code tool outputs before the model sees them and keeps the full text in a file. It is worth a trial if long test logs regularly crowd out useful context.
Good fit
Claude Code users who need failure details and summaries more often than they need every line.
Consider something else when
Keep full output in view when exact lines, complete records or ordering are central to the task.
Start here
Run the documented demo or use a synthetic test log with one failure near the end. Check whether the digest preserves the failure and points to the complete output.
Cost and requirements
The MIT-licensed mod documents Claude Code 2.1.287 or newer, with terminal and desktop support tested by the publisher on macOS.
Limits to know
A digest omits detail by design. Read the original before relying on a detail the digest leaves out, and treat saved logs as sensitive when commands can print secrets.
Sources checked 2026-11-05. Source-based assessment.
Tags
Media
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.