Install any skill in seconds. Free to start, no credit card required.
Get Started Free →majiayu000/agent-builder-vercel-sdk
Build conversational AI agents using Vercel AI SDK + OpenRouter.
Passed 18 of 22 test cases with the skill, and 12 of 22 without it.
and 5 more in the full report
6 fixed12 passed either way4 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
What environment variable key names should I configure in .env for authenticating with OpenRouter and pointing to my local dev server site URL?
| Checked | Without skill | With skill |
|---|---|---|
| Uses OPENROUTER_API_KEY as the environment variable name for the API secret | Passed | Passed |
| Uses NEXT_PUBLIC_SITE_URL for setting the frontend origin URL parameter | Missed | Passed |
The instructions your model reads when the skill loads.
Create streaming AI chat interfaces with minimal code using Vercel AI SDK and OpenRouter provider.
npm install ai @openrouter/ai-sdk-provider zod
OPENROUTER_API_KEY=sk-or-v1-...
NEXT_PUBLIC_SITE_URL=http://localhost:3000
// app/api/chat/route.ts
import { OpenRouter } from '@openrouter/ai-sdk-provider'
import { streamText } from 'ai'
const openrouter = new OpenRouter({
apiKey: process.env.OPENROUTER_API_KEY
})
export async function POST(req: Request) {
const { messages } = await req.json()
test cases passed, vs 12 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.