ClaudeCodeMod

All shelves / Mods / Usage

agent-diet

By VedantAndhale

agent-diet is a Claude Code usage mod by VedantAndhale.

Starts Explore subagents, and other agent types you list, on Haiku or a model you pick instead of the main model, and counts how many it moved.

Draws

Install

The marketplace name is claude-pro-kit.

In Claude Code
/plugin marketplace add VedantAndhale/claude-pro-kit
/plugin install agent-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.1.0
License
MIT
Repo stars
10
Last change
2026-10-08

What it can reach

  • Draws in the session
  • Sees tool calls

/agent-diet shows the setting and how many subagents it moved this session. model haiku, sonnet, or opus picks the model. add and remove change the list. off and on switch it. Answers are toasts, and the status line keeps the count. Explore is the default type. A model named in the Agent call is kept, and a fork stays on its parent's model. Other types keep their usual model until you add them.

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 agent-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 a file path. This one leaves that output alone and starts the listed agent types on Haiku.

Demo

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

What it hooks into

  • session.startWhen a session starts
  • agent.spawnWhen a subagent starts
  • command.runWhen you run its slash command/agent-diet

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /agent-dietAgent diet: /agent-diet shows it · on|off · model haiku|sonnet|opus · add|remove <agent type>

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/agent-diet
Version
0.1.0
License
MIT
Repo stars
10
Last change
2026-10-08
Language
TypeScript
Files
5

Other mods in Usage

budget-guardVedantAndhaleKeeps a prompt from being sent while the 5-hour or weekly usage is at or over your limit, until you send it again, and shows the limit with /budget.context-xrayVedantAndhaleDraws a pane with the exact breakdown of what fills the context window, opened with /xray.output-dietVedantAndhaleTrims what Claude reads from a long shell, search, or subagent result, saves the full text, and counts the savings on the status line.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.
All 183 in Usage