From 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.
4 events · 5 calls
Ships in tool-diet. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.calltool.describeEach event it registers a hook on, with the matcher when it sets one
session.starttool.describetool.callcommand.run{command=tool-diet}Every mods API method its source calls, by namespace
registergetsetstatustoastWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.ts (written ./register.ts)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub vedantandhale/claude-pro-kit --plugin tool-diet