claudecodemods.dev

All mods / hy4hy/context-diet

context-diet

CAUTION

★ 14 by drkokorev Repository ↗ Mod source ↗

Context & compaction

Description

Trims huge tool outputs (logs, JSON, diffs, grep, file lists) before they reach Claude's context, and saves the full text to a file Claude can read

What it can do

Reach level 2 — writes or runs What does this mean? →

writes filesreads filesreads mod statepersists statedraws

Can see: every tool call

Raw API calls (15) +
  • $.clock.now
  • $.command.register
  • $.fs.exists
  • $.fs.read
  • $.fs.write
  • $.session.cwd
  • $.state.get
  • $.state.set
  • $.store.get
  • $.store.set
  • $.ui.invalidate
  • $.ui.open
  • $.ui.resolve
  • $.ui.status
  • $.ui.toast

Static check passed on Claude Code 2.1.333.

Install

$/plugin marketplace add hy4hy/context-diet
$/plugin install context-diet

Check the repo for the exact name.

Details

Repository
hy4hy/context-diet
Path in repo
plugins/context-diet
License
MIT
Last updated
Oct 11, 2026
First seen
Dec 2, 2026
Last scanned
Dec 6, 2026

Related mods — reach level 2

Capability data is machine-generated by static analysis and may be incomplete. A SAFE badge is not a guarantee — read the code before installing anything with broad access. Not affiliated with Anthropic.

Found a mistake in this listing or verdict? Report an issue →