/model-right-sizer:model-right-sizer-research-reportfrom model-right-sizer
Synthesizes tuning/validation research results into a self-contained HTML executive report with charts, key findings, limitations, and reproducibility appendix. Loads dataviz and artifact-design skills. Use for summarizing research findings for leadership.
Ships in model-right-sizer. 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.
This plugin's research trail is large and scattered across many dated
files (16+ results files under eval/tuning/results/, two under
eval/ablation/results/, two DESIGN.md narratives, and the source
modules those files report on) — accurate, but not something an executive
reads end to end. This skill's whole job is the compression: read
everything, extract only what's load-bearing, and produce one short,
chart-backed report that states real findings — including the rejected
and null ones — without re-litigating the full narrative.
This is a synthesis skill, not a research skill. It does not run new experiments, dispatch sub-agents, or generate new data — it reports on data that already exists in this repo. If a finding isn't traceable to a specific already-committed file, it doesn't belong in the report.
dataviz before writing a single chart. Its six-check color
validator, form heuristic, and mark specs are not optional polish —
run the palette validator before shipping any chart this skill
produces.artifact-design before writing the HTML file. Calibrate how
much design investment an executive research report warrants (this is
a real deliverable with an audience, not a throwaway) before writing
markup.../../eval/ablation/DESIGN.md +
everything under ../../eval/ablation/results/../../eval/tuning/DESIGN.md +
everything under ../../eval/tuning/results/ (glob it — new files
are added faster than this list can be hand-maintained)../../eval/token_ceiling_formula.py,
../../eval/tuning/knobs.py,
../../eval/tuning/weight_optimizer.py,
../../eval/tuning/overfitting_guard.py
— the source-of-truth constants/verdicts behind the write-ups
(CALIBRATION_STATUS, ADDITIVE_CALIBRATION_STATUS, HOLDOUT_TASKS,
each signal's tested/untested status){name, date, question asked, headline metric before → after, verdict (adopted / rejected / promising-not-proven / structural finding), source file}. This ledger is the report's spine — every
sentence in the sections below should trace back to a row in it. Do
not proceed to writing charts or prose from memory of what a file
"probably said" — pull the exact numbers.eval/ablation/)dispatch_floor_awareness's climb from
level 0 to 3 against real actuals, level 4 and 5's rejection, and the
single-draw-noise correction (0.333 → the true 0.167) that reset how
the whole program measures anything after it.token_ceiling_formula.py pivot — from free-hand integers to
rated signals; the averaged model's PROVEN capacity ceiling (≤16.7%,
provable before training, confirmed by a gradient-checked run); the
additive model's structural fix (94.4%) and the single-scalar
overfitting check that caught it; ADDITIVE_CALIBRATION_STATUS's
honest UNVALIDATED label.validation_loop_iterations
(tested, rejected: dilutes), context_ingestion_volume (tested,
rejected: dilutes, confirmed on genuinely blind data),
investigative_uncertainty (promising, not yet proven — the one
candidate whose combined-sum correlation improved), and the
contamination catch itself (self-authored "blind" draws in a context
already holding the answer produced a fabricated-looking r=0.989,
caught and discarded before it reached a weight).{finding, evidence, verdict} —
scannable in under a minute. Include structural findings (the
capacity-ceiling proof), adopted changes (the additive formula), AND
rejected candidates (both failed signals, both rejected knob levels)
with equal visual weight — a rejected/negative finding is not a
lesser row.ADDITIVE_TOTAL_SPAN's UNVALIDATED status; opus
and haiku tiers' calibration is placeholder-only (scaled by floor
ratio, not independently measured); the self-authored-draw
contamination risk this program already found once and is now
actively guarding against, not something to claim is fully solved.model-right-sizer-holdout-tuning; a second held-out-task check for
investigative_uncertainty via model-right-sizer-signal-validation;
etc.) — not vague "continue researching" language.model-right-sizer-layer-ablation,
model-right-sizer-prompt-tuning, model-right-sizer-holdout-tuning,
model-right-sizer-signal-validation) and, in one line each, what
it re-runs and what ground truth it needs.dataviz's form heuristic for each (a headline number some of
these deserve a stat tile, not a chart) and run the palette validator
before finalizing.results/*.md files are the place for full derivations; this report
links to them (href to a repo path, or name the exact filename) — it
does not restate them.artifact-design),
with a <title>, an accurate description, and a stable favicon. If
the audience needs a static file instead of a link (e.g. for an email
attachment or a printed leave-behind), offer to also produce a PDF or
DOCX version via the pdf/docx skills from the same findings
ledger — but the HTML artifact is the default, since it's the only
format that renders the figures as real, inspectable charts rather
than flattened images.UNVALIDATED calibration status get the same prominence as an
adopted change. This report exists to inform a decision, not to make
the research program look finished.model-right-sizer-layer-ablation,
model-right-sizer-prompt-tuning,
model-right-sizer-holdout-tuning,
model-right-sizer-signal-validation
— the four companion skills that can re-run a piece of this research;
this skill's reproducibility appendix points to all four.../../eval/tuning/DESIGN.md and
../../eval/ablation/DESIGN.md — the
two narrative logs this report condenses.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub cloudzero/cloudzero-claude-marketplace --plugin model-right-sizer11 skills in this plugin
/model-right-sizer-auditOne-shot, PER-CALL-SITE audit of a repo's EXISTING LLM calls — every place code invokes a model (an SDK/API call, a sub-agent dispatch, an agent frontmatter definition), decomposed by INTENT into the distinct jobs it does, never a grep hit on a model name and never one candidate per file. A skill pinned by one static `model:` key still gets its steps split by intent when severable under Claude Code's per-turn model binding. DELEGATES each call to `model-right-sizer-dryrun` (never re-implements its scoring) and merges results into ONE schema-conformant JSON blueprint committed at the TARGET REPO'S ROOT via a PR — never a markdown table. Distinct from `model-right-sizer-dryrun` (invoke directly for one hypothetical task) and `model-right-sizer-install` (the standing before/after mandate). Use when someone says "audit this repo's model calls", "right-size the models in <repo> per call site", "find every LLM call and right-size it", or "commit a model right-sizing blueprint for <repo>"./model-right-sizer-budget-guardThe while-work-is-in-flight companion to `model-right-sizer-dryrun`: once `work_routing_map[]` is real and being dispatched as sub-agents, the runbook for keeping two things honest — the status ledger (`status`/`status_updated_at`/`status_note` per row, flipped at every real transition) and the token-budget guard (checking real spend against `budget.token_ceiling`; once `budget_threshold.py`'s `threshold_crossed()` trips at `warning_threshold_pct`, sending `format_budget_warning()`'s string into that unit's next turn). Checks at turn boundaries with whatever usage the dispatch mechanism reports — never a fabricated live ticker. Only applies to rows actually dispatched, never design-time-only `blueprint_rows[]`, and never replaces Pass B's usage report. Use when someone says "dispatch the work-routing map", "run the budget guard while units are in flight", "update the status ledger for unit X", or "did unit X cross its warning threshold"./model-right-sizer-dryrunPreview the model-routing MAP for an intent without building anything. You give it a free-text INTENT — "build a CLI that…", "add a feature that…", "refactor X into Y" — and it invokes the `model-right-sizer` agent in BLUEPRINT-ONLY mode: decompose the work, score each piece, and emit a single schema-conformant JSON blueprint (task→model→effort→budget→ schema→confidence, per `schemas/blueprint.schema.json`), then STOP. No build, no file edits, no after-the-fact usage report — it is the what-would-this-cost / how-would-this-route preview lever, safe to run against any idea, and the JSON it returns is what an orchestrator parses to route dispatch. Read-only. Use when someone says "dry-run the right-sizer on …", "what's the map for …", "how would you route …", or "show me the blueprint for … before I build it"./model-right-sizer-holdout-tuningTune model-right-sizer's wording knobs (`eval/tuning/knobs.py`) against a REAL, already-measured build's actual token spend — not the synthetic benchmark `model-right-sizer-prompt-tuning` searches, nor a fresh build per candidate. Picks a task from `overfitting_guard.py`'s `HOLDOUT_TASKS` registry (real actual/budgeted pairs already recorded), dispatches 3 INDEPENDENT BLIND dry-runs per candidate (no calibration-ledger access), averages the budget across draws (single-draw noise can flip within/over-budget calls), maps to real actuals, scores via `classify_budget_adherence` + `score_candidate`, diagnoses the miss pattern, proposes ONE wording change, and re-runs to check improvement. n stays fixed per task — flags rather than silently continues once squeezing looks like overfitting. Use when someone says "tune the knobs against this blueprint/build", "iterate the dry run with no prior context against the real actuals", "keep tuning until N%", or "how close does a blind estimate get to the actual cost"./model-right-sizer-installStamp a model-right-sizer mandate onto the CURRENT repo's agent-instructions file — `CLAUDE.md`, `AGENTS.md`, or both, whichever the repo has. Idempotent and append-only: an existing file is never overwritten, only the marker-delimited mandate block is inserted or refreshed. The mandate's "before" hook runs `model-right-sizer-dryrun` to produce a schema-conformant JSON blueprint for the orchestrator to route by. Also checks whether the `model-right-sizer` agent and `model-right-sizer-dryrun` skill are discoverable and, if either is missing, installs the `model-right-sizer` Claude Code plugin to fix that (falling back to manual instructions otherwise). Deliberately narrow and organization-agnostic — installs only the right-sizing mandate (plus its own dependencies, if absent), not any broader development process. Use when someone says "install model-right-sizer in this repo", "init this repo for model-right-sizer", "add the right-sizer mandate here", or "make this repo consult model-right-sizer every turn"./model-right-sizer-layer-ablationEmpirically measure what each of model-right-sizer's four research-grounded citation layers (Token Economics, IBPO, BudgetThinker, Speculative Decoding) actually does to its blueprints — instead of trusting the citations alone. Renders layer-ablated variants (any of the 16 layer subsets), runs a fixed six-task benchmark through each variant's Pass A blueprint, and for a scoped subset actually executes the recommended build and scores whether real effort stayed within the predicted budget (wrapping `classify_budget_adherence`). Reports each layer's effect in ISOLATION vs. a zero-layer baseline, and every COMBINATION across the full 16-subset grid, so synergy or redundancy is visible, not assumed away. Read-mostly: writes only a scratch directory and a final report, never `agents/model-right-sizer.md`. Use when someone says "does the Token Economics layer actually change anything", "ablate the research layers", "run the layer-ablation study", or "audit model-right-sizer's citations empirically".Other plugins' skills for the same job