ai-sdk

Vercel's skill for the AI SDK, published in the SDK's own repo: read the docs bundled in node_modules for the installed version, never write the API from memory.

Score 90(?)VerifiedCodeby VercelSourceDocs
Verified for:

Install

$ npx skills add vercel/ai --skill ai-sdk -a claude-code

Safety review

Reviewed on by reading the skill’s files. Nothing was executed.

Bundled scripts
No
Network access
Yes
allowed-tools
None declared

A single SKILL.md, no scripts. Tells the agent to install the ai package with the project's package manager when it is missing and shows a curl to the public AI Gateway model list; using the Gateway needs AI_GATEWAY_API_KEY.

Best for

Building agents, chat and RAG features in TypeScript with the AI SDK. The SDK renames APIs between majors, and this skill makes the agent read the version-matched docs and source that ship inside the ai package instead of guessing.

Not ideal for

Python stacks or code that calls one model vendor's SDK directly. For the Claude API itself, use Anthropic's claude-api skill.

About this skill

Answer questions about the AI SDK and help build AI-powered features: generateText, streamText, ToolLoopAgent, embeddings, tools, structured output, providers, and React hooks like useChat. Triggers on "AI SDK", "Vercel AI SDK", "add AI to my app", "build an agent", "tool calling", "structured output".

AI SDKAgentsTypeScript

Score breakdown

Score breakdown

rubric 1.1
Install count
12.2/15
Provenance
12.8/15
GitHub stars
10.1/12
Recency
8.5/10
Compatibility
10/10
Documentation depth
8/8
Install ergonomics
10/10
License
5/5
Verification freshness
5/5
Safety review
9/10

Composite 0–100 score derived from 10 verifiable signals. See the rubric →

Composio's own skill for 1,000+ external apps: the CLI for direct actions, the SDK and Tool Router for multi-user agents with per-user OAuth.

ComposioOAuthTool RouterSaaS
Code
Medium5 min

Build new skills interactively. Output is a clean SKILL.md ready to publish.

AuthoringSKILL.md
All surfaces
Low1 min

Ranked #1 in AI Agent Tooling

Publish the ranking in your README. The badge reads the live score, so it updates when the ranking does.

ai-sdk — ranked #1 in AI Agent Tooling on Top Agent Skills
Markdown
[![ai-sdk — ranked #1 in AI Agent Tooling on Top Agent Skills](https://top-agent-skills.com/badge/ai-sdk.svg)](https://top-agent-skills.com/skill/ai-sdk)
HTML
<a href="https://top-agent-skills.com/skill/ai-sdk"><img src="https://top-agent-skills.com/badge/ai-sdk.svg" alt="ai-sdk — ranked #1 in AI Agent Tooling on Top Agent Skills"></a>

Editorial picks

ai-sdk appears in

Skill FAQ

About ai-sdk

What is the ai-sdk skill?

Answer questions about the AI SDK and help build AI-powered features: generateText, streamText, ToolLoopAgent, embeddings, tools, structured output, providers, and React hooks like useChat. Triggers on "AI SDK", "Vercel AI SDK", "add AI to my app", "build an agent", "tool calling", "structured output".

Which agents does ai-sdk work with?

Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity IDE.

How do I install ai-sdk?

Run npx skills add vercel/ai --skill ai-sdk -a claude-code for Claude Code. See the install panel for per-agent commands.

Is ai-sdk free to use?

Yes — ai-sdk is open source (Apache-2.0).

Who maintains ai-sdk?

ai-sdk is published by Vercel and was last updated on 2026-09-22.

What is ai-sdk best for?

Building agents, chat and RAG features in TypeScript with the AI SDK. The SDK renames APIs between majors, and this skill makes the agent read the version-matched docs and source that ship inside the ai package instead of guessing.