ClaudeCodeMod

All shelves / Mods / Usage

subagent-tuner

By Kruhlikau

subagent-tuner is a Claude Code usage mod by Kruhlikau.

Picks each subagent's model and effort by asking you in a pane, from a recommendation for the task, or from your saved default, with a band above the prompt.

DrawsHolds a command

Install

The marketplace name is subagent-tuner.

In Claude Code
/plugin install subagent-tuner --marketplace Kruhlikau/subagent-tuner
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.7
License
MIT
Repo stars
2
Last change
2026-10-15

What it can reach

  • Draws in the session
  • Holds a command
  • Sees tool calls
  • Calls another program on this machine

Needs Claude Code 2.1.295 or later. Answer y to add the marketplace and pick the user scope; it starts working in that session. Other forms: /plugin marketplace add Kruhlikau/subagent-tuner, then /plugin install subagent-tuner@subagent-tuner, or claude plugin install subagent-tuner --marketplace Kruhlikau/subagent-tuner from a shell. Manual is the mode right after install, so every subagent launch asks first; the pane goes ahead with the shown pick after ten minutes without an answer. On a terminal narrower than 144 columns the question is a short chain of dialogs. Switch to Auto before you leave a session to run on its own. claude -p, SDK hosts, and forks are left alone, and in the VS Code extension it never asks. Tested on 2.1.295, 2.1.296, and 2.1.300 on macOS and on Windows 11.

The marketplace, subagent-tuner, holds this one plugin, listed from the repository. Choosing what each subagent runs on is why this page files it under usage. agent-router assigns a model and effort to each subagent role from your endpoint's catalog. switchboard picks the model for each subagent that names none and shows what each cost in /route. This one recommends Opus at high effort for review, audit, and security work, Sonnet at medium for building and fixing, and Haiku at low for search, and in Auto your saved default wins even over a model the agent set itself. A custom agent with no saved default is left to its own definition. It changes only the model and effort fields of Agent calls and makes no network calls.

Demo

The author's recording of a real session, captioned in three steps: in Manual mode the tuner asks before a general-purpose subagent runs, with Model opus, Effort high, Run, Run and save as default, and Cancel; then Auto with a saved default of sonnet / high; then the agent asks for opus, the default wins, and review the diff again runs on Sonnet 5.5 with effort high.
From the author's repo.

What it hooks into

  • agent.offerA Claude Code event
  • agent.spawnWhen a subagent starts
  • session.startWhen a session starts
  • tool.callAround a tool call, where it can hold oneAgent
  • ui.closeWhen its pane closes
  • ui.renderDraws into the sessionPaneAbovePrompt

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

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
Kruhlikau
Category
Usage
Marketplace
subagent-tuner
Repo
Kruhlikau/subagent-tuner
Version
0.1.7
License
MIT
Repo stars
2
Last change
2026-10-15
Language
TypeScript
Files
29

Other mods in Usage

cockpitdrkokorevHolds a commandOpens a panel beside the transcript with context, rate limits, cost, subagents, tool calls, changed files, and tests, and asks before rm -rf or a force push.cache-refresherolddonkeyDraws a bar above the prompt with the time until the prompt cache expires and what a rebuild would cost, and can refresh the cache while you are away.context-alertnathanonnOpens a question dialog when the context window reaches 40 percent, offering to write a handoff doc and then compact, write one only, or compact now.stintdigital-stoic-orgDraws a band above the prompt with context fill, plan headroom, and the stint count, and /pit saves notes, clears, and starts the fresh context from them.orca-movemutlumehmetMoves a session to a twin account as one nears its usage limit: it runs /exit once the prompt box is empty, or shows a toast asking you to clear it.model-relaycablateOpens a panel above the prompt to switch this window to another model provider, routes subagents to providers, and fails over when Claude returns a 429.rtk-gainrtk-aiDraws what RTK saves while Claude works: a band above the prompt, the saving in the spinner, and a /rtk-gain pane where a viking breaks the saved tokens.tokendoctorrsaryevShows where your Claude Code tokens went, audits your settings with 33 checks, and changes a setting only after a dialog shows the change and you press Apply.catnapLippIncHas Claude compact at a clean break: from 50% of the context it asks Claude to finish the piece it is on, write a handoff, and compact, then carry on by itself.pitwallaxlaserDraws live cost, cache, and limits above the prompt and in a side panel, with a card per subagent you can stop, and fourteen themes that repaint Claude Code.jev-routerdominicricoAsks TypeSafe's Jev which Claude model and effort fit each prompt, step, and subagent, runs it there, and draws every pick in a band above the prompt.usage-statsomeerdvrnOpens a /usage-stats pane of this machine's Claude Code tokens over 7 days, 30 days, or all time, by day, project, and model, with Linear issues closed.
All 183 in Usage