Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

provider-integration-templates

verified

OpenRouter framework integration templates for Vercel AI SDK, LangChain, and OpenAI SDK. Use when integrating OpenRouter with frameworks, setting up AI providers, building chat applications, implementing streaming responses, or when user mentions Vercel AI SDK, LangChain, OpenAI SDK, framework integration, or provider setup.

View on GitHub

Marketplace

ai-dev-marketplace

vanman2024/ai-dev-marketplace

Plugin

openrouter

development

Repository

vanman2024/ai-dev-marketplace
2stars

plugins/openrouter/skills/provider-integration-templates/SKILL.md

Last Verified

February 1, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/vanman2024/ai-dev-marketplace/blob/main/plugins/openrouter/skills/provider-integration-templates/SKILL.md -a claude-code --skill provider-integration-templates

Installation paths:

Claude
.claude/skills/provider-integration-templates/
Powered by add-skill CLI

Instructions

# Provider Integration Templates

This skill provides complete integration templates, setup scripts, and working examples for integrating OpenRouter with popular AI frameworks: Vercel AI SDK, LangChain, and OpenAI SDK.

## What This Skill Provides

1. **Setup Scripts**: Automated installation and configuration for each framework
2. **Integration Templates**: Drop-in code templates for provider configuration
3. **Working Examples**: Complete implementation examples with best practices
4. **Validation Tools**: Scripts to verify integrations are working correctly

## Supported Frameworks

### Vercel AI SDK (TypeScript)
- Provider configuration with `createOpenAI()`
- API route templates with `streamText()` and `generateText()`
- Chat UI components with `useChat()` hook
- Tool calling with Zod schemas
- Streaming responses

### LangChain (Python & TypeScript)
- ChatOpenAI configuration for OpenRouter
- LCEL chain templates
- Agent templates with tool support
- RAG (Retrieval Augmented Generation) implementations
- Memory and context management

### OpenAI SDK (Python & TypeScript)
- Drop-in replacement configuration
- Chat completions with streaming
- Function calling support
- Embeddings integration

## Available Templates

### Vercel AI SDK Templates
- `templates/vercel-ai-sdk-config.ts` - OpenRouter provider setup
- `templates/vercel-api-route.ts` - API route with streaming
- `templates/vercel-chat-component.tsx` - Chat UI component
- `templates/vercel-tools-config.ts` - Tool calling setup

### LangChain Templates
- `templates/langchain-config.py` - Python ChatOpenAI setup
- `templates/langchain-config.ts` - TypeScript ChatOpenAI setup
- `templates/langchain-chain.py` - LCEL chain template
- `templates/langchain-agent.py` - Agent with tools
- `templates/langchain-rag.py` - RAG implementation

### OpenAI SDK Templates
- `templates/openai-sdk-config.ts` - TypeScript configuration
- `templates/openai-sdk-config.py` - Python configuration
- `templates/openai-streaming.ts

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
6768 chars