- name
SKILL.md
技能文件保留在发布者的仓库中。
在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add malob/nix-config --skill ai-sdk-docs -a cursor -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add malob/nix-config --skill ai-sdk-docs -a claude-code -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add malob/nix-config --skill ai-sdk-docs -a codex -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add malob/nix-config --skill ai-sdk-docs -a grok -y在 Grok Bot 聊天中发送复制的消息。Bot 会从 GitHub 获取这个 SKILL.md,并添加到你所有 Bot 共享的技能中。
Install this skill: https://github.com/malob/nix-config/tree/HEAD/configs/claude/plugins/ai-sdk/skills/ai-sdk-docs来自发布者
This skill provides tools for accessing Vercel AI SDK documentation and AI Gateway model information. Use the bundled scripts to discover available documentation pages and fetch their full content.
The Vercel AI SDK documentation lives at ai-sdk.dev and covers:
ai package) - generating text, streaming, tool calling, embeddingsThe documentation is large (600+ pages) and frequently updated. Rather than relying on stale knowledge, always use the scripts to fetch current documentation.
All scripts are located in ${CLAUDE_PLUGIN_ROOT}/skills/ai-sdk-docs/scripts/.
Discover available documentation pages.
Usage:
# List all pages grouped by category
${CLAUDE_PLUGIN_ROOT}/skills/ai-sdk-docs/scripts/list-docs.sh
# List pages in a specific category
${CLAUDE_PLUGIN_ROOT}/skills/ai-sdk-docs/scripts/list-docs.sh docs
${CLAUDE_PLUGIN_ROOT}/skills/ai-sdk-docs/scripts/list-docs.sh cookbook
${CLAUDE_PLUGIN_ROOT}/skills/ai-sdk-docs/scripts/list-docs.sh providers
Categories:
docs - Core documentation (concepts, guides, API reference)cookbook - Code examples by framework (Next.js, Node.js, etc.)providers - Provider-specific setup and configurationelements - UI component library documentationtools-registry - Third-party tool integrationsWhen to use: Run this first to discover what pages exist. Do not assume documentation structure.
Fetch the full markdown content of a specific documentation page.
Usage:
# Fetch a documentation page
${CLAUDE_PLUGIN_ROOT}/skills/ai-sdk-docs/scripts/fetch-doc.sh /docs/ai-sdk-core/generating-text
# Fetch a cookbook example
${CLAUDE_PLUGIN_ROOT}/skills/ai-sdk-docs/scripts/fetch-doc.sh /cookbook/next/generating-structured-data
# Fetch provider documentation
${CLAUDE_PLUGIN_ROOT}/skills/ai-sdk-docs/scripts/fetch-doc.sh /providers/ai-sdk-providers/openai
Input: A documentation path (e.g., /docs/ai-sdk-core/tools-and-tool-calling)
Output: Full markdown content of the page
When to use: After identifying relevant pages with list-docs.sh, fetch the ones that look most relevant to the task.
Query the AI Gateway models API for available models and their capabilities.
Usage:
# List all models with their provider
${CLAUDE_PLUGIN_ROOT}/skills/ai-sdk-docs/scripts/query-models.sh list
# List all providers
${CLAUDE_PLUGIN_ROOT}/skills/ai-sdk-docs/scripts/query-models.sh providers
# List all capability tags
${CLAUDE_PLUGIN_ROOT}/skills/ai-sdk-docs/scripts/query-models.sh tags
# List models from a specific provider
${CLAUDE_PLUGIN_ROOT}/skills/ai-sdk-docs/scripts/query-models.sh --provider anthropic
# List models with a specific capability
${CLAUDE_PLUGIN_ROOT}/skills/ai-sdk-docs/scripts/query-models.sh --tag vision
${CLAUDE_PLUGIN_ROOT}/skills/ai-sdk-docs/scripts/query-models.sh --tag tool-use
# Get full details for a specific model
${CLAUDE_PLUGIN_ROOT}/skills/ai-sdk-docs/scripts/query-models.sh --details openai/gpt-4o
Model details include: context window, max tokens, pricing, capability tags (vision, tool-use, reasoning, etc.)
When to use: When needing to know what models are available, compare model capabilities, or check pricing/context limits.
list-docs.sh to see available pagesfetch-doc.sh to get full content of relevant pageslist-docs.sh output, it doesn't exist.The AI Gateway is Vercel's unified API for accessing multiple AI providers. Key points:
query-models.sh to see all available modelsprovider/model-name (e.g., anthropic/claude-sonnet-4)/providers/This skill should be used when working with Vercel AI SDK, AI Gateway, streamText, generateText, generateObject, streamObject, tool calling, or AI SDK providers. Also relevant for "ai-sdk", "@ai-sdk/*
---name: AI SDK Documentationdescription: This skill should be used when working with Vercel AI SDK, AI Gateway, streamText, generateText…---# configs/claude/plugins/ai-sdk/skills/ai-sdk-docs/SKILL.md概览
This skill should be used when working with Vercel AI SDK, AI Gateway, streamText, generateText, generateObject, streamObject, tool calling, or AI SDK providers. Also relevant for "ai-sdk", "@ai-sdk/*" packages, or questions about AI SDK patterns, configuration, and best practices.
常见问题
从发布者处下载 configs/claude/plugins/ai-sdk/skills/ai-sdk-docs/SKILL.md,或复制路径后打开仓库。PlugMCP 只收录该技能,不托管文件。
发布者将它存放在 https://github.com/malob/nix-config。
Claude、Cursor、Codex 和 Grok Build 可以读取你从发布者仓库添加的 SKILL.md。在聊天中发送技能的 GitHub 文件夹链接,Grok Bot 就会安装它。