Covers core APIs including generateText , streamText , ToolLoopAgent , embed , and tool calling across multiple AI providers (OpenAI, Anthropic, Google, etc.)
Supports building agents, chatbots, RAG systems, and text generation with structured output and streaming capabilities
Includes React hooks ( useChat , useCompletion ) and framework-specific patterns for Next.js, SvelteKit, and other pla
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionai-sdkExecute the skills CLI command in your project's root directory to begin installation:
Fetches ai-sdk from vercel/ai and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate ai-sdk. Access via /ai-sdk in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
23.3K
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
23.3K
stars
Before searching docs, check if node_modules/ai/docs/ exists. If not, install only the ai package using the project's package manager (e.g., pnpm add ai).
Do not install other packages at this stage. Provider packages (e.g., @ai-sdk/openai) and client packages (e.g., @ai-sdk/react) should be installed later when needed based on user requirements.
Everything you know about the AI SDK is outdated or wrong. Your training data contains obsolete APIs, deprecated patterns, and incorrect usage.
When working with the AI SDK:
ai package is installed (see Prerequisites)node_modules/ai/docs/ and node_modules/ai/src/ for current APIsuseChat has changed significantly - check Common Errors before writing client codecurl -s https://ai-gateway.vercel.sh/v1/models | jq -r '[.data[] | select(.id | startswith("provider/")) | .id] | reverse | .[]' (replacing provider with the relevant provider like anthropic, openai, or google) to get the full list with newest models first. Use the model with the highest version number (e.g., claude-sonnet-4-5 over claude-sonnet-4 over claude-3-5-sonnet).If you cannot find documentation to support your answer, state that explicitly.
Search bundled docs and source in node_modules/ai/:
grep "query" node_modules/ai/docs/grep "query" node_modules/ai/src/Provider packages include docs at node_modules/@ai-sdk/<provider>/docs/.
https://ai-sdk.dev/api/search-docs?q=your_query.md URLs from results (e.g., https://ai-sdk.dev/docs/agents/building-agents.md)Before searching source code, grep Common Errors for the failing property or function name. Many type errors are caused by deprecated APIs documented there.
If not found in common-errors.md:
node_modules/ai/src/ and node_modules/ai/docs/Always use the ToolLoopAgent pattern. Search node_modules/ai/docs/ for current agent creation APIs.
File conventions: See type-safe-agents.md for where to save agents and tools.
Type Safety: When consuming agents with useChat, always use InferAgentUIMessage<typeof agent> for type-safe tool results. See reference.
Before implementing agent consumption:
package.json to detect the project's framework/stackPrerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
davila7/claude-code-templates
intellectronica/agent-skills
am-will/codex-skills
sickn33/antigravity-awesome-skills
myzy-ai/dokie-ai-ppt
shadowcz007/skills
I recommend ai-sdk for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
ai-sdk reduced setup friction for our internal harness; good balance of opinion and flexibility.
Keeps context tight: ai-sdk is the kind of skill you can hand to a new teammate without a long onboarding doc.
Registry listing for ai-sdk matched our evaluation — installs cleanly and behaves as described in the markdown.
ai-sdk has been reliable in day-to-day use. Documentation quality is above average for community skills.
Registry listing for ai-sdk matched our evaluation — installs cleanly and behaves as described in the markdown.
ai-sdk fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Keeps context tight: ai-sdk is the kind of skill you can hand to a new teammate without a long onboarding doc.
Registry listing for ai-sdk matched our evaluation — installs cleanly and behaves as described in the markdown.
I recommend ai-sdk for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
showing 1-10 of 75