Skip to main content

OpenRouter AI Service Skill

Skill Verified Active

OpenRouter unified AI API - Access 200+ LLMs through single interface with intelligent routing, streaming, cost optimization, and model fallbacks

Purpose

To enable developers to easily integrate with and leverage the power of over 200 diverse AI models through a single, cost-effective, and intelligently routed API.

Features

  • Unified access to 200+ LLMs via OpenRouter
  • OpenAI-compatible API interface
  • Intelligent model routing and fallbacks
  • Real-time streaming responses
  • Cost tracking and optimization strategies
  • Function calling and vision model support
  • Comprehensive error handling and retry logic

Use Cases

  • Building multi-model AI applications
  • Optimizing LLM inference costs
  • Implementing model A/B testing
  • Avoiding vendor lock-in with diverse model access
  • Developing applications requiring real-time LLM responses

Non-Goals

  • Managing individual LLM provider accounts or keys
  • Providing a direct client for any single LLM
  • Abstracting LLM-specific advanced features beyond OpenAI compatibility
  • Performing local AI model execution

Workflow

  1. Obtain OpenRouter API key
  2. Install necessary SDKs (e.g., OpenAI SDK)
  3. Configure API key as an environment variable
  4. Implement API calls using provided code examples for chat, streaming, function calling, etc.
  5. Incorporate error handling, retries, and cost optimization strategies
  6. Handle responses, including streaming data

Practices

  • API Integration
  • LLM Operations
  • Cost Management
  • Error Handling
  • Security Best Practices

Prerequisites

  • OpenAI SDK (npm/pip)
  • OpenRouter API Key
  • Environment variable `OPENROUTER_API_KEY` configured

Installation

npx skills add bobmatnyc/claude-mpm-skills

Runs the Vercel skills CLI (skills.sh) via npx — needs Node.js locally and at least one installed skills-compatible agent (Claude Code, Cursor, Codex, …). Assumes the repo follows the agentskills.io format.

Quality Score

Verified
99 /100
Analyzed about 22 hours ago

Trust Signals

Last commit29 days ago
Stars44
LicenseMIT
Status
View Source

Similar Extensions

TradeMemory Protocol

100

Domain knowledge for the Evolution Engine — LLM-powered autonomous strategy discovery from raw OHLCV data. Covers the generate-backtest-select-evolve loop, vectorized backtesting, out-of-sample validation, and strategy graduation. Use when discovering trading patterns, running backtests, evolving strategies, or reviewing evolution logs. Triggers on "evolve", "discover patterns", "backtest", "evolution", "strategy generation", "candidate strategy".

Skill
mnemox-ai

Image Transformation API

100

Transform images with resize, crop, smart crop, upscale, remove background, and 20+ operations.

Skill
iterationlayer

Trader Regime

100

Detect current market regime using npx neural-trader — bull/bear/ranging/volatile classification with recommended strategy

Skill
ruvnet

Trading Memory

100

Domain knowledge for AI trading memory — Outcome-Weighted Memory (OWM) architecture, 5 memory types, recall scoring, and behavioral analysis. Use when recording trades, recalling similar contexts, analyzing performance, or checking behavioral drift. Triggers on "record trade", "remember trade", "recall", "similar trades", "performance", "behavioral", "disposition", "affective state", "confidence".

Skill
mnemox-ai

Azure Ai Document Intelligence Dotnet

100

Azure AI Document Intelligence SDK for .NET. Extract text, tables, and structured data from documents using prebuilt and custom models. Use for invoice processing, receipt extraction, ID document analysis, and custom document models. Triggers: "Document Intelligence", "DocumentIntelligenceClient", "form recognizer", "invoice extraction", "receipt OCR", "document analysis .NET".

Skill
microsoft

Qwen Edit

100

AI image editing prompting patterns for Qwen-Image-Edit. Use when editing photos while preserving identity, reframing cropped images, changing clothing or accessories, adjusting poses, applying style transfers, or character transformations. Provides prompt patterns, parameter tuning, and examples.

Skill
digitalsamba

© 2025 SkillRepo · Find the right skill, skip the noise.