Download for MacApple silicon, macOS 14+
Skill

add-provider-package

@vercel Updated 2026-10-22

Guide for adding first-party AI provider packages to the AI SDK. Use when creating a provider package under packages/ to integrate an external AI service.

anthropicartificial-intelligencegeminigenerative-aigenerative-uijavascriptlanguage-modelllm

Install

With your agent

Install OMGSkills skill "vercel/ai:add-provider-package" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/vercel/ai /tmp/ai && ln -s /tmp/ai/skills/add-provider-package ~/.claude/skills/add-provider-package

From README

Add a Provider Package Add a complete first-party @ai-sdk/ package that follows the current provider interfaces, repository conventions, security requirements, and release process. Read the Current Sources of Truth Before implementing anything, read: Add new provider for current package and release requirements Provider development notes for naming, schemas, and workflow serialization Provider architecture for the provider abstraction Secure URL handling when the provider fetches polling, image, audio, video, or other URLs Use PR #18595 as a recent end-to-end example, but choose the current provider package whose API shape and model types most closely resemble the new provider as the implementation reference. Third parties can publish provider packages outside this repository. A new first-party @ai-sdk/ package requires prior discussion in an issue. Confirm that agreement exists before implementing the package.