ClaudeCodeMod

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.

In Claude Code
/plugin marketplace add VedantAndhale/claude-pro-kit
/plugin install output-diet@claude-pro-kit
Open the repo

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

The output-diet section on the author's GitHub page
Screenshot of the author's GitHub page.

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
Repo
VedantAndhale/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

Other mods in Usage

pro-hudVedantAndhaleDraws the 5-hour session, the week, and context above the prompt in the desktop app, plus this turn and finished tool calls as one line.session-receiptVedantAndhaleOpens a pane of every turn's tokens, with the five that spent the most, and toasts after a turn that used 3 or more session points.skill-dietVedantAndhaleLists skills unused lately in this project by name only, so their descriptions leave the prompt, and counts those characters on the status line.turn-budgetVedantAndhaleStops a turn that passes the limit you set, writes a handoff, and copies it for a new session, leaving the old one in place. It can ask first instead.context-lensArunjay4213Pins how full the context window is and what the last turn added, and /context-lens opens the breakdown by category.quota-meterArunjay4213Pins the 5-hour and 7-day plan limits when they are reported, with the reset and whether the current pace fills them first.token-ledgerArunjay4213Pins this session's cost and the last turn's tokens and cache hit, and /ledger lists each turn.mod-packaz9713Holds a commandSeven mods in one install: a context forecast, a cache countdown, a follow-up queue, a plain retell, two holds on risky commands, and Snake.taxi-meterdevbrother2024Draws this session's cost as a taxi fare, in won at API list price, with context fill and the plan limits.agent-routeralexandernicholsonHolds a commandAssigns a model and effort to each subagent role from your endpoint's catalog, and draws that model beside the prompt.keepalivealexandernicholsonDraws a prompt-cache bar for each conversation, and can keep an idle cache warm or compact it before it expires.hudhoobnnDraws model, context, and plan-usage gauges above the prompt, with git, the running tools, and a one-line task summary.
All 183 in Usage