Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ovachiever-ai-sdk-ui
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend, cloud, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ai-sdk-ui
What's inside
- Skill name
ai-sdk-ui- Description
- Build React chat interfaces with Vercel AI SDK v5/v6. Covers v6 beta (agent integration, tool approval, auto-submit), v4→v5 migration (breaking changes), useChat/useCompletion/useObject/useAssistant hooks, and 12 UI error solutions (stream parsing, stale body values, React update depth). Use when: implementing AI SDK v5/v6 chat UIs, migrating v4→v5, troubleshooting "useChat failed to parse stream", "useChat no response", or "stale body values" errors, or integrating OpenAI assistants.
- License
- MIT
- Metadata
- version: 1.1.0 · last_verified: 2025-11-22 · ai_sdk_version: 5.0.99 stable / 6.0.0-beta.108 · breaking_changes: true (v4→v5 migration guide included) · production_tested: true
- Instructions
- 460 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions call the network
Files (20)
- plugin.json · .claude-plugin/
- README.md
- SKILL.md
- links-to-official-docs.md · references/
- nextjs-integration.md · references/
- streaming-patterns.md · references/
- top-ui-errors.md · references/
- use-chat-migration.md · references/
- check-versions.sh · scripts/
- custom-message-renderer.tsx · templates/
- message-persistence.tsx · templates/
- nextjs-api-route.ts · templates/
- nextjs-chat-app-router.tsx · templates/
- nextjs-chat-pages-router.tsx · templates/
- package.json · templates/
- use-chat-attachments.tsx · templates/
- use-chat-basic.tsx · templates/
- use-chat-tools.tsx · templates/
- use-completion-basic.tsx · templates/
- use-object-streaming.tsx · templates/
SKILL.md (first lines)
# AI SDK UI - Frontend React Hooks
Frontend React hooks for AI-powered user interfaces with Vercel AI SDK v5/v6.
**Version**: AI SDK v5.0.99 (Stable) / v6.0.0-beta.108 (Beta)
**Framework**: React 18+, Next.js 14+
**Last Updated**: 2025-11-22
---
## AI SDK 6 Beta (November 2025)
**Status:** Beta (stable release planned end of 2025)
**Latest:** ai@6.0.0-beta.108 (Nov 22, 2025)
**Migration:** Minimal breaking changes from v5 → v6
### New UI Features in v6 Beta
**1. Agent Integration**
Type-safe messaging with agents using `InferAgentUIMessage<typeof agent>`:
```tsx
import { useChat } from '@ai-sdk/react';
import type { InferAgentUIMessage } from 'ai';
import { myAgent } from './agent';
export default function AgentChat() {
const { messages, sendMessage } = useChat<InferAgentUIMessage<typeof myAgent>>({
api: '/api/chat',
});
// messages are now type-checked against agent schema
}
```
**2. Tool Approval Workflows (Human-in-the-Loop)**
Request user confirmation before executing tools:
```tsx
import { useChat } from '@ai-sdk/react';
import { useState } from 'react';
export default function ChatWithApproval() {
const { messages, sendMessage, addToolApprovalResponse } = useChat({
api: '/api/chat',
});
const handleApprove = (toolCallId: string) => {
addToolApprovalResponse({
toolCallId,
approved: true, // or false to deny
});
};
return (
<div>
{messages.map(message => (
<div key={message.id}>
{message.toolInvocations?.map(tool => (
tool.state === 'awaiting-approval' && (
<div key={tool.toolCallId}>
<p>Approve tool call: {tool.toolName}?</p>
<button onClick={() => handleApprove(tool.toolCallId)}>
Approve
</button>
<button onClick={() => addToolApprovalResponse({
toolCallId: tool.toolCallId,
approved: false
})}>
Deny
</button>
</div>
)
))}
</div>
))}
</div>
);
}
```
**3. Auto-Submit Capability**
Automatically continue conversation after handling approvals:
```tsx
import { useChat, lastAssistantMessageIsCompleteWithApprovalResponses } from '@ai-sdk/react';
export default function AutoSubmitChat() {
const { messages, sendMessage } = useChat({
api: '/api/chat',
sendAutomaticallyWhen: lastAssistantMessageIsCompleteWithApprovalResponses,
// Automatically resubmit after all approval responses provided
});
}
```
**4. Structured Output in Chat**
Generate structured data alongside tool calling (previously only available in `useObject`):
```tsx
import { useChat } from '@ai-sdk/react';
import { z } from 'zod';
const schema = z.object({
summary: z.string(),
sentiment: z.enum(['positive', 'neutral', 'negative']),
});
export default function StructuredChat() {
const { messages, sendMessage } = useChat({
api: '/api/chat',
// Server can now stream structured output with chat messages
});
}
```
---
## useChat Hook - v4 → v5 Breaking ChangesFrom ovachiever/droid-tings, MIT.
More from ovachiever/droid-tings
- 0.514score
auto-animate
ovachiever
Zero-config animations for React, Vue, Solid, Svelte, Preact with @formkit/auto-animate (3.28kb).
SkillDFreshness: D★ 55Claude Code +9 - 0.514score
clerk-auth
ovachiever
Clerk auth with API version 2025-11-10 breaking changes (billing endpoints, payment_source→payment_method), Next.js v6 async auth(), PKCE for custom OAuth…
SkillDFreshness: D★ 55Claude Code +9 - 0.514score
claude-api
ovachiever
Build with Claude Messages API using structured outputs (v0.69.0+, Nov 2025) for guaranteed JSON schema validation.
SkillDFreshness: D★ 55Claude Code +9 - 0.509score
capa-officer
ovachiever
Senior CAPA Officer specialist for managing Corrective and Preventive Actions within Quality Management Systems.
SkillDFreshness: D★ 55Claude Code +9 - 0.506score
bioservices
ovachiever
Primary Python tool for 40+ bioinformatics services.
SkillDFreshness: D★ 55Claude Code +9 - 0.506score
agile-product-owner
ovachiever
Agile product ownership toolkit for Senior Product Owner including INVEST-compliant user story generation, sprint planning, backlog management, and velocity…
SkillDFreshness: D★ 55Claude Code +9 - 0.506score
biopython
ovachiever
Primary Python toolkit for molecular biology.
SkillDFreshness: D★ 55Claude Code +9 - 0.506score
chembl-database
ovachiever
Query ChEMBL's bioactive molecules and drug discovery data.
SkillDFreshness: D★ 55Claude Code +9 - 0.505score
ai-sdk-core
ovachiever
Build backend AI with Vercel AI SDK v5/v6.
SkillDFreshness: D★ 55Claude Code +9 - 0.504score
api-documenter
ovachiever
Auto-generate API documentation from code and comments.
SkillDFreshness: D★ 55Claude Code +9 - 0.501score
better-auth
ovachiever
Build authentication systems for TypeScript/Cloudflare Workers with social auth, 2FA, passkeys, organizations, and RBAC.
SkillDFreshness: D★ 55Claude Code +9 - 0.501score
claude-agent-sdk
ovachiever
Build autonomous AI agents with Claude Agent SDK.
SkillDFreshness: D★ 55Claude Code +9
Signals
- Stars
- 55
- Forks
- 5
- Open issues
- 1
- Last commit (this folder)
- Nov 24, 2025 (11 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.1.0
- License
- MIT
- Repository
- github.com/ovachiever/droid-tings
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ovachiever
- 0.514score
auto-animate
ovachiever
Zero-config animations for React, Vue, Solid, Svelte, Preact with @formkit/auto-animate (3.28kb).
SkillDFreshness: D★ 55Claude Code +9 - 0.514score
clerk-auth
ovachiever
Clerk auth with API version 2025-11-10 breaking changes (billing endpoints, payment_source→payment_method), Next.js v6 async auth(), PKCE for custom OAuth…
SkillDFreshness: D★ 55Claude Code +9 - 0.514score
claude-api
ovachiever
Build with Claude Messages API using structured outputs (v0.69.0+, Nov 2025) for guaranteed JSON schema validation.
SkillDFreshness: D★ 55Claude Code +9 - 0.509score
capa-officer
ovachiever
Senior CAPA Officer specialist for managing Corrective and Preventive Actions within Quality Management Systems.
SkillDFreshness: D★ 55Claude Code +9 - 0.506score
biopython
ovachiever
Primary Python toolkit for molecular biology.
SkillDFreshness: D★ 55Claude Code +9 - 0.506score
agile-product-owner
ovachiever
Agile product ownership toolkit for Senior Product Owner including INVEST-compliant user story generation, sprint planning, backlog management, and velocity…
SkillDFreshness: D★ 55Claude Code +9
Cite this page
ai-sdk-ui skill. Agent Mart. https://agentmart.dev/skills/ovachiever-ai-sdk-ui (last updated 2026-10-24)