agent-diet

Reviewed at commit 09205ab

Runs search-only subagents (Explore by default) on Haiku instead of your main model; a model Claude asks for still wins, and /agent-diet picks the types and…

Made by
Vedant Andhale
What we checked

Starts search-only subagents such as Explore on Haiku instead of your main model, unless Claude asks for a specific model. A /agent-diet command switches it on or off, changes the model, and adds or removes agent types. It reads nothing, makes no network calls and stores only its settings.

Review details

Static review of the source at the pinned commit; not run. Hooks: session.start (loads saved settings from $.store, registers the /agent-diet command), agent.spawn (when on, the spawn has no model set, is not a fork and the subagent type is in the list, it passes the spawn on with the configured model: haiku, sonnet or opus; shows a status line count of redirected subagents), command.run for agent-diet (parses on, off, model, add, remove and answers with a toast). It only changes the model field of the spawn, and a model Claude names itself is kept. Uses $.store.get/set, $.ui.status and $.ui.toast; no files, processes, network or model calls. All code was in the bundle; no npm dependencies.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: yes
  • Reads or writes files: no
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: yes
Hooked events
Screenshot of agent-diet

Runs search-only subagents (Explore by default) on Haiku instead of your main model; a model Claude asks for still wins, and /agent-diet picks the types and the model.

Made this mod? Add a badge to your README

modsforClaude badge for agent-diet

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/agent-diet.svg)](https://modsforclaude.com/mods/agent-diet/)

← All mods