All shelves / Mods / Usage
cmd-diet
By VedantAndhale
cmd-diet is a Claude Code usage mod by VedantAndhale.
Adds quiet flags to noisy shell commands before they run, so Claude reads the short output, and counts the quieted commands on the status line.
Draws
Install
The marketplace name is claude-pro-kit.
/plugin marketplace add VedantAndhale/claude-pro-kit /plugin install cmd-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.1.0
- License
- MIT
- Repo stars
- 10
- Last change
- 2026-10-08
What it can reach
- Draws in the session
- Sees tool calls
Before a Bash or PowerShell command runs, a known noisy command gets its own quiet flags: git status, pytest, cargo, npm install, curl, mvn, wget, and docker pull. Errors, test failures, and warnings stay. Each step of a chain is handled on its own. A step that pipes, redirects, or substitutes is left alone, and so is a command that already sets its output level. If a tool rejects a flag, that rule stops for the session and the retry runs as typed. The status line counts them. The author measured one headless run, git status and pytest on 41 test files with one failure, at 41,535 tokens without it and 40,571 with it, by the API's usage.
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 cmd-diet makes none. The plugin folder has no README. These lines are the repository README. output-diet trims what Claude reads from a long shell, search, or subagent result, saves the full text, and counts the savings on the status line. This one adds the quiet flags before the command runs, so the short output is what gets printed.
Demo

What it hooks into
tool.callAround a tool call, where it can hold one
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/cmd-diet
- Version
- 0.1.0
- License
- MIT
- Repo stars
- 10
- Last change
- 2026-10-08
- Language
- TypeScript
- Files
- 5