Agent skill

vercel-ai-sdk

Guide for integrating Vercel AI SDK into Remix apps. Build AI chatbots, text completion, and agents within your Shopify app.

majiayu000534★ · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill vercel-ai-sdk --agent claude-code

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

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Path: skills/ai-llm/vercel-ai-sdk/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 for Remix Integration The Vercel AI SDK is the standard for building AI UIs. It abstracts streaming, state management, and provider differences. ## 1. Setup ```bash npm install ai @ai-sdk/openai ``` ## 2. Server-side Streaming (`action` function) Remix uses `Response` objects. The AI SDK has a helper `StreamingTextResponse`. ```typescript // app/routes/api.chat.ts import { streamText } from 'ai'; import { openai } from '@ai-sdk/openai'; import { ActionFunctionArgs } from "@remix-run/node"; export const action = async ({ request }: ActionFunctionArgs) => { const { messages } = await request.json(); const result = await streamText({ model: openai('gpt-4-turbo'), messages, }); return result.toDataStreamResponse(); }; ``` ## 3. Client-side UI hooks Use `useChat` to manage message state and input automatically. ```tsx // app/routes/app.assistant.tsx import { useChat } from 'ai/react'; export default function AssistantPage() { const { messages, input, handleInputChange, handleSubmit } = useChat({ api: '/api/chat', // points to the action above }); return ( <div className="chat-container"> {messages.map(m => ( <div key={m.id} className={m.role === 'user' ? 'user-msg' : 'ai

What's inside
Steps it walks through
  1. 1. Setup
  2. 2. Server-side Streaming (action function)
  3. 3. Client-side UI hooks
  4. 4. Shopify Context Injection
  5. 5. Deployment Note (Streaming)
Ships with 1 file
  • metadata.json
Commands it runs
npm install ai @ai-sdk/openai
More from claude-skill-registry
All skills →
About this skill
What does the vercel-ai-sdk skill do?

Guide for integrating Vercel AI SDK into Remix apps. Build AI chatbots, text completion, and agents within your Shopify app.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill vercel-ai-sdk --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