ai-sdk SKILL.md skillA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

ai-sdk from vercel/ai is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add vercel/ai/ai-sdk@git:20261118.d256624

Pins git:20261118.d256624 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 19 of 19 checks passed
Kind
SKILL.md skill
Repository
vercel/ai
Path
skills/ai-sdk/SKILL.md
Versions recorded
1
Latest version
git:20261118.d256624, committed Nov 18, 2026
Size
5,839 bytes
Repository stars
28,116
License
a license file GitHub does not identify

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…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

## What the AI SDK Is

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.

- Repository: https://github.com/vercel/ai
- Documentation: https://ai-sdk.dev/docs

## Critical: Do Not Trust Your Own Memory

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.

## Use the Bundled, Version-Matched Docs

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.
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_isohwpfhyvkxygsh/6bc642319c4ecbf9fbd59cef783b02174d4bd663c010703a6a6b80bda855b32d.json

Then /plugin install ai-sdk@markdownregistry-isohwpfhyvkxygsh in Claude Code. It installs git:20261118.d256624, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add vercel/ai/ai-sdk@sha256:6bc642319c4ecbf9

The line at the top of this page pins the label git:20261118.d256624, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_isohwpfhyvkxygsh.svg)](https://markdownregistry.com/a/art_isohwpfhyvkxygsh)

1 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in vercel/ai/ai-sdk since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of ai-sdk from somewhere else? Ask it: where did my ai-sdk come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 1 version of this file, committed on Nov 18, 2026.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20261118.d256624 latest2026-11-18 d256624 5,839 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  19 of 19 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5839 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No encoded command decoded and run in a shell
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No decoded text run in a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

vercel/ai · 28,116 stars · license a license file GitHub does not identify · pushed 2026-11-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_isohwpfhyvkxygsh
GET https://markdownregistry.com/api/v1/resolve?ref=vercel/ai/ai-sdk
GET https://markdownregistry.com/api/v1/blob/6bc642319c4ecbf9fbd59cef783b02174d4bd663c010703a6a6b80bda855b32d
GET https://markdownregistry.com/api/v1/list?kind=skill

Every file of this kind listed here, most starred first, in pages: send each page's next back as cursor. JSON, no key.

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from vercel/ai

AGENTS.md AGENTS.md file
vercel/ai · AGENTS.md
git:20261119.2613bb4 · audit A · 28,116 stars
AGENTS.md@apps/docs AGENTS.md file
vercel/ai · apps/docs/AGENTS.md
git:20261117.8e07631 · audit A · 28,116 stars
CLAUDE.md@apps/docs CLAUDE.md file
vercel/ai · apps/docs/CLAUDE.md
git:20260910.e2dab22 · audit B · 28,116 stars
island-rescue SKILL.md skill
vercel/ai · examples/ai-e2e-next/data/island-rescue/SKILL.md · How to be rescued from a lonely island
git:20260220.0c56995 · audit A · 28,116 stars
island-rescue SKILL.md skill
vercel/ai · examples/ai-functions/data/island-rescue/SKILL.md · How to be rescued from a lonely island
git:20260218.ff12133 · audit A · 28,116 stars
AGENTS.md@packages/ai AGENTS.md file
vercel/ai · packages/ai/AGENTS.md
git:20260114.b3b5624 · audit A · 28,116 stars
migrate-ai-sdk-v6-to-v7 SKILL.md skill
vercel/ai · skills/migrate-ai-sdk-v6-to-v7/SKILL.md · Migrate applications from AI SDK 6.x to AI SDK 7.0. Use when upgrading Vercel AI SDK packages, fixing v7 migration…
git:20260621.2e69782 · audit A · 28,116 stars

Every file in vercel/ai

Other files named ai-sdk

ai-sdk SKILL.md skill
openai/plugins · plugins/vercel/skills/ai-sdk/SKILL.md · Vercel AI SDK expert guidance. Use when building AI-powered features — chat interfaces, text generation, structured…
git:20260826.33bd952 · audit A · 8,225 stars
ai-sdk SKILL.md skill
mweinbach/agent-coworker · .agents/skills/ai-sdk/SKILL.md · Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK…
git:20260905.cfba839 · audit A · 157 stars
ai-sdk SKILL.md skill
fractera/web4-node-starter-kit · .claude/skills/ai-sdk/SKILL.md · Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK…
git:20260918.284f588 · audit A · 69 stars
ai-sdk SKILL.md skill
cgoinglove/thursday-agent · .agents/skills/ai-sdk/SKILL.md · Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK…
git:20260923.81754d9 · audit A · 58 stars
ai-sdk SKILL.md skill
cgoinglove/thursday · .agents/skills/ai-sdk/SKILL.md · Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK…
git:20260923.81754d9 · audit A · 58 stars
ai-sdk SKILL.md skill
j-star-films-studios/vibecode-protocol-suite · assets/.agent/skills/ai-sdk/SKILL.md · Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK…
git:20260205.301a32a · audit A · 27 stars
ai-sdk SKILL.md skill
barbieri/local-openfinance · .agents/skills/ai-sdk/SKILL.md · Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK…
git:20261005.32edae5 · audit A · 24 stars
ai-sdk SKILL.md skill
kissgyorgy/coding-agents · skills/ai-sdk/SKILL.md · Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK…
git:20260525.6d5a71d · audit A · 15 stars

Browse by kind, by grade A, or by owner.