Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

ai-sdk-model-managerAI SDK model manager 搜索

Agent Skill

ai-sdk-model-manager 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

582

周安装

25

GitHub Stars

11,131

下载量

204
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ai-sdk-model-manager(AI SDK model manager 搜索)
来源仓库:https://github.com/tambo-ai/tambo
仓库路径:skills/ai-sdk-model-manager
安装命令:
npx skills add https://github.com/tambo-ai/tambo --skill ai-sdk-model-manager
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/tambo-ai/tambo --skill ai-sdk-model-manager

简介

ai-sdk-model-manager 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词或任务场景快速定位候选结果时使用。

  • 它帮助维护 Tambo Cloud 代码库中的 AI SDK 模型配置,自动更新 provider 包并识别新增模型。
  • 可检查 @ai-sdk/openai、@ai-sdk/google 等包的版本,收集新模型的上下文窗口和定价信息。
  • 安装命令为 npx skills add https://github.com/tambo-ai/tambo --skill ai-sdk-model-manager,需确认权限范围和维护状态。
  • 使用前建议检查是否会触发联网、命令执行或文件读写操作,并参考原始 README 核验具体用法。

SKILL.md

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

  1. Updates AI SDK Packages - Checks and updates @ai-sdk/openai, @ai-sdk/google, @ai-sdk/groq, and other provider packages to their latest versions
  2. Identifies Missing Models - Compares TypeScript definitions in the SDKs against configured models to find newly available models
  3. Researches Models - Gathers information about new models including capabilities, context windows, pricing, and use cases
  4. Prompts User - Asks which models to add before making changes
  5. Adds Models - Updates model configuration files with proper TypeScript types and metadata
  6. 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 files
  • packages/backend/package.json - AI SDK dependencies (source of truth for versions)
  • docs/content/docs/models/*.mdx - Model documentation
  • README.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.ts
  • packages/core/src/llms/models/gemini.ts
  • packages/core/src/llms/models/groq.ts
  • packages/core/src/llms/models/anthropic.ts
  • packages/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 SDK
  • displayName: Human-friendly name
  • status: "untested" | "tested" | "known-issues"
  • notes: Brief description of capabilities and use cases
  • docLink: Official provider documentation URL
  • tamboDocLink: "https://docs.tambo.co"
  • inputTokenLimit: Context window size in tokens
  • modelSpecificParams: 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:

  1. README.md - Update the "Supported LLM Providers" section if new providers or significant models were added
  2. **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 notes field
  • If a model is renamed in the SDK, update both the key and apiName, and consider adding a deprecation note to the old entry

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.33%
按下载量换算74

Claude

29.86%
按下载量换算61

Cursor

20.21%
按下载量换算41

Gemini CLI

9.66%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills