Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

output-dev-upgrade-prompt-models

Skill by growthxai

Bulk-upgrades the model field in .prompt files to the latest stable model in each prompt's existing provider and family. Built for Output SDK projects with drifted or aged model IDs. It never changes provider or tier.

  • Score 74
  • 445 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install output-dev-upgrade-prompt-models

Built from the published package, never by AI.

git clone --depth 1 https://github.com/growthxai/output /tmp/output && mkdir -p ~/.claude/skills && cp -r /tmp/output/coding_assistants/claude/plugins/outputai/skills/output-dev-upgrade-prompt-models ~/.claude/skills/output-dev-upgrade-prompt-models

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install output-dev-upgrade-prompt-models in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill bulk-upgrades the model field in .prompt files to the latest stable model within each prompt's existing family. By default it scans the project's src tree, or a scoped subtree, and classifies each model into a provider and family bucket such as anthropic-sonnet or openai-mini. It then finds the latest stable entry in the same bucket using the output-dev-model-selection snapshot and rewrites the model line.

The skill never changes provider or tier, so a Haiku stays a Haiku and an Anthropic model stays Anthropic. It prints a per-file diff and waits for user confirmation before writing, and defaults to dry-run in non-interactive contexts. It also updates a dated 'current as of' comment and rebuilds the worker. It is intended for developers using the Output SDK who need to refresh drifted or aged model IDs.

Written from the project's SKILL.md and checked against it.

What it can do

  • Discover prompt filesFinds every .prompt file under the target scope, defaulting to the project's src tree.
  • Classify model familyMatches each model to a provider and family bucket such as anthropic-opus or google-flash.
  • Look up latest in familyFinds the latest stable model in the same family using the output-dev-model-selection snapshot.
  • Diff and confirmPrints a per-file report of current and latest models and waits for confirmation before writing.
  • Edit frontmatter onlyReplaces the model line and refreshes the dated comment, leaving the message body and other settings untouched.
  • Verify after batchSpot-checks files for frontmatter and body, then rebuilds the worker so new model strings take effect.

What you need

  • curl and jq for the snapshot fetch
  • npm to run the output:worker:build step
  • Output SDK project with .prompt files

Try asking

  • Upgrade all my prompt models to the latest version in their family
  • Do a dry-run of model upgrades for the src/workflows/foo prompts
  • Check my .prompt files for drifted sonnet-4 model IDs and show the diff

Good to know

  • Within-family only. It never swaps provider or moves between tiers.
  • Models with @vertex or bedrock namespace suffixes need manual upgrade.
  • If the snapshot fetch fails, the run aborts instead of reporting no upgrades needed.
  • Models that match no known pattern are skipped with a warning.

Security check

B
  • Allowed to use Bash, Edit without limitsIn SKILL.md

Checked automatically: coding_assistants/claude/plugins/outputai/skills/output-dev-upgrade-prompt-models/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: BashReadEditGlob

  • SKILL.md6 KB

Alternatives to output-dev-upgrade-prompt-models

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

output-dev-upgrade-prompt-models: common questions

Does this skill switch a prompt from Sonnet to Opus?

No. The source says the skill never upgrades across tiers or providers. Those changes are left to manual edits or the output-dev-prompt-file skill.

What happens to a pinned dated model ID like claude-sonnet-4-20250514?

It is bumped to the unversioned alias, such as claude-sonnet-4-6. If the pin was needed for reproducibility, the source says to surface that and skip the file.

Are invalid model IDs caught at build time?

No. The source says the Output SDK does not validate prompt model IDs at build time, so invalid IDs only surface at the first run.

How do I install output-dev-upgrade-prompt-models?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is output-dev-upgrade-prompt-models free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is output-dev-upgrade-prompt-models safe to use?

It scores 74 of 100. Grades: maintenance A, licence A, quality B. Security check: grade B (allowed to use bash, edit without limits). Review the code before you install. How grades work.

What are alternatives to output-dev-upgrade-prompt-models?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

output-dev-upgrade-prompt-models Install

Add to stack

Loading.