/spend-guardrails:spend-guardrailsfrom spend-guardrails
Choose the lowest-cost available AI model that can reliably complete a task, verify current model availability and pricing before naming exact IDs, avoid deprecated or retired models, pin models for recurring work, and define evidence-based escalation triggers. Use when selecting Anthropic Claude or OpenAI models, reviewing model spend, designing mixed-model agent workflows, assigning subagents, or migrating work away from an old model.
Ships in spend-guardrails. 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.
Choose the lowest capability tier that reliably holds the work. Move down for bounded mechanical volume. Move up only for a named capability need or a failed evaluation.
Before returning an exact model ID, availability claim, or price:
For Anthropic, begin with the official models overview, pricing guide, and model deprecations. For OpenAI, begin with the official models catalog, model guidance, and deprecations.
Treat embedded model knowledge as a hint, never the source of truth. If current official sources are unavailable, recommend a capability tier without an exact ID or price and say that live verification was unavailable. Never guess.
Use these provider-neutral tiers after verifying which current models fill them:
| Tier | Start here for |
|---|---|
| Economy | Classification, extraction, formatting, bulk sweeps, simple QA, and bounded work with cheap deterministic verification |
| Balanced | The default for coding, analysis, documents, integrations, research, and most tool-using agents |
| Premium | Complex agentic coding, architecture, large refactors, difficult synthesis, and long autonomous work |
| Maximum | The hardest long-running or deeply ambiguous work, only when the provider offers a higher tier and the capability is demonstrably necessary |
Current dated examples belong in the release evaluations, not in this decision rule. Providers do not need to expose the same number of tiers.
Before changing tiers, tune the current model's effort when that control is available. Effort is often a cheaper lever than a model upgrade.
For work that needs a premium planning pass but routine execution:
Do not leave subagents or scheduled tasks on an inherited model by accident. Pin the chosen model in their configuration. Never leave recurring work on a premium or maximum model without a written reason.
Valid escalation signals include:
Do not escalate because the work is visible, urgent, executive-facing, or described as strategic. Those facts change review rigor, not model capability.
When live verification succeeds, return:
Model: <verified model id>
Provider and surface: <where this ID is available>
Why: <one sentence tied to the task>
Why not cheaper: <the specific capability or failed check>
Escalate if: <observable trigger>
Lifecycle: <active, or migration note if reviewing an existing deprecated pin>
Cost note: <only when volume, context, caching, or recurring runs matter>
Verified: <date and official source links>
When live verification fails, replace Model with Capability tier, omit exact
pricing, and say that an exact ID must be checked before pinning it.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub sarahcallmesmadds/infra-plugins --plugin spend-guardrails