Repository navigation
Releases: drkokorev/context-diet
Releases · drkokorev/context-diet
Release list
Context Diet 0.3.0
- /diet capture on: test and build commands save their whole output to .context-diet/run-NN.log before Claude Code can shorten a failing one, so the digest has every failure and the summary. Same command, same shell, same exit code; off by default because the command text changes
- A Bash call's own output is kept for the digest when Claude Code shortened what the model would see
- Commands are grouped by the tool itself (pytest, jest, go test), past launchers like python -m, npx and uv run, so one tool's re-reads don't slow the digest of another
- /diet report names outputs digested whole instead of Claude Code's shortened version
Context Diet 0.1.0
First public release of Context Diet, a Claude Code mod that trims huge tool outputs before they fill Claude's context.
- Logs and test runs: every error with context, each distinct warning once, the summary
- Tables and CSV: header plus exact first and last rows, never folded
- JSON: the structure with every key; diffs: lockfiles reduced to counts; grep and file lists grouped
- Very long outputs Claude Code saves to a file get a digest of the whole file instead of its first 2 KB
- The full output is always saved, one Read away. /diet panel, status line, # diet:off per command
Tested on 7 tasks with and without the mod: same accuracy (7/7), 8 tool calls instead of 13.
Install:
/plugin marketplace add drkokorev/context-diet
/plugin install context-diet@context-diet