NEW Workflows: agents follow the steps, you sign off. Read more →
Ulpi

ModelScout

PLUGIN

Per-task model choice from the models you actually have, so light work stops spending frontier-model tokens and subscription usage limits last longer.

by iknowterry · v0.3.11

What it does

Per-task model choice from the models you actually have, so light work stops spending frontier-model tokens and subscription usage limits last longer. A pre_llm_call hook shows a short card for each new task (tier, best-fit model from your keys, subscriptions and live models.dev pricing, and why), then routes the work to a right-sized delegate_task child, up or down tier, asks, or stays, per your defaults.

Bundles the modelscout skill and a /modelscout command for settings and a measured savings report. Disclosure — reads and writes ~/.claude/modelscout-profile.json (settings shared with ModelScout on other agents), appends routed-child outcomes (tier, model, status; no goal text) to ~/.claude/modelscout-outcomes.jsonl, and reads the model inventory and catalog JSON beside it plus Ulpi's own models_dev_cache.json; it opens Ulpi state.db read-only to look up a routed child's model and for the savings report, which also reads Claude Code transcripts read-only.

A pre_llm_call hook adds routing instructions to each new task's prompt and can steer work into delegated subagents. The bundled skill's optional discover-models.sh, run through the terminal tool, reads provider API-key env vars (and only checks whether Azure, Bedrock or Vertex credentials are present, without reading or using them), sends each only to its own provider's list-models endpoint and fetches the public models.dev catalog.

How to set it up

  1. On Claude Code, Codex, Gemini CLI and Grok Build (not Ulpi), hooks/session_start.py runs scripts/catalog.py in a detached process to fetch the public models.dev catalog weekly, sending no keys or user data ( disables it).

    modelscout: catalog off
  2. Typing (in any host, Ulpi included) writes Grok Build's rules file ~/.grok/rules/modelscout.md (or under GROK_HOME) and reads ~/.grok/config.toml for custom model names; later ModelScout settings commands rewrite that file only if Mod

    modelscout: grok setup

Review notes

What an owner reads and accepts before the install is approved.

  • Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

More in Models

All listings →