Vercel AI SDK in Claude Code: Audit an Exact Provider Model ID Change
This Vercel AI SDK maintainer workflow finds where a provider model ID is registered and checks related gateway, examples, and docs for a targeted update.
中文Setup for Claude Code
Claude Code and the pinned Vercel AI SDK monorepo. The example is a local review of synthetic IDs and needs no provider credentials.
- Copy skills/update-provider-models into .claude/skills/update-provider-models/ in the AI SDK checkout.
- Open Claude Code at that checkout and state the exact provider, model ID, and whether it is being added or retired.
- Invoke /update-provider-models and ask the agent to trace affected call sites before drafting any edits.
Example task
In a synthetic fixture, put example-chat-1 and example-chat-1-mini into a provider union and gateway mapping. Ask to plan removing only example-chat-1, preserving the mini model.Expected result
The proposed change touches exact matches only, leaves example-chat-1-mini intact, and lists the provider, gateway, docs, and example locations reviewed.
Upstream documentation
Original SKILL.md on GitHub · Apache-2.0 license · Source reviewed
Frequently asked question
Does this skill update my application's model selection?
Its target is the AI SDK monorepo's provider and gateway registrations. Application settings are a separate concern.