omgskills Get the Mac app
Skill

add-provider-package

@vercel-labs 26k stars Updated 2026-08-02 Author match: High

Guide for adding new AI provider packages to the AI SDK. Use when creating a new @ai-sdk/<provider> package to integrate an AI service into the SDK.

anthropicartificial-intelligencegeminigenerative-aigenerative-uijavascriptlanguage-modelllm

Install

Install this Claude and Codex skill with the command below. The command stays visible even when copy support is unavailable.

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

View on GitHub

From README

Adding a New Provider Package This guide covers the process of creating a new @ai-sdk/ package to integrate an AI service into the AI SDK. First-Party vs Third-Party Providers Third-party packages: Any provider can create a third-party package. We're happy to link to it from our documentation. First-party @ai-sdk/ packages: If you prefer a first-party package, please create an issue first to discuss. Reference Example See https://github.com/vercel/ai/pull/8136/files for a complete example of adding a new provider. Provider Architecture The AI SDK uses a layered provider architecture following the adapter pattern: Specifications (@ai-sdk/provider): Defines interfaces like LanguageModelV4, EmbeddingModelV4, etc.

More from this repo

More skills