Borrowing it
Nothing to install: this file belongs to tutur3u/platform. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/tutur3u/platform/main/.agents/skills/ai-sdk/SKILL.mdgit clone --depth 1 https://github.com/tutur3u/platformWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/tutur3u/platform/ai-sdk)<a href="https://agentmods.dev/skills/tutur3u/platform/ai-sdk"><img src="https://agentmods.dev/badge/skills/tutur3u/platform/ai-sdk.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00021 | $0.00512 |
| Opus 5 | $0.00010 | $0.00256 |
| Sonnet 5 | $0.00004 | $0.00102 |
| Haiku 4.5 | $0.00002 | $0.00051 |
Grade A, and why
ai-sdk scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
100% identical to ai-sdk — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
AI SDK Documentation
When you need up-to-date information about the AI SDK:
If using [email protected] or above
Search the bundled documentation and source code in node_modules/ai/:
- Documentation:
grep "your query" node_modules/ai/docs/ - Source code:
grep "your query" node_modules/ai/src/
To find specific files:
glob "node_modules/ai/docs/**/*.mdx"for documentation filesglob "node_modules/ai/src/**/*.ts"for source files
Provider packages (@ai-sdk/openai, @ai-sdk/anthropic, etc.) also include bundled docs in their respective node_modules/@ai-sdk/<provider>/docs/ directories.
Use documentation matching the installed version. Upgrade only when required by the requested change or explicitly requested.
Otherwise
- Search the docs:
https://ai-sdk.dev/api/search-docs?q=your_query - The response includes matches with links ending in
.md - Fetch those
.mdURLs directly to get plain text content (e.g.https://ai-sdk.dev/docs/agents/building-agents.md)
Use these resources for current API details, examples, and usage patterns.
For common errors and troubleshooting, see Common Errors Reference.
For using Vercel AI Gateway, see AI Gateway Reference.
Provider-Specific Information ([email protected]+)
For questions about specific providers (OpenAI, Anthropic, Google, etc.), search their dedicated packages:
- Provider documentation:
grep "your query" node_modules/@ai-sdk/<provider>/docs/ - Provider source code:
grep "your query" node_modules/@ai-sdk/<provider>/src/
To find provider files:
glob "node_modules/@ai-sdk/<provider>/docs/**/*.mdx"for provider documentationglob "node_modules/@ai-sdk/<provider>/src/**/*.ts"for provider source files
This is especially important for providerOptions, which are provider-specific settings passed to model calls. Each provider has unique options documented in their package.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed · -64 tokens per session 28d65b79229a
- 6d ago First seen · 54 lines · 85 tokens per session scan A 381668133e23
ai-sdk is a skill published in the GitHub repository tutur3u/platform (53 stars, last pushed today), licensed Apache-2.0. It adds 21 tokens to every session and 512 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to ai-sdk, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
magic-ui
Use this skill when users want to add, customize, or troubleshoot Magic UI components in React/Next.js projects. It covers component selection, shadcn registry installation (@magicui/), integration patterns, and practical quality checks for accessibility and maintainability.
frontend-engineer
!cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/input-validation.md 2>/dev/null || true !cat skills/shared/protocols/tool-efficiency.md 2>/dev/null || true !cat .production-grade.yaml 2>/dev/null || echo "No config — using defaults" !cat .forgewright/codebase-context.md…
migrate-radix-to-base
Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert radix primitives, or switch a shadcn project's base library. Handles single components ("migrate accordion") and whole projects.
nextjs-app-router
Full end-to-end tRPC setup for Next.js App Router. Covers route handler with fetchRequestHandler (GET + POST exports), TRPCProvider with QueryClientProvider, createTRPCOptionsProxy for RSC prefetching, HydrateClient/HydrationBoundary for hydration, useSuspenseQuery for Suspense, and server-side callers.
nextjs-pages-router
Set up tRPC in Next.js Pages Router with createNextApiHandler, createTRPCNext, withTRPC HOC, SSR via ssr option and ssrPrepass, SSG via createServerSideHelpers with getStaticProps, and server-side helpers for getServerSideProps prefetching.
openapi
Generate OpenAPI 3.1 spec from a tRPC router with @trpc/openapi CLI or programmatic API. Generate typed REST client with @hey-api/openapi-ts and configureTRPCHeyApiClient(). Configure transformers (superjson, EJSON) for generated clients. Alpha status.