Agent skill

ai-sdk-6

Vercel AI SDK v6 development. Use when building AI agents, chatbots, tool integrations, or streaming applications with the ai package.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill ai-sdk-6 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: none
Path: skills/ai-llm/ai-sdk-6/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Vercel AI SDK v6 Development Guide Use this skill when developing AI-powered features using Vercel AI SDK v6 (`ai` package). ## Quick Reference ### Installation ```bash bun add ai @ai-sdk/anthropic zod ``` ### Core Functions | Function | Purpose | | -------------- | ----------------------------------------------------------------- | | `generateText` | Non-streaming text generation (+ structured output with `Output`) | | `streamText` | Streaming text generation (+ structured output with `Output`) | > **v6 Note**: `generateObject`/`streamObject` are deprecated. > Use `generateText`/`streamText` with `output: Output.object({ schema })` instead. ### Structured Output (v6) ```typescript import { generateText, Output } from "ai"; import { z } from "zod"; const { output } = await generateText({ model: anthropic("claude-sonnet-4-5-20250929"), output: Output.object({ schema: z.object({ sentiment: z.enum(["positive", "neutral", "negative"]), topics: z.array(z.string()), }), }), prompt: "Analyze this feedback...", }); ``` Output types: `Output.object()`, `Output.array()`, `Output.choice()`, `Output.json()` ### Agent Class (v6 Key Feature) ```typescript import { ToolLoopAgent, tool, stepCoun

What's inside
Steps it walks through
  1. Quick Reference
  2. Installation
  3. Core Functions
  4. Structured Output (v6)
  5. Agent Class (v6 Key Feature)
  6. API Route with Agent
  7. useChat Hook (Client)
  8. Reference Documentation
  9. Official Documentation
Ships with 1 file
  • metadata.json
Commands it runs
bun add ai @ai-sdk/anthropic zod
More from claude-skill-registry
All skills →
About this skill
What does the ai-sdk-6 skill do?

Vercel AI SDK v6 development. Use when building AI agents, chatbots, tool integrations, or streaming applications with the ai package.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill ai-sdk-6 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going