vercel-ai-sdk-expert

vercel-ai-sdk-expert is a skill for Cursor from roedyrustam/vibes-plug. It costs 76 tokens per session (5,803 once invoked), scanned A, original, MIT.

A guide to building web interfaces that use the Vercel AI SDK, including chat, streamed responses, structured data, and tool calls. Streaming displays an answer as it arrives instead of waiting for the whole response.

In plain words
What is it for?
Use it to add chat, streamed text or objects, attachments, model-provider switching, tool execution, and generated interface elements to a web app.
Why use it?
It helps connect AI models to React and Next.js interfaces without separately implementing common response, provider, and multi-step interaction handling.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

Part of the vibes-plug plugin — 176 skills, 9 agents, 2 MCP servers shipped together

Good fit Use it to add chat, streamed text or objects, attachments, model-provider switching, tool execution, and generated interface elements to a web app.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roedyrustam/vibes-plug/vercel-ai-sdk-expert
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 roedyrustam/vibes-plug --skill vercel-ai-sdk-expert
Clone the repo
git clone --depth 1 https://github.com/roedyrustam/vibes-plug

Made for: Cursor.

Or install vibes-plug, the plugin that ships this one along with the rest of its 176 skills, 9 agents, 2 MCP servers.

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-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/vercel-ai-sdk-expert/github.svg)](https://agentmods.dev/skills/roedyrustam/vibes-plug/vercel-ai-sdk-expert)
Your own site
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/vercel-ai-sdk-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/vercel-ai-sdk-expert/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-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/vercel-ai-sdk-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/vercel-ai-sdk-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,803 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 original 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.00076 $0.05803
Opus 5.5 $0.00030 $0.02321
Sonnet 5.5 $0.00015 $0.01161
Haiku 4.5 $0.00008 $0.00580

Measured 6d ago against content hash 01bcbc36a6a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vercel-ai-sdk-expert 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 6d 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.

.cursor/skills/vercel-ai-sdk-expert/SKILL.md · 561 lines

How it starts

The opening of the file, as written. The whole thing — 561 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Vercel AI SDK Expert (Core, UI & Fullstack AI Engineering)

English | Bahasa Indonesia


English

Orchestration & Integration

  • Upstream Models & Transports: ai-llm-integration-expert, frontier-ai-models-expert, gemini-agent-booster
  • Frontend Presentation & Generative UI: senior-frontend, nextjs-app-router-expert, ephemeral-generative-ui-architect
  • Tooling & Swarms: mcp-server-architect, multi-agent-orchestration, parallel-tool-orchestrator
  • Contracts & Schemas: structured-output-contracts, form-validation-expert, typescript-expert
  • Lifecycle & Governance: zero-to-prod-orchestrator, session-memory-manager, anti-slop

Description

Production-grade guide for building AI applications using the Vercel AI SDK (Core & UI). Covers unified model provider abstraction (@ai-sdk/anthropic, @ai-sdk/openai, @ai-sdk/google), streaming text and structured objects (streamText, streamObject), dynamic multi-step tool execution loops with maxSteps, client-side React 19 hooks (useChat, useCompletion), streaming data attachments (createDataStreamResponse), and generative UI rendering.

Swarm Synergy: Within the Frontend & UI Swarm, this skill serves as the AI UI Presentation Lead. It translates complex backend multi-agent outputs and streaming tokens into accessible, beautiful web components in Phase 4 & Phase 5.

Trigger Conditions

  • Integrating conversational chat, streaming completions, or generative UI in React 19 / Next.js 15.
  • Implementing structured data extraction using generateObject or streamObject with Zod schemas.
  • Building autonomous multi-step tool-calling loops on Next.js Route Handlers or Server Actions.
  • Switching seamlessly across frontier providers (Claude 5.1 Fable / 5 Sonnet, Gemini 4 Pro / Flash, OpenAI GPT-5.6 / o3 / GPT-4.5, Ollama).
  • Building streaming data channels with custom metadata, tool status indicators, and citations.

Read the full file on GitHub · 561 lines

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. 6d ago Changed · +218 lines 01bcbc36a6a5
  2. 7d ago Changed · +1 lines 29e5a349b178
  3. 10d ago Changed · +116 lines 88f765c26c34
  4. 19d ago Changed ca3895e6e74f
  5. 24d ago Changed 863f1f7889f1
  6. 25d ago Changed 52f369c54340
  7. 27d ago Changed · -6 lines · +61 tokens per session 968145d78bd1
  8. 29d ago Changed · +6 lines · -61 tokens per session 8ccd9c8d7a7d
  9. 1mo ago Changed · +44 lines 8da608e149f0
  10. 1mo ago First seen · 182 lines · 76 tokens per session scan A d58896bc3724

Subscribe to this mod's changes

vercel-ai-sdk-expert is a skill published in the GitHub repository roedyrustam/vibes-plug (115 stars, last pushed yesterday), licensed MIT. It adds 76 tokens to every session and 5,803 once invoked, about $0.0003 per session on Opus 5.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-09-12.

Related

Other skills, from other repositories

ai-engineering-toolkit

Overview of six AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching.

sickn33/agentic-awesome-skills · 47 tokens

ai-prompt-regression-testing

Use when comparing prompt changes against a fixed evaluation set: record actual model settings, required checks, missing results, judge limitations and case-level regression evidence.

sickn33/agentic-awesome-skills · 37 tokens

ai-engineering-toolkit

6 production-ready AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching.

lingxling/awesome-skills-cn · 47 tokens

ai-prompt-regression-testing

Prompt engineering regression test matrix register: baseline outputs, semantic drift thresholds, judge evaluations, and golden dataset.

lingxling/awesome-skills-cn · 28 tokens

shadcn-ui

Complete shadcn/ui component library guide including installation, configuration, and implementation of accessible React components. Use when setting up shadcn/ui, installing components, building forms with React Hook Form and Zod, customizing themes with Tailwind CSS, or implementing UI patterns like buttons…

chidekina/aria-superpowers · 73 tokens

react-dev

This skill should be used when building React components with TypeScript, typing hooks, handling events, or when React TypeScript, React 19, Server Components are mentioned. Covers type-safe patterns for React 18-19 including generic components, proper event typing, and routing integration (TanStack Router, React…

chidekina/aria-superpowers · 66 tokens