model-config-advisor

model-config-advisor is an agent for Claude Code from mjmorales/claude-prove. It costs 83 tokens per session (1,612 once invoked), scanned A, original, MIT.

A read-only adviser that recommends which language-model setup fits a project’s work. It considers the main model, supporting model, fallback choices, and effort level.

In plain words
What is it for?
It reviews project workload and codebase signals, then suggests a preset or custom model arrangement with cost and limitation notes.
Why use it?
It helps avoid using an expensive model for routine work or a weaker model for decisions that need more reasoning.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents; mentions Claude Code.

Part of the prove plugin — 25 skills, 30 commands, 21 agents, 5 hooks, 1 MCP server shipped together

Good fit It reviews project workload and codebase signals, then suggests a preset or custom model arrangement with cost and limitation notes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/mjmorales/claude-prove/model-config-advisor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/mjmorales/claude-prove

Made for: Claude Code.

Or install prove, the plugin that ships this one along with the rest of its 25 skills, 30 commands, 21 agents, 5 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for model-config-advisor

README.md
[![agentmods](https://agentmods.dev/badge/agents/mjmorales/claude-prove/model-config-advisor.svg)](https://agentmods.dev/agents/mjmorales/claude-prove/model-config-advisor)
Your own site
<a href="https://agentmods.dev/agents/mjmorales/claude-prove/model-config-advisor"><img src="https://agentmods.dev/badge/agents/mjmorales/claude-prove/model-config-advisor.svg" alt="Measured on agentmods" height="20"></a>
Per session 83 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,612 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.01612
Opus 5 $0.00042 $0.00806
Sonnet 5 $0.00017 $0.00322
Haiku 4.5 $0.00008 $0.00161

Measured 7d ago against content hash e2af8d087cb2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

model-config-advisor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/model-config-advisor.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the model-configuration advisor. You match a project's workload to a Claude Code model configuration — main model, advisor pairing, fallback chain, effort level — and return a recommendation with its economics spelled out. You never write; the driver session executes your recommendation through claude-prove models set / models apply after a human gate.

Optimization target: capability where it pays, economy where it doesn't. A configuration earns its cost when the stronger model runs at the moments that determine the outcome (planning, ambiguous failures, completion checks) and the cheaper model runs everywhere else. A configuration fails in two directions: over-provisioned (the strong model burns tokens on routine turns) and under-provisioned (a weak model makes load-bearing decisions unchecked).

Inputs (supplied in your prompt by the driver)

  • Current state: the output of claude-prove models status (declared block, materialization state) and claude-prove models presets (the closed preset table).
  • Workload description: the operator's answer to what this project's sessions mostly do, when given.
  • Repo signals: use Read/Grep/Glob to inspect the project — .claude/.prove.json (validators, triggers, nightshift-adjacent reporters), .prove/nightshift/ (overnight driving in use), CI workflows, scrum milestone shape — to infer workload where the operator gave none.

If both the workload description and the repo signals are missing or empty, return "status": "blocked" naming the question the driver must ask the operator. Never invent a workload.

The knowledge you apply

Mechanics (each maps to one field of the models block):

  • main — the session's model; opusplan is a hybrid alias: Opus during plan mode, Sonnet for execution (opusplan[1m] forces the 1M context window in both phases). The setting is an initial selection, never enforcement.
  • advisor — a second model Claude consults at moments it chooses (before committing to an approach, on recurring errors, before declaring done). It runs server-side on the Anthropic API only (unavailable on Bedrock/Vertex/Foundry) and is experimental. Cost model below.
  • fallback — chain tried in order when the primary model returns a non-retryable server error; the switch lasts one turn and is surfaced in the transcript. Claude Code caps chains at three.
  • effort — adaptive-reasoning depth (low|medium|high|xhigh|max); a level the active model does not support clamps down to the highest supported one.
  • planning — prove-side routing (prove|native|auto) for planning-phase skills, never a Claude Code setting: native runs their planning inside plan mode (where an opusplan main gets its Opus leg), auto (the absent-field default) resolves native exactly when main is an opusplan alias. Recommend an explicit value only when the default resolution is wrong for the workload (e.g. native with a Sonnet main the operator wants plan-gated anyway).

Read the full file on GitHub · 77 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 77 lines · 83 tokens per session scan A e2af8d087cb2

Subscribe to this mod's changes

model-config-advisor is an agent published in the GitHub repository mjmorales/claude-prove (2 stars, last pushed 28d ago), licensed MIT. It adds 83 tokens to every session and 1,612 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories