openrouter-upgrade-migration
FeaturedMigrate to OpenRouter from direct provider APIs or upgrade between SDK/model versions. Triggers: 'openrouter migrate', 'openrouter upgrade', 'switch to openrouter', 'migrate from openai to openrouter'.
Install
Quality Score: 99/100
Skill Content
Details
- Author
- jeremylongshore
- Repository
- jeremylongshore/claude-code-plugins-plus-skills
- Created
- 1 years ago
- Last Updated
- yesterday
- Language
- Python
- License
- MIT
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
openrouter-openai-compat
Migrate from OpenAI to OpenRouter with minimal code changes. Use when switching to OpenRouter or maintaining dual compatibility. Triggers: 'openrouter openai compatible', 'openrouter drop-in', 'openai to openrouter', 'openrouter migration'.
anthropic-sdk-via-openrouter
Route Anthropic SDK calls through OpenRouter as a fallback when ANTHROPIC_API_KEY is absent but OPENROUTER_API_KEY is present. Pattern: anthropic.Anthropic(api_key=OPENROUTER_API_KEY, base_url="https://openrouter.ai/api/v1") + provider-prefixed model id "anthropic/claude-sonnet-4.6" (note dots, not dashes). The Anthropic SDK speaks Anthropic Messages API at the base_url; OpenRouter implements that contract at /v1/messages, so the same .messages.create(model=..., tools=..., tool_choice=...) call works without any code change beyond the constructor. Use when: (1) supporting users on Claude Code subscription auth (no direct ANTHROPIC_API_KEY but OPENROUTER_API_KEY available), (2) building any Python tool that uses the Anthropic SDK and wants to support OpenRouter-only environments without rewriting to use the OpenAI SDK or a different API contract, (3) implementing the symmetric fallback to a similar pattern on the OpenAI SDK side.
clade-migration-deep-dive
Migrate from OpenAI/GPT to Anthropic/Claude — API differences, Use when working with migration-deep-dive patterns. prompt adaptation, SDK swap, and feature mapping. Trigger with "migrate to claude", "openai to anthropic", "switch from gpt to claude", "replace openai with anthropic".