openrouter
OpenRouter API - Unified access to 400+ AI models through one API
npx skills add majiayu000/claude-skill-registry --skill openrouter-alchimie-di-circe-extractor-desktop-ap-2 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# OpenRouter Skill Comprehensive assistance with OpenRouter API development, providing unified access to hundreds of AI models through a single endpoint with intelligent routing, automatic fallbacks, and standardized interfaces. ## When to Use This Skill This skill should be triggered when: - Making API calls to multiple AI model providers through a unified interface - Implementing model fallback strategies or auto-routing - Working with OpenAI-compatible SDKs but targeting multiple providers - Configuring advanced sampling parameters (temperature, top_p, penalties) - Setting up streaming responses or structured JSON outputs - Comparing costs across different AI models - Building applications that need automatic provider failover - Implementing function/tool calling across different models - Questions about OpenRouter-specific features (routing, fallbacks, zero completion insurance) ## Quick Reference ### Basic Chat Completion (Python) ```python from openai import OpenAI client = OpenAI( base_url="https://openrouter.ai/api/v1", api_key="<OPENROUTER_API_KEY>", ) completion = client.chat.completions.create( model="openai/gpt-4o", messages=[{"role": "user", "content": "What is the mea
- When to Use This Skill
- Quick Reference
- Basic Chat Completion (Python)
- Basic Chat Completion (JavaScript/TypeScript)
- cURL Request
- Model Fallback Configuration (Python)
- Model Fallback Configuration (TypeScript)
- Auto Router (Dynamic Model Selection)
- Advanced Parameters Example
- Streaming Response
- JSON Mode (Structured Output)
- Deterministic Output with Seed
- Key Concepts
- Model Routing
curl https://openrouter.ai/api/v1/chat/completions \
What does the openrouter skill do?
OpenRouter API - Unified access to 400+ AI models through one API
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill openrouter-alchimie-di-circe-extractor-desktop-ap-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
