tool-diet

Reviewed at commit 707eabd

Moves tools you have not used lately behind ToolSearch, so their descriptions stop riding along on every request; core tools and anything you used in your…

Made by
Vedant Andhale
What we checked

Marks tools you have not used in your last five sessions as on-demand, so Claude loads them through ToolSearch instead of sending every description with each request; core tools stay loaded. It remembers which tool names you used in each session, shows a count on the status line, and makes no network calls and reads no files.

Review details

Static review of the source at the pinned commit; not run. Hooks: session.start (increments a session counter in $.store, registers /tool-diet), tool.describe (returns isDeferred true for a tool that is not core, not kept, not used in the last five sessions and not already deferred or explicitly kept by another plugin), tool.call (records the tool name and session number only, never the input) and command.run for /tool-diet (keep, unkeep, on, off, status toast). Stored data is the session count, a map of tool name to last-used session, a keep list and an off flag. Changes apply from the next session. No fetch, no $.process, no $.fs, no environment access, no model calls. It changes how tools are listed, not what a call does.

What it uses
  • Reads your prompts: no
  • Sees tool calls: yes
  • Blocks or changes tool calls: no
  • 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 tool-diet

Moves tools you have not used lately behind ToolSearch, so their descriptions stop riding along on every request; core tools and anything you used in your last five sessions stay loaded.

Made this mod? Add a badge to your README

modsforClaude badge for tool-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/tool-diet.svg)](https://modsforclaude.com/mods/tool-diet/)

← All mods