CtrlK
BlogDocsLog inGet started
Tessl Logo

ai-sdk

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

90

2.92x
Quality

92%

Does it follow best practices?

Impact

76%

2.92x

Average score across 3 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Evaluation results

66%

24%

Resume Analyzer

Structured output & model selection

Criteria
Without context
With context

AI Gateway provider

0%

0%

No hardcoded model ID

0%

0%

Latest model version

100%

100%

No generateObject

0%

100%

generateText with output

0%

100%

No maxTokens

100%

100%

inputSchema in tools

100%

100%

Minimal options

100%

100%

Only ai package installed

0%

0%

output.json produced

100%

100%

66%

52%

Research Assistant Agent

Agent creation & tool definition

Criteria
Without context
With context

ToolLoopAgent used

0%

100%

agents/ directory

0%

0%

tools/ directory

0%

0%

inputSchema in tools

0%

100%

No maxSteps

0%

100%

stopWhen used

0%

100%

InferAgentUIMessage exported

0%

0%

AI Gateway model

0%

0%

Minimal ToolLoopAgent options

0%

100%

agent-output.txt produced

100%

100%

97%

73%

Customer Support Chat Interface

Chat UI with streaming & tool rendering

Criteria
Without context
With context

toUIMessageStreamResponse

100%

70%

uiMessages parameter

0%

100%

DefaultChatTransport

0%

100%

Manual input state

0%

100%

sendMessage used

0%

100%

Typed tool parts

0%

100%

Correct tool part states

0%

100%

part.input / part.output

0%

100%

addToolOutput used

0%

100%

SupportAgentUIMessage type

100%

100%

review.md content

50%

100%

Repository
vercel/ai
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.