vercel-ai-sdk

vercel-ai-sdk is a skill for Claude Code from SrulyRosenblat/skill-cards. It costs 87 tokens per session (8,358 once invoked), scanned A, original, no licence file.

A guide to using Vercel AI SDK version 5 to build AI features. It covers text generation, streamed responses, chat interfaces, tool calls, embeddings, and MCP integration.

In plain words
What is it for?
Use it when building AI chats, streaming output, tool or function calling, text embeddings, or MCP connections.
Why use it?
It gives implementation guidance for common AI application tasks without requiring you to work out each pattern from scratch.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when building AI chats, streaming output, tool or function calling, text embeddings, or MCP connections.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/srulyrosenblat/skill-cards/vercel-ai-sdk
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SrulyRosenblat/skill-cards --skill vercel-ai-sdk
Clone the repo
git clone --depth 1 https://github.com/SrulyRosenblat/skill-cards

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vercel-ai-sdk

README.md
[![agentmods](https://agentmods.dev/badge/skills/srulyrosenblat/skill-cards/vercel-ai-sdk/github.svg)](https://agentmods.dev/skills/srulyrosenblat/skill-cards/vercel-ai-sdk)
Your own site
<a href="https://agentmods.dev/skills/srulyrosenblat/skill-cards/vercel-ai-sdk"><img src="https://agentmods.dev/badge/skills/srulyrosenblat/skill-cards/vercel-ai-sdk/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vercel-ai-sdk

Your own site · 80×15
<a href="https://agentmods.dev/skills/srulyrosenblat/skill-cards/vercel-ai-sdk"><img src="https://agentmods.dev/badge/skills/srulyrosenblat/skill-cards/vercel-ai-sdk.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,358 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.08358
Opus 5 $0.00044 $0.04179
Sonnet 5 $0.00017 $0.01672
Haiku 4.5 $0.00009 $0.00836

Measured 10d ago against content hash ac83c06c36dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

vercel-ai-sdk scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/nextjs-marketplace-claude-nextjs-skills/source/vercel-ai-sdk/SKILL.md · 1,171 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 1,171 lines · 87 tokens per session scan A ac83c06c36dd

Subscribe to this mod's changes

vercel-ai-sdk is a skill published in the GitHub repository SrulyRosenblat/skill-cards (2 stars, last pushed 2mo ago), with no licence file. It adds 87 tokens to every session and 8,358 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

claude-api-in-prototypes

Call Claude from your HTML artifacts via window.claude.complete.

asgeirtj/system_prompts_leaks · 19 tokens

core

Core package for defining schemas, catalogs, and AI prompt generation for json-render. Use when working with @json-render/core, defining schemas, creating catalogs, or building JSON specs for UI/video generation.

vercel-labs/json-render · 42 tokens

langchain

Framework for building LLM-powered applications with agents, chains, and RAG. Supports multiple providers (OpenAI, Anthropic, Google), 500+ integrations, ReAct agents, tool calling, memory management, and vector store retrieval. Use for building chatbots, question-answering systems, autonomous agents, or RAG…

davila7/claude-code-templates · 79 tokens

playwright

Playwright E2E testing patterns. Trigger: When writing Playwright E2E tests (Page Object Model, selectors, MCP exploration workflow). For Prowler-specific UI conventions under ui/tests, also use prowler-test-ui.

prowler-cloud/prowler · 50 tokens

thinking-orbs

Add accessible animated AI loading and agent-status indicators with the React thinking-orbs library. Use when a chat, copilot, voice, search, generation, or tool-running interface needs a semantic working, searching, solving, listening, composing, or shaping state; when replacing a generic spinner with an AI activity…

MengTo/Skills · 88 tokens

globe-gl

Use when implementing globe.gl (Globe.GL) for 3D globe data visualization with WebGL/ThreeJS, including setup, data layers (points, arcs, polygons, labels), and integration patterns in plain HTML or React.

MengTo/Skills · 51 tokens