Agent skill · developer-tools · vercel

ai-sdk agent skill by vercel

Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat".

Source and license

Publishervercel
Repositoryvercel/ai
LicenseApache-2.0
Snapshot2026-10-22
Last repository commit2026-10-16
Instruction size768 words; 73 lines
Bundled files1

Read the publisher’s SKILL.md

Suede Skill Check: 70/100 · C

Report snapshot · · graded-v2

The rubric totals 100 points; published scores are capped at 99. Security scan: not scanned.

Source revision: fce9210c6405. Report version 199c2f3ce08d. Badge URLs follow the latest listing; save the report to keep this version.

Download report · Request a fresh review

What to review next

  • Structural checks: 48 of 56 points. 8 points for each of the seven graded checks.
  • Boundary clause: 0 of 4 points. 4 when the description says when not to use the skill (“Not for …”, “Do not use …”, “Use … instead”).
  • Reference files: 0 of 3 points. 3 when the skill folder ships a references/, reference/ or docs/ folder.

Add declarations and bundled files when they describe the skill’s actual needs. Update the source, then request a fresh review with the changed commit or PR.

ComponentPoints earnedAvailable
Structural checks4856
Description length35
Boundary clause04
Example request33
Instruction depth77
Reference files03
Bundled scripts02
Recent maintenance99
Curated-list citations07
Tool permissions declared02
Compatibility declared02

The published score is capped at 99. It measures the published files, documentation and maintenance signals. Security scan: not scanned. This assessment does not include a runtime test or a full installation-dependency review.

Install ai-sdk

The skills CLI works with Claude Code, Codex, Cursor and other agents; the other routes copy the folder by hand.

Skills CLI
npx skills add https://github.com/vercel/ai/tree/main/skills/use-ai-sdk
Claude Code, project-level copy
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/vercel/ai.git "$tmp/repo"
mkdir -p .claude/skills
cp -R "$tmp/repo/"skills/use-ai-sdk .claude/skills/
rm -rf "$tmp"
Codex, project-level copy
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/vercel/ai.git "$tmp/repo"
mkdir -p .agents/skills
cp -R "$tmp/repo/"skills/use-ai-sdk .agents/skills/
rm -rf "$tmp"

For a user-level install, copy the folder to ~/.claude/skills/ (Claude Code) or ~/.agents/skills/ (Codex). Inside Codex, $skill-installer can also fetch a skill from GitHub. New to skills? Read How to install agent skills in Claude Code, Codex and Cursor.

vercel/ai is third-party code. Read SKILL.md and any bundled scripts before you install it.

Show the listing and raise the score

ai-sdk is listed with 70/100 · C. This badge links to its Suede AI listing. Skills scoring 80–99 add a numeric and a letter quality shield; the largest open points for ai-sdk are structural checks (8), boundary clause (4) and reference files (3). Send your repository and the points you want to raise, then request a fresh review after updating the skill. Publishers: read How to get your agent skill found in search and cited by AI assistants.

Suede AI Skills Directory: listed

Markdown
[![Suede AI Skills Directory: listed](https://suedeai.directory/badge.svg)](https://suedeai.directory/vercel/ai/ai-sdk/)
HTML
<a href="https://suedeai.directory/vercel/ai/ai-sdk/"><img src="https://suedeai.directory/badge.svg" alt="Suede AI Skills Directory: listed" height="20"></a>

Compare skills for this task

Browse developer-tools skills or compare scores side by side.