{"$schema":"https://top-agent-skills.com/schemas/skill.v1.json","name":"ai-sdk","slug":"ai-sdk","canonical":"https://top-agent-skills.com/skill/ai-sdk","description":"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\".","tagline":"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.","bestFor":"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.","notIdealFor":"Python stacks or code that calls one model vendor's SDK directly. For the Claude API itself, use Anthropic's claude-api skill.","publisher":{"name":"Vercel","url":"https://ai-sdk.dev","tier":"verified-org"},"license":"Apache-2.0","isOpenSource":true,"surfaces":["claude-code"],"compatibility":["claude-code","cursor","codex","gemini-cli","antigravity"],"capabilityLevel":"read-write","setup":{"time":"1 min","complexity":"Low"},"install":[{"agent":"claude-code","command":"npx skills add vercel/ai --skill ai-sdk -a claude-code","manual":null,"followUp":null},{"agent":"cursor","command":"npx skills add vercel/ai --skill ai-sdk -a cursor","manual":null,"followUp":null},{"agent":"codex","command":"npx skills add vercel/ai --skill ai-sdk -a codex","manual":null,"followUp":null},{"agent":"gemini-cli","command":"npx skills add vercel/ai --skill ai-sdk -a gemini-cli","manual":null,"followUp":null},{"agent":"antigravity","command":"npx skills add vercel/ai --skill ai-sdk -a antigravity","manual":null,"followUp":null}],"distribution":"standalone","safety":{"status":"reviewed","reviewedAt":"2026-11-12","bundledScripts":false,"networkAccess":true,"allowedTools":[],"notes":"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."},"taxonomy":{"primaryCategories":["ai-ml-agent-tooling"],"verticalCategories":["engineering"],"tags":["AI SDK","Agents","TypeScript"],"filters":["verified-org","open-source","one-command-install","read-write","agent-friendly","high-install-count","recently-updated","works-with-claude-code","works-with-cursor","works-with-codex","works-with-gemini-cli","works-with-antigravity"]},"links":{"github":"https://github.com/vercel/ai/tree/main/skills/use-ai-sdk","docs":"https://ai-sdk.dev/docs","website":null},"_meta":{"score":{"value":90,"rubric":"1.1","inputs":{"installCount":12.2,"provenance":12.8,"githubStars":10.1,"recency":8.5,"compatibility":10,"documentation":8,"installErgonomics":10,"license":5,"verification":5,"safety":9}},"stats":{"installCount":72500,"githubStars":27894,"lastUpdated":"2026-09-22","verifiedAt":"2026-11-12"}}}