
This gets Claude to help you build with Vercel's AI SDK, whether you're implementing generateText, streamText, or setting up tool calling agents. It knows how to search the bundled docs in node_modules for versions 6.0.34 and up, or hit the ai-sdk.dev API for older installs. Covers the core SDK plus provider-specific packages like OpenAI and Anthropic. Honestly most useful when you're stuck on provider options or trying to figure out streaming patterns, since it can grep through both docs and source. Saves you from context switching to browser tabs when you just want to know how a function works.
$ npx -y skills add pedronauck/skills --skill ai-sdk --agent claude-codeInstalls into .claude/skills of the current project.
The AI SDK by Vercel (the ai package on npm) is a TypeScript toolkit for building AI applications. It provides a unified API across model providers for text generation, structured output, tool calling, agents, embeddings, and framework UI integrations.
Whatever you remember about the AI SDK is likely outdated. The SDK changes frequently across versions - APIs are renamed, removed, and added. Your training data almost certainly contains obsolete APIs, deprecated patterns, and model IDs that no longer exist. UI hooks like useChat are among the most frequently changed APIs, so be especially careful with client code.
Never write AI SDK code from memory. Always verify every API, option, and pattern against the documentation and source code for the version that is actually installed in the project.
The ai package ships its full documentation and source code inside node_modules. These always match the installed version, so trust them over anything you remember.
Sponsors