/ronny:tool-budget-auditfrom Ronny's MCode Stack
Audits tool definition and result context consumption for agents with many tools or MCP servers. Helps decide whether to trim, add tool search, or use programmatic tool calling.
Ships in Ronny's MCode Stack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Tools cost context in two ways, plus one side effect:
Tool search mainly saves the first cost. Programmatic tool calling (the model writes a small program that calls tools) mainly saves the second.
Companion to MCode Engineering Notes 02, "Too many tools will eat your
context". Plain-text checklist: checklists/tool-budget.md.
Work from the target project's code and real requests, not from guesses:
Report the numbers you measured. If you cannot measure something, say so instead of estimating.
Consider it when there are many tools and most are rarely used.
Consider it when there is a lot of data to filter or aggregate, three or more dependent calls, or batch operations that could run in parallel.
| Bottleneck | First move |
|---|---|
| Too many or too similar tools | Subtract, merge, rename, group |
| Definitions take too much context | Tool search |
| Results take too much context, too many round trips | Programmatic tool calling |
| Arguments often wrong | Better descriptions and examples |
The steps stack. A clean catalog makes tool search work; working tool search
makes programmatic calling work. Run an end-to-end eval before and after each
step and look at score, request count and tokens together
(see harness-experiment).
A short report: measured numbers, the main bottleneck, the recommended next step with concrete tool names, and what to measure afterwards.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub minimax-ai/mcode-stack --plugin ronny19 skills in this plugin
/agent-briefWrite the brief before handing a non-trivial task to an agent or subagent, covering stakes, your own hypothesis, goal and scope in your words, what "verified" will mean, and whether the agent is thinking with you or for you. Use before starting a MiniMax Code session, spawning a subagent, or delegating a PR, analysis or doc./context-tax-auditInventory everything an agent injects into each request besides the user's message, such as system prompt, environment info, skill list, tool definitions, per-turn context blocks and reminders, and check necessity, frequency, precision, position and prompt-cache impact. Use when reviewing an agent's prompt assembly, chasing low cache hit rates, or trimming per-turn overhead./engineering-change-descriptionsUse when writing, rewriting, or reviewing PR/CL descriptions, commit messages, or code-change summaries that explain what changed and why. TRIGGER on "write PR description", "improve this commit message", "summarize this diff", "CL description", "change description", or "make this PR/CL description easier to review". DO NOT TRIGGER for code review, PR splitting, code restructuring, user-facing changelogs, or reviewer replies unless the requested output is a change description./engineering-code-reviewUse when reviewing code, pull requests, patches, CLs, diffs, or proposed implementations for engineering quality, code health, design, functionality, tests, maintainability, specialist risk, or approval risk. TRIGGER on "review this PR", "code review", "LGTM?", "approve?", "is this code/diff/change safe to merge/deploy?", and local diff reviews. DO NOT TRIGGER for PR descriptions, PR splitting, author review-feedback responses, or non-code safety questions unless code review is requested./engineering-emergency-changesUse when a code hotfix, rollback alternative, production/security/legal fix, launch blocker, or hard external deadline claims expedited review or relaxed process. TRIGGER on "emergency change", "hotfix", "prod incident", "major security hole", "must ship today", "hard deadline", "bypass review", or "fast-track this PR" for qualification only. DO NOT TRIGGER for ordinary urgency, soft deadlines, Friday timing, manager pressure, time-zone delay, or review unless emergency status is disputed./engineering-review-commentsUse when drafting, rewriting, classifying, or improving code review comments as a reviewer. TRIGGER on rough review notes, requests to make comments clearer or kinder, severity labels, "how should I phrase this review comment?", "write review comments", author pushback, or turning findings into PR comments. If role is unclear, ask reviewer or author. DO NOT TRIGGER for full code review, PR descriptions, or author responses unless wording is requested.Other plugins' skills for the same job