/vercel-ai-sdk:provider-config-validatorfrom vercel-ai-sdk
Validates and debugs Vercel AI SDK provider configurations: API keys, environment setup, model compatibility, rate limiting. Resolves authentication failures, missing env vars, connection errors.
Ships in vercel-ai-sdk. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Purpose: Autonomously validate, diagnose, and fix Vercel AI SDK provider configurations.
Activation Triggers:
Key Resources:
scripts/validate-provider.sh - Full validation (packages, keys, env)scripts/check-model-compatibility.sh - Validate model namesscripts/generate-fix.sh - Generate fixes for common issuesscripts/test-provider-connection.sh - Test real API connectionexamples/troubleshooting-guide.md - Comprehensive troubleshooting (10+ scenarios)templates/ - .env, .gitignore, error handler code templatesIdentify error from symptoms:
# Main validation - checks everything
./scripts/validate-provider.sh <provider>
# Examples:
./scripts/validate-provider.sh openai
./scripts/validate-provider.sh anthropic
Checks performed:
ai) installed./scripts/check-model-compatibility.sh <provider> <model>
# Examples:
./scripts/check-model-compatibility.sh openai gpt-4o
./scripts/check-model-compatibility.sh anthropic claude-sonnet-4-5-20250929
Shows valid models if name is wrong, suggests closest matches.
./scripts/generate-fix.sh <issue-type> <provider>
# Issue types:
# - missing-api-key → Creates .env with correct format
# - wrong-format → Shows valid key format
# - missing-package → Installs provider package
# - model-compatibility → Lists valid models
# - rate-limiting → Adds retry helper with exponential backoff
# - import-error → Fixes import statements
# Verify API credentials work
./scripts/test-provider-connection.sh <provider>
Makes real API call with minimal tokens to verify setup.
OpenAI:
@ai-sdk/openaiOPENAI_API_KEYsk-proj-... or sk-...Anthropic:
@ai-sdk/anthropicANTHROPIC_API_KEYsk-ant-api03-...Google:
@ai-sdk/googleGOOGLE_GENERATIVE_AI_API_KEYAIza...xAI:
@ai-sdk/xaiXAI_API_KEYxai-...# Create .env with correct structure
./scripts/generate-fix.sh missing-api-key openai
# Then add actual key from provider dashboard
# Check valid models
./scripts/check-model-compatibility.sh anthropic claude-v3-opus
# Shows: Did you mean? → claude-opus-4-20250514
# Generate retry helper
./scripts/generate-fix.sh rate-limiting openai
# Creates retryHelper.ts with exponential backoff
# Install provider package
./scripts/generate-fix.sh missing-package anthropic
# Runs: npm install ai @ai-sdk/anthropic
Scripts: All scripts in scripts/ directory are executable and documented in README.md
Templates: templates/ contains .env, .gitignore, and error-handler-template.ts
Examples: examples/troubleshooting-guide.md has detailed solutions for 10+ scenarios including CORS, streaming, TypeScript, and provider-specific issues
Supported Providers: OpenAI, Anthropic, Google, xAI, Groq, Mistral, Cohere, DeepSeek
Version: 1.0.0 SDK Compatibility: Vercel AI SDK 5+
README.md (opens in a new tab)examples/troubleshooting-guide.md (opens in a new tab)scripts/check-model-compatibility.sh (opens in a new tab)scripts/generate-fix.sh (opens in a new tab)scripts/test-provider-connection.sh (opens in a new tab)scripts/validate-provider.sh (opens in a new tab)templates/env-template.txt (opens in a new tab)templates/error-handler-template.ts (opens in a new tab)templates/gitignore-template.txt (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/agent-workflow-patternsAI agent workflow patterns including ReAct agents, multi-agent systems, loop control, tool orchestration, and autonomous agent architectures. Use when building AI agents, implementing workflows, creating autonomous systems, or when user mentions agents, workflows, ReAct, multi-step reasoning, loop control, agent orchestration, or autonomous AI./generative-ui-patternsGenerative UI implementation patterns for AI SDK RSC including server-side streaming components, dynamic UI generation, and client-server coordination. Use when implementing generative UI, building AI SDK RSC, creating streaming components, or when user mentions generative UI, React Server Components, dynamic UI, AI-generated interfaces, or server-side streaming./rag-implementationRAG (Retrieval Augmented Generation) implementation patterns including document chunking, embedding generation, vector database integration, semantic search, and RAG pipelines. Use when building RAG systems, implementing semantic search, creating knowledge bases, or when user mentions RAG, embeddings, vector database, retrieval, document chunking, or knowledge retrieval./testing-patternsTesting patterns for Vercel AI SDK including mock providers, streaming tests, tool calling tests, snapshot testing, and test coverage strategies. Use when implementing tests, creating test suites, mocking AI providers, or when user mentions testing, mocks, test coverage, AI testing, streaming tests, or tool testing.npx claudepluginhub vanman2024/ai-dev-marketplace --plugin vercel-ai-sdkOther plugins' skills for the same job