openrouter
OpenRouter chat completions, the full model catalog with pricing, and key usage/limit reporting. Trigger phrases: openrouter, model prices, openrouter key…
от gabrielmoreira★ 23 звезды на GitHub
Установить openrouter в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
OpenRouter
Purpose
Work with OpenRouter through its public API: run chat completions against hundreds of hosted models, browse the model catalog with names and per-token pricing (prompt and completion), filter for free models, and check the connected key's label, usage, and limit. Use when the user asks to run a model through OpenRouter, compare model prices, find a free model, or check key spend.
Source: OpenRouter API documentation (openrouter.ai/docs), checked 2026-10-19.
Tooling
All commands go through bin/openrouter.py:
bin/openrouter.py key # status check: key label, usage, limit
bin/openrouter.py models [--free-only] [--filter substr] [--limit N] # catalog (public, unauthenticated)
bin/openrouter.py chat --model <model-id> --prompt "..." [--system "..."] [--max-tokens N] [--temperature T]
Auth
- Provider id:
openrouter(credential is collected ascustom.openrouter) - Collection: API key from openrouter.ai/keys, via the secure credential flow (
credentials.request_api_access) - Connect placement: bearer_header
- Allowed hosts:
openrouter.ai - Status check:
bin/openrouter.py key(must return your key's label and usage)
Operating Rules
- The previous catalog version of this connector was read-only; this production version also runs
chatcompletions, because model routing is what the connector is for. A chat call spends the key's balance (or free-tier quota) — that is its purpose, not a side effect to confirm each time, but say which model ran and watchkeyusage on metered keys. modelsis a public endpoint and is called without the credential attached — never send a key where it isn't needed. (The earlier catalog draft attached the credential to this public call; this version removes that.)- Model ids and availability change constantly; check
modelsbefore assuming an id works. A:freevariant can return 404 "unavailable for free" on accounts without credit history even when listed — keep a known-good free fallback and verify with a real call before relying on one. - A 401 is a question about the request before it is a question about the key — confirm the surrogate was attached. Never print, log, or persist the raw key; the CLI only ever handles surrogates.
Files
- SKILL.md
- bin/openrouter.py
Maturity
✅ Live — this is the production version from a running Muse setup: chat completions and the model catalog run daily as part of a multi-provider model-routing pool; the key and enriched models commands were merged from the earlier catalog draft and verified against the real API. Live-tested 2026-10-19.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл openrouter?
OpenRouter chat completions, the full model catalog with pricing, and key usage/limit reporting. Trigger phrases: openrouter, model prices, openrouter key, chat completion.
Как установить скилл openrouter?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл openrouter запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…