ai-sdk-model-manager
It updates AI SDK provider packages and project documentation by identifying and researching new model metadata.
Install
mkdir -p .claude/skills/ai-sdk-model-manager && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/6800" && unzip -o skill.zip -d .claude/skills/ai-sdk-model-manager && rm skill.zipInstalls to .claude/skills/ai-sdk-model-manager
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Manages AI SDK model configurations - updates packages, identifies missing models, adds new models with research, and updates documentationKey capabilities
- →Automatically install latest SDK provider versions
- →Diff local configuration against SDK package exports
- →Synthesize new model metadata and pricing
- →Update TypeScript definitions and project READMEs
How it works
Queries npm for version updates, parses SDK source files to identify undocumented models, and prompts for confirmation before editing source code.
Inputs & outputs
When to use ai-sdk-model-manager
- →Update OpenAI/Anthropic model definitions
- →Sync SDK dependencies in package.json
- →Generate documentation for newly added models
About this skill
AI SDK Model Manager
This skill helps maintain AI SDK model configurations in the Tambo Cloud codebase. It automates the process of keeping model definitions up-to-date with the latest AI SDK releases.
What This Skill Does
- Updates AI SDK Packages - Checks and updates @ai-sdk/openai, @ai-sdk/google, @ai-sdk/groq, and other provider packages to their latest versions
- Identifies Missing Models - Compares TypeScript definitions in the SDKs against configured models to find newly available models
- Researches Models - Gathers information about new models including capabilities, context windows, pricing, and use cases
- Prompts User - Asks which models to add before making changes
- Adds Models - Updates model configuration files with proper TypeScript types and metadata
- Updates Documentation - Updates relevant docs and README files to reflect new model availability
When to Use This Skill
Use this skill when:
- You want to check if AI SDK packages need updating
- New models have been released by OpenAI, Google, Anthropic, or other providers
- You're getting TypeScript errors about model IDs not being in SDK types
- You want to ensure Tambo supports the latest models
Files This Skill Works With
packages/core/src/llms/models/*.ts- Model configuration filespackages/backend/package.json- AI SDK dependencies (source of truth for versions)docs/content/docs/models/*.mdx- Model documentationREADME.md- Main documentation file
Process
Step 1: Update AI SDK Packages
Check current versions and update to latest:
cd packages/backend
npm outdated | grep '@ai-sdk'
npm install @ai-sdk/openai@latest @ai-sdk/google@latest @ai-sdk/groq@latest @ai-sdk/anthropic@latest @ai-sdk/mistral@latest
Step 2: Identify Missing Models
For each provider, inspect the TypeScript definitions:
# Check what models are in the SDK types
cat node_modules/@ai-sdk/openai/dist/index.d.ts | grep 'type.*ModelId'
cat node_modules/@ai-sdk/google/dist/index.d.ts | grep 'type.*ModelId'
cat node_modules/@ai-sdk/groq/dist/index.d.ts | grep 'type.*ModelId'
Compare against current model configurations in:
packages/core/src/llms/models/openai.tspackages/core/src/llms/models/gemini.tspackages/core/src/llms/models/groq.tspackages/core/src/llms/models/anthropic.tspackages/core/src/llms/models/mistral.ts
Step 3: Research New Models
Use the researcher subagent to gather information about each missing model:
Launch a researcher subagent to find:
- Official documentation link
- Model capabilities (reasoning, vision, function calling, etc.)
- Context window size (inputTokenLimit)
- Pricing tier
- Best use cases
- Release date and status (experimental, stable, deprecated)
The researcher subagent has access to web search and can efficiently gather this information for multiple models in parallel.
Step 4: Prompt User
Present findings:
Found the following new models in updated AI SDK packages:
OpenAI:
- gpt-6-preview (200k context, experimental reasoning model)
- gpt-4.2-turbo (1M context, improved function calling)
Google:
- gemini-3.5-pro (2M context, advanced reasoning)
Which models would you like to add? (all/none/specific)
Wait for user response before proceeding.
Step 5: Add Selected Models
Consider launching parallel subagents to add models to each provider file:
For models spread across multiple providers (OpenAI, Google, Groq), launch separate subagents to edit each file concurrently. This is faster than doing them sequentially.
For each model being added, ensure these required fields:
apiName: Exact model ID string from SDKdisplayName: Human-friendly namestatus: "untested" | "tested" | "known-issues"notes: Brief description of capabilities and use casesdocLink: Official provider documentation URLtamboDocLink: "https://docs.tambo.co"inputTokenLimit: Context window size in tokensmodelSpecificParams: Any special parameters (reasoning, thinking, etc.)
Follow existing patterns in each file and ensure model IDs match SDK type definitions exactly.
Example:
"gpt-6-preview": {
apiName: "gpt-6-preview",
displayName: "gpt-6-preview",
status: "untested",
notes: "Experimental next-generation reasoning model with extended context",
docLink: "https://platform.openai.com/docs/models/gpt-6-preview",
tamboDocLink: "https://docs.tambo.co",
inputTokenLimit: 200000,
modelSpecificParams: reasoningParameters,
},
Step 6: Verify TypeScript
Run type checking to ensure all model IDs are valid:
cd packages/core
npm run check-types
If there are type errors, fix model IDs to match SDK definitions exactly.
Step 7: Update Documentation
Consider using subagents to update documentation in parallel:
If updating multiple documentation files, launch parallel subagents to handle:
- README.md - Update the "Supported LLM Providers" section if new providers or significant models were added
- docs/content/docs/models/*.mdx - Add new models to appropriate documentation pages with:
- Model name and description
- Key capabilities
- Context window
- Example use cases
- Links to provider docs
Step 8: Run Quality Checks
Before completing:
cd packages/core
npm run lint
npm run check-types
npm run test
Step 9: Create Pull Request
Create a PR with proper conventional commit format:
gh pr create --title "feat(models): add [model names] support" --body "$(cat <<'EOF'
Updated AI SDK packages and added support for newly released models:
Models added:
- [list models here]
Package updates:
- @ai-sdk/openai: X.X.X → X.X.X
- @ai-sdk/groq: X.X.X → X.X.X
All type checks passing, documentation updated.
EOF
)"
PR title format: feat(models): add [model names] support
Use feat(models): for new models or deps(core): for package updates only.
Guidelines
- Use subagents for efficiency - Launch researcher subagents for gathering information and parallel subagents for editing multiple files
- Always research before adding - Don't guess at model capabilities or context limits
- Match SDK types exactly - Model IDs must match the TypeScript definitions in node_modules
- Mark new models as "untested" - Let the team test before marking as "tested"
- Include official doc links - Always link to provider's official documentation
- Be conservative - Only add models the user explicitly approves
- Update docs comprehensively - Don't just update code, update all relevant documentation
Error Handling
If you encounter:
- Type errors after adding models - Double-check the model ID matches the SDK's TypeScript definition exactly
- Missing model in SDK - The provider may not have released it yet, suggest waiting for next SDK update
- Conflicting model names - Use the SDK's preferred naming convention
- Unknown context limits - Research provider docs or mark as "unknown" and note it needs verification
Notes
- This skill should be run periodically (monthly or when new models are announced)
- Always check the git diff before committing to ensure only intended changes were made
- Some models may have special requirements (API access, pricing tier, etc.) - note these in the model's
notesfield - If a model is renamed in the SDK, update both the key and apiName, and consider adding a deprecation note to the old entry
When not to use it
- →When using deprecated or non-standard AI providers
- →Manual configuration audits that require custom logic
Prerequisites
Limitations
- →Only supports specific AI-SDK providers
- →Relies on npm availability
- →Requires human validation for new model details
How it compares
Automates the manual bookkeeping of tracking provider API releases rather than just querying for information.
Compared to similar skills
ai-sdk-model-manager side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| ai-sdk-model-manager (this skill) | 1 | 4mo | Review | Intermediate |
| agent-implementer-sparc-coder | 1 | 6mo | Review | Intermediate |
| update-codemaps | 0 | 1mo | No flags | Intermediate |
| turborepo | 61 | 2mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by tambo-ai
View all by tambo-ai →You might also like
agent-implementer-sparc-coder
ruvnet
Agent skill for implementer-sparc-coder - invoke with $agent-implementer-sparc-coder
update-codemaps
chenqin231
扫描代码结构并更新架构文档映射
turborepo
vercel
Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI optimization, environment variables, internal packages, monorepo structure/best practices, and boundaries. Use when user: configures tasks/workflows/pipelines, creates packages, sets up monorepo, shares code between apps, runs changed/affected packages, debugs cache, or has apps/packages directories.
codex-skill
feiskyer
Use when user asks to leverage codex, gpt-5, or gpt-5.1 to implement something (usually implement a plan or feature designed by Claude). Provides non-interactive automation mode for hands-off task execution without approval prompts.
markdown-to-html
github
Convert Markdown files to HTML similar to `marked.js`, `pandoc`, `gomarkdown/markdown`, or similar tools; or writing custom script to convert markdown to html and/or working on web template systems like `jekyll/jekyll`, `gohugoio/hugo`, or similar web templating systems that utilize markdown documents, converting them to html. Use when asked to "convert markdown to html", "transform md to html", "render markdown", "generate html from markdown", or when working with .md files and/or web a templating system that converts markdown to HTML output. Supports CLI and Node.js workflows with GFM, CommonMark, and standard Markdown flavors.
run-nx-generator
nrwl
Run Nx generators with prioritization for workspace-plugin generators. Use this when generating code, scaffolding new features, or automating repetitive tasks in the monorepo.