[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77NRY3J9S5TGTPBDNE2X6BA":3,"skill-same:01M77NRY3J9S5TGTPBDNE2X6BA":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M77NRY3J9S5TGTPBDNE2X6BA","ai-sdk",null,"Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: \"AI SDK\", \"Vercel AI SDK\", \"generateText\", \"streamText\", \"add AI to my app\", \"build an agent\", \"tool calling\", \"structured output\", \"useChat\".","Reihantt6\u002Fsns-myagent","Reihantt6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219822095?v=4","01M77KK94PV8B7C2D9XWXNS8DJ","Mohamad Reihan tegar prasetya","01M77KK958QFMTHYXGXFV7KZ79",2,"MIT","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fai-sdk\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: \\\"AI SDK\\\", \\\"Vercel AI SDK\\\", \\\"generateText\\\", \\\"streamText\\\", \\\"add AI to my app\\\", \\\"build an agent\\\", \\\"tool calling\\\", \\\"structured output\\\", \\\"useChat\\\".\"\n---\n## What the AI SDK Is\n\nThe AI SDK by Vercel (the `ai` package on npm) is a TypeScript toolkit for building AI applications. It provides a unified API across model providers for text generation, structured output, tool calling, agents, embeddings, and framework UI integrations.\n\n- Repository: https:\u002F\u002Fgithub.com\u002Fvercel\u002Fai\n- Documentation: https:\u002F\u002Fai-sdk.dev\u002Fdocs\n\n## Critical: Do Not Trust Your Own Memory\n\nWhatever you remember about the AI SDK is likely outdated. The SDK changes frequently across versions - APIs are renamed, removed, and added. Your training data almost certainly contains obsolete APIs, deprecated patterns, and model IDs that no longer exist. UI hooks like `useChat` are among the most frequently changed APIs, so be especially careful with client code.\n\n**Never write AI SDK code from memory.** Always verify every API, option, and pattern against the documentation and source code for the version that is actually installed in the project.\n\n## Use the Bundled, Version-Matched Docs\n\nThe `ai` package ships its full documentation and source code inside `node_modules`. These always match the installed version, so trust them over anything you remember.\n\n1. Ensure `ai` is installed. If `node_modules\u002Fai\u002F` does not exist, install **only** the `ai` package using the project's package manager (e.g. `pnpm add ai`). Install provider packages (e.g. `@ai-sdk\u002Fopenai`) and framework packages (e.g. `@ai-sdk\u002Freact`) later, when the task requires them.\n2. Read and grep the bundled docs at `node_modules\u002Fai\u002Fdocs\u002F` and the source at `node_modules\u002Fai\u002Fsrc\u002F`.\n3. Provider and framework packages bundle their own docs at `node_modules\u002F@ai-sdk\u002F\u003Cname>\u002Fdocs\u002F`.\n4. If something isn't in the bundled docs, search https:\u002F\u002Fai-sdk.dev\u002Fdocs. You can append `.md` to any docs page URL to get its markdown, and search via `https:\u002F\u002Fai-sdk.dev\u002Fapi\u002Fsearch-docs?q=your_query`.\n5. If you cannot find support for an answer in the docs or source, say so explicitly — do not guess.\n\n## AI Gateway: The Fastest Way to Start\n\nThe Vercel AI Gateway is the fastest way to get started with the AI SDK. It provides access to models from OpenAI, Anthropic, Google, and other providers through a single API, without installing provider packages or managing multiple API keys.\n\nTo set it up:\n\n1. Authenticate with OIDC (for Vercel deployments) or get an AI Gateway API key.\n2. Provide it to your app via the `AI_GATEWAY_API_KEY` environment variable.\n3. Reference models with `provider\u002Fmodel` strings.\n\nFor exact setup, authentication, and usage, read the bundled guide and the AI Gateway docs.\n\n### Choosing a Model\n\nNever use model IDs from memory — models are released and retired frequently. Fetch the current list before writing code that references a model. Do not truncate the list (e.g. with `head`) so you can find the newest models:\n\n```bash\n# All available models\ncurl -s https:\u002F\u002Fai-gateway.vercel.sh\u002Fv1\u002Fmodels | jq -r '.data[].id'\n\n# Filter by provider (e.g. anthropic, openai, google)\ncurl -s https:\u002F\u002Fai-gateway.vercel.sh\u002Fv1\u002Fmodels | jq -r '[.data[] | select(.id | startswith(\"anthropic\u002F\")) | .id] | reverse | .[]'\n```\n\nWhen multiple versions of a model exist, prefer the one with the highest version number.\n\n## Building and Consuming Agents\n\nUse the SDK's built-in agent abstraction (such as `ToolLoopAgent`) rather than hand-rolling tool-calling loops. For end-to-end type safety, infer the UI message type from your agent definition when consuming it on the client (e.g. with `useChat`). Consuming an agent is framework-specific: check `package.json` to detect the stack, then follow the matching quickstart.\n\nLook up the current agent, tool, and type-safety APIs in the bundled docs (`node_modules\u002Fai\u002Fdocs\u002F`, especially the agents section) or at https:\u002F\u002Fai-sdk.dev\u002Fdocs.\n\n## DevTools\n\nAI SDK DevTools captures your AI SDK calls - requests, responses, tool calls, token usage, and multi-step runs - so you can inspect exactly what your agents do. Use it while developing to debug generations. It is a separate package and is intended for local development only.\n\nFor setup instructions, read the bundled DevTools documentation.\n\n## Keep the SDK Current\n\nOutdated installs are the most common source of errors. Compare the installed version against the latest:\n\n- **Installed:** the `version` field in `node_modules\u002Fai\u002Fpackage.json`.\n- **Latest:** run `npm view ai version`.\n\nIf the installed version is a major version (or more) behind the latest, tell the user they are on an old release, and recommend upgrading before continuing. Migration guides are at https:\u002F\u002Fai-sdk.dev\u002Fdocs\u002Fmigration-guides.\n\n## After Making Changes\n\nRun the project's type checker. Be minimal — only set options that differ from the defaults, checking docs or source for the defaults rather than over-specifying. Most type errors come from remembered, now-changed APIs; re-check the current docs and source when they occur.\n","## What the AI SDK Is\n\nThe AI SDK by Vercel (the `ai` package on npm) is a TypeScript toolkit for building AI applications. It provides a unified API across model providers for text generation, structured output, tool calling, agents, embeddings, and framework UI integrations.\n\n- Repository: https:\u002F\u002Fgithub.com\u002Fvercel\u002Fai\n- Documentation: https:\u002F\u002Fai-sdk.dev\u002Fdocs\n\n## Critical: Do Not Trust Your Own Memory\n\nWhatever you remember about the AI SDK is likely outdated. The SDK changes frequently across versions - APIs are renamed, removed, and added. Your training data almost certainly contains obsolete APIs, deprecated patterns, and model IDs that no longer exist. UI hooks like `useChat` are among the most frequently changed APIs, so be especially careful with client code.\n\n**Never write AI SDK code from memory.** Always verify every API, option, and pattern against the documentation and source code for the version that is actually installed in the project.\n\n## Use the Bundled, Version-Matched Docs\n\nThe `ai` package ships its full documentation and source code inside `node_modules`. These always match the installed version, so trust them over anything you remember.\n\n1. Ensure `ai` is installed. If `node_modules\u002Fai\u002F` does not exist, install **only** the `ai` package using the project's package manager (e.g. `pnpm add ai`). Install provider packages (e.g. `@ai-sdk\u002Fopenai`) and framework packages (e.g. `@ai-sdk\u002Freact`) later, when the task requires them.\n2. Read and grep the bundled docs at `node_modules\u002Fai\u002Fdocs\u002F` and the source at `node_modules\u002Fai\u002Fsrc\u002F`.\n3. Provider and framework packages bundle their own docs at `node_modules\u002F@ai-sdk\u002F\u003Cname>\u002Fdocs\u002F`.\n4. If something isn't in the bundled docs, search https:\u002F\u002Fai-sdk.dev\u002Fdocs. You can append `.md` to any docs page URL to get its markdown, and search via `https:\u002F\u002Fai-sdk.dev\u002Fapi\u002Fsearch-docs?q=your_query`.\n5. If you cannot find support for an answer in the docs or source, say so explicitly — do not guess.\n\n## AI Gateway: The Fastest Way to Start\n\nThe Vercel AI Gateway is the fastest way to get started with the AI SDK. It provides access to models from OpenAI, Anthropic, Google, and other providers through a single API, without installing provider packages or managing multiple API keys.\n\nTo set it up:\n\n1. Authenticate with OIDC (for Vercel deployments) or get an AI Gateway API key.\n2. Provide it to your app via the `AI_GATEWAY_API_KEY` environment variable.\n3. Reference models with `provider\u002Fmodel` strings.\n\nFor exact setup, authentication, and usage, read the bundled guide and the AI Gateway docs.\n\n### Choosing a Model\n\nNever use model IDs from memory — models are released and retired frequently. Fetch the current list before writing code that references a model. Do not truncate the list (e.g. with `head`) so you can find the newest models:\n\n```bash\n# All available models\ncurl -s https:\u002F\u002Fai-gateway.vercel.sh\u002Fv1\u002Fmodels | jq -r '.data[].id'\n\n# Filter by provider (e.g. anthropic, openai, google)\ncurl -s https:\u002F\u002Fai-gateway.vercel.sh\u002Fv1\u002Fmodels | jq -r '[.data[] | select(.id | startswith(\"anthropic\u002F\")) | .id] | reverse | .[]'\n```\n\nWhen multiple versions of a model exist, prefer the one with the highest version number.\n\n## Building and Consuming Agents\n\nUse the SDK's built-in agent abstraction (such as `ToolLoopAgent`) rather than hand-rolling tool-calling loops. For end-to-end type safety, infer the UI message type from your agent definition when consuming it on the client (e.g. with `useChat`). Consuming an agent is framework-specific: check `package.json` to detect the stack, then follow the matching quickstart.\n\nLook up the current agent, tool, and type-safety APIs in the bundled docs (`node_modules\u002Fai\u002Fdocs\u002F`, especially the agents section) or at https:\u002F\u002Fai-sdk.dev\u002Fdocs.\n\n## DevTools\n\nAI SDK DevTools captures your AI SDK calls - requests, responses, tool calls, token usage, and multi-step runs - so you can inspect exactly what your agents do. Use it while developing to debug generations. It is a separate package and is intended for local development only.\n\nFor setup instructions, read the bundled DevTools documentation.\n\n## Keep the SDK Current\n\nOutdated installs are the most common source of errors. Compare the installed version against the latest:\n\n- **Installed:** the `version` field in `node_modules\u002Fai\u002Fpackage.json`.\n- **Latest:** run `npm view ai version`.\n\nIf the installed version is a major version (or more) behind the latest, tell the user they are on an old release, and recommend upgrading before continuing. Migration guides are at https:\u002F\u002Fai-sdk.dev\u002Fdocs\u002Fmigration-guides.\n\n## After Making Changes\n\nRun the project's type checker. Be minimal — only set options that differ from the defaults, checking docs or source for the defaults rather than over-specifying. Most type errors come from remembered, now-changed APIs; re-check the current docs and source when they occur.\n",{"description":7},"main","58843b159d7a4050d6b785a98b908cce505c0b92","agent\u002Fskills\u002Fai-sdk",0,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent","https:\u002F\u002Fgithub.com\u002FReihantt6","reihsns.web.id","2026-08-19 20:08:18",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Reihantt6\u002Fsns-myagent --skill ai-sdk",{"tool":38,"command":39},"bunx","bunx skills add Reihantt6\u002Fsns-myagent --skill ai-sdk",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Reihantt6\u002Fsns-myagent --skill ai-sdk","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fai-sdk\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M77XDCYZ407XYMF2T4P6F7VT","youtube-transcript","Extract transcripts from YouTube videos. Use when the user asks for a transcript, subtitles, or captions of a YouTube video and provides a YouTube URL (youtube.com\u002Fwatch?v=, youtu.be\u002F, or similar). Supports output with or without timestamps.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-transcript\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M77XD7PBC98J6MXGJJ2TJ8DX","youtube-thumbnail-design","YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A\u002FB testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-thumbnail-design\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M77XD2541C8HXJ6RHYZP4NGJ","youtube-short-maker","Make YouTube Shorts that hold attention with Pexo — vertical 9:16, fast-paced, hook in the first 3 seconds. Describe your topic and Pexo writes the script, generates the shots, picks the models, and assembles a finished Short with music and captions. Use for YouTube Shorts: \"youtube short\", \"make a youtube short\", \"shorts video\", \"short-form video\". NOT for long-form or landscape video.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-short-maker\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M77XCXKVSYK7KTZ3PQBVVGFD","xcode-project-setup","Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fxcode-project-setup\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M77XCR1DV8ZQK2NHWKVY4EWX","x402","Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — \"just use it\" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing touches your codebase) or \"build it in\" (install the SDK and write the key + code into your project). Walks through wallet setup, funding, .env, and a ~$1 test run. Use when the user asks about x402, pay-per-use, USDC payments, or wants Browser Use Cloud without an API key. For the free-tier signup (reverse-CAPTCHA → API key), use `browser-use cloud signup` or the `cloud` skill instead.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx402\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M77XCMD3R3ZBZQQSW6E0793B","x-twitter-scraper","Build GitHub Copilot workflows with Xquik X API SDKs, REST endpoints, hosted Apify Actor runs, MCP tools, TweetClaw OpenClaw plugin installs, signed webhooks, tweet search, user lookup, follower exports, media actions, and agent automation.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx-twitter-scraper\u002FSKILL.md",[],[]]