All shelves / Mods / Usage
output-diet
By VedantAndhale
output-diet is a Claude Code usage mod by VedantAndhale.
Trims what Claude reads from a long shell, search, or subagent result, saves the full text, and counts the savings on the status line.
Draws
Install
The marketplace name is claude-pro-kit.
/plugin marketplace add VedantAndhale/claude-pro-kit /plugin install output-diet@claude-pro-kit
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.2.0
- License
- MIT
- Repo stars
- 10
- Last change
- 2026-10-08
What it can reach
- Draws in the session
- Sees tool calls
When a shell or PowerShell result runs past 120 lines or 8,000 characters, Claude's copy keeps the head, the error lines, and the tail. You still see the full output in the transcript. The full text is written first, and nothing is trimmed if that write fails. It goes in the session's tool-results folder, or under ~/.claude/output-diet/ when that folder cannot be found. A Grep result past the same limits keeps its first 100 lines. Glob is left alone. A subagent report past 8,000 characters keeps its first 6,000 and last 2,000. The status line counts how many results were trimmed and how many characters stayed out of Claude's copy. The README does not say how to delete the saved files.
One plugin from VedantAndhale/claude-pro-kit. The root README says prompt-polish is the only mod in that kit that makes a model call, and output-diet makes none. The plugin folder has no README. These lines are the repository README. context-diet replaces a huge tool output with a short digest and opens a panel with /diet. This one trims what Claude reads, leaves the transcript as it was, and saves the full text beside the session.
Demo

What it hooks into
session.appendWhen an entry is written to the transcript
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- VedantAndhale
- Category
- Usage
- Marketplace
- claude-pro-kit
- Folder
- plugins/output-diet
- Version
- 0.2.0
- License
- MIT
- Repo stars
- 10
- Last change
- 2026-10-08
- Language
- TypeScript
- Files
- 6

