Skip to main content
skill CX Codex

ai-sdk-6-skills — Claude Code skill: what it does, how to install

This skill gives coding assistants patterns for AI SDK 6 Beta, covering agent loops and Groq setups. It speeds up migration from v5.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add gocallum/nextjs16-agent-skills --skill ai-sdk-6-skills -a claude-code
Open on GitHub

What ai-sdk-6-skills does

This skill provides code patterns for AI SDK 6 Beta features. It details the ToolLoopAgent abstraction, which controls tool calling loops and keeps state. It also covers structured outputs via Zod and document reranking through Cohere. For sensitive actions, tools can require explicit user approval before running.

The guide outlines Groq provider setups for open-weight models. It includes Llama 3.3 configurations, reasoning formats, and multimodal inputs.

Beta releases break often. Lock package versions strictly in your dependencies so patch updates do not disrupt working code. Groq models also require a valid GROQ_API_KEY.

What it helps with

  • migrate legacy agent workflows from AI SDK v5 to v6
  • configure user confirmation prompts before executing sensitive tools
  • build autonomous loops using ToolLoopAgent with structured outputs
  • integrate Groq open-weight models into AI SDK workflows

Example prompts for the agent

  • Show me how to require user approval for a tool in AI SDK 6.
  • Create a ToolLoopAgent setup with Groq Llama 3.3 and a structured output schema.
  • Implement document reranking with Cohere using AI SDK v6 helpers.

How to install ai-sdk-6-skills

1Skills CLI (Vercel)

npx skills add gocallum/nextjs16-agent-skills --skill ai-sdk-6-skills -a claude-code

2Manually: put the files in place

~/.claude/skills/ai-sdk-6-skills/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/ai-sdk-6-skills/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about ai-sdk-6-skills

How to install ai-sdk-6-skills in Claude Code?

Run npx skills add gocallum/nextjs16-agent-skills --skill ai-sdk-6-skills -a claude-code in your terminal. This creates the configuration file at ~/.claude/skills/ai-sdk-6-skills/SKILL.md.

What is ai-sdk-6-skills used for?

It provides implementation examples for AI SDK 6 Beta. Your assistant gets clear references for ToolLoopAgent, human-in-the-loop approvals, and structured data outputs.

What credentials are required for Groq models?

You must configure the GROQ_API_KEY environment variable. The @ai-sdk/groq package cannot send requests without it.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set6

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor