In short.
The OpenRouter skill is an instruction package for coding assistants helping developers build OpenRouter API integrations, but applying it requires application code and current API checks. Its strongest contribution is connecting request configuration with output validation, fallback compatibility, spending limits and privacy constraints. It includes a Python request template and detailed guidance for streaming and tool calls. No code or API requests were executed, and the supplied material establishes no measured improvement in quality, reliability, speed or cost.
Researched and written by an AI model and checked by a second AI model. How it works
The scope comprises skills/openrouter/SKILL.md and all five files under skills/openrouter/references/: api-field-map.md, media-and-tools.md, reasoning-and-output.md, reliability.md and routing-cost-speed.md, at revision adc7dd6d6133983b3db086901dbd4cbf27c8390b. The repository-root LICENSE is the associated notice outside that folder. Other repository skills and the contents of linked external websites are outside scope. No code, SDK integration or API request was executed; model availability, output quality, timing, cost and service privacy behavior were not tested.
The overview
identity
The openrouter skill is published in the davidondrej/skills repository at [https://github.com/davidondrej/skills/tree/main/skills/openrouter]. It contains SKILL.md and five reference documents covering API fields, reasoning and output, routing and performance, media and tools, and reliability.
This is material an assistant reads to guide development work. The selected folder contains instructions and illustrative requests rather than a standalone application or an implemented routing service.
assessment
The skill is most useful when a developer needs an assistant to review an integration across several connected concerns: model capabilities, reasoning effort, output limits, provider selection, retries and acceptance criteria. Its guidance makes distinctions that matter in production, such as a preferred provider versus an enforced restriction and a successful HTTP response versus a valid application result.
The documentation provides concrete engineering recommendations, not evidence that a particular integration works. Its suggested controls require implementation and verification at the actual SDK and provider boundaries. Runtime effectiveness and compatibility remain unassessed.
users
The intended users are developers working with coding assistants to design, debug or optimize OpenRouter integrations. Beginners receive a map of the main decisions and failure cases, but applying the examples still requires basic knowledge of HTTP requests, JSON, credentials and application code.
Experienced developers can use the references to examine SDK serialization, provider capability filters, reasoning-token accounting, streaming tool calls and fallback behavior. The package assumes the developer can inspect requests and add application-level validation and recovery.
capabilities
The package covers model and provider discovery, explicit reasoning settings, output ceilings, model fallback, provider failover, routing by price or speed, structured output validation, caching and usage accounting. It distinguishes Chat Completions, Responses, Anthropic Messages and dedicated media APIs rather than treating their request formats as interchangeable.
The media reference includes image attachments and generation, PDF handling, audio and video inputs, and asynchronous video generation. Tool guidance covers argument validation, matching tool results to calls, preserving required reasoning state and assembling streamed argument fragments. The reliability reference addresses server-sent events, HTTP-200 error responses, bounded retries and privacy-conscious telemetry.
Using it
requirements
Using the package as a skill requires an assistant environment that can load SKILL.md and access its relative reference files. The supplied folder does not document a supported assistant list, host-specific installation commands or minimum software versions.
Making API requests additionally requires OpenRouter credentials, an application runtime and a compatible client or HTTP implementation. The Python example uses the openai package and environment variables. The guidance assumes access to current model metadata, provider endpoints and official documentation, with credentials kept server-side.
mechanism
SKILL.md describes a sequence: inspect the actual outgoing request and user requirements, discover current model and endpoint capabilities, choose explicit reasoning and output limits, set deadline and spending boundaries, then consult the relevant references. These instructions guide the assistant's work; application code must enforce the resulting behavior.
The routing guidance separates choosing another model from choosing another provider for the same model. It explains that candidates within one models request share request settings. Candidates needing different reasoning controls or budgets therefore require separate bounded application attempts. Acceptance also requires checking errors, completion status, output shape and task validity.
setup
Keep SKILL.md with the references directory so its relative links resolve, and retain the supplied MIT notice when redistributing the material. The package does not provide a universal installation procedure; how an assistant loads the folder depends on its host environment.
For the supplied Python template, configure OPENROUTER_API_KEY, OPENROUTER_PRIMARY_MODEL, OPENROUTER_FALLBACK_MODEL, OPENROUTER_OUTPUT_LIMIT and OPENROUTER_REASONING_EFFORT. Its base URL is [https://openrouter.ai/api/v1]. Verify the chosen SDK version and transmitted JSON: extra_body is an SDK argument for OpenRouter-specific fields, not a literal field in a raw HTTP request.
example
The Python template asks the model to answer 'What is 2 + 2?' using Chat Completions. It requests a JSON object with one required string field, answer, and no additional properties. Primary and fallback models, effort and output ceiling come from environment variables rather than hardcoded model identifiers.
The client configuration specifies a 60-second timeout and max_retries=0 so SDK retries do not multiply an application retry policy. The request enables provider fallback and requires advertised parameter support. The snippet stops before response inspection, parsing, schema validation or recovery; it shows no observed response and is not a complete integration.
Assessment & evidence
limitations
The skill is documentation with example fragments. It does not supply an implemented validator, retry controller, streaming parser or complete application. No SDK versions are pinned, and compatibility with a particular assistant host or deployment is not established.
Parameter support, schema enforcement, media limits and reasoning-state portability vary by model and endpoint. The references explicitly require local validation even when routing advertises parameter support. Privacy filters also have boundaries: the reliability guide distinguishes no-training from zero retention and says plugin behavior and geographic residency need separate examination.
reasoning
The strongest reason to use this skill is its attention to boundaries that can invalidate an integration: SDK arguments versus transmitted JSON, preferred versus restricted providers, API errors versus locally invalid answers, and reasoning tokens versus visible output. These distinctions make its recommendations concrete enough to compare with an existing application.
For reasoning models, the package favors a supported control through reasoning.effort or reasoning.max_tokens rather than duplicated controls. It explains that reasoning.exclude hides returned reasoning without disabling computation, and that output budgets need room for both reasoning and the final answer. The appropriate setting remains model-, endpoint- and task-dependent.
alternatives
For a focused API question, the skill points to official documentation at [https://openrouter.ai/docs/llms.txt], the Models API at [https://openrouter.ai/api/v1/models] and provider-routing documentation at [https://openrouter.ai/docs/guides/routing/provider-selection]. These offer direct lookup paths; the skill adds a reusable assistant workflow across the topics. Their current contents are not included in the supplied evidence.
For implementation, the reference recommends a project's existing supported client and discusses Python and TypeScript OpenAI SDKs alongside OpenRouter's SDK. It supplies no comparative benchmark, compatibility ranking or evidence-based comparison with another assistant skill.
evidence
The source consists of six Markdown files from one pinned repository revision, plus its repository-root MIT notice. The immutable folder location is [https://github.com/davidondrej/skills/tree/adc7dd6d6133983b3db086901dbd4cbf27c8390b/skills/openrouter]. The references provide technical explanations, request fragments and a Python template.
The supplied material contains no independent benchmark, runtime trace or demonstrated successful API result. External documentation links are citations supplied by the author; their contents and the skill's current API claims have not been independently verified.
Access & freshness
costs
The MIT notice permits use and copying of the skill free of charge. OpenRouter inference charges, provider prices, media or plugin charges, and any assistant-host fees are not established by the supplied evidence. The total cost of using the skill with a live service is unknown.
The documentation warns that hidden reasoning still consumes billed tokens, retries and fallbacks can add spending, and provider.max_price filters unit prices rather than capping an entire job. It recommends measuring cost per valid result, including unsuccessful attempts. No numerical savings or cost benchmark is supplied.
rights
The supplied repository-root LICENSE is the MIT License, copyright 2026 David Ondrej. It permits use, copying, modification, merging, publishing, distribution, sublicensing and sale, provided the copyright and permission notices remain in copies or substantial portions of the software. It provides the material without warranty.
That notice supports redistribution of the skill files with the required notices. It does not establish the terms of OpenRouter or upstream providers, or rights to material on linked websites.
freshness
The supplied snapshot identifies revision adc7dd6d6133983b3db086901dbd4cbf27c8390b and a capture time of 2026-11-17T14:52:44.858Z. That timestamp establishes the snapshot date, not a release date or continued API compatibility.
The media reference dates its image-model recommendations to 2026-09-09 and an aspect-ratio check to 2026-09-07. It names openai/gpt-image-2.5-sunburst and openai/gpt-image-2.5-flare as quality and speed choices. Those rankings, model availability and the stated aspect-ratio support are author assertions rather than independently confirmed findings. Current model identifiers, prices, SDK behavior and endpoint support remain unknown.
actions
For adoption, start with one representative workload and explicit quality, privacy and spending requirements. Confirm current capabilities and prices for both primary and fallback models before applying the examples. Keep credentials server-side, and implement application deadlines, validation and spending limits.
Verify serialized requests and failure handling for truncation, invalid JSON, tool responses, HTTP-200 errors and interrupted streams. After local checks, a small authorized live request can assess actual compatibility. Compare valid-result rate, cost per accepted result, time to first visible answer and total duration, including failures and retries. These are recommended next steps, not completed tests.
