openrouter-model-availability
Skill by jeremylongshore
Monitors whether specific OpenRouter models are online and still listed in the catalog. Built for developers whose systems depend on particular models, with catalog checks, live health probes and a cron monitoring script.
Install openrouter-model-availability
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/openrouter-model-availability ~/.claude/skills/openrouter-model-availabilityRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install openrouter-model-availability in Claude Code
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/openrouter-model-availability ~/.gemini/antigravity-cli/skills/openrouter-model-availabilityAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install openrouter-model-availability in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill checks the availability of OpenRouter models. It queries the public /api/v1/models catalog to confirm that a model exists and to read its context length and per-million pricing, without spending tokens. If a model is missing, it suggests same-provider model IDs as possible replacements.
For live status, it sends a minimal request with max_tokens set to 1 and records whether the model answered, the latency and a timestamp. A sweep function checks a list of critical models, and a bash script can run on a five-minute cron schedule and append status lines to a log file. The source recommends requiring two or three consecutive failures before marking a model down. It is intended for developers whose systems depend on specific models being online.
Written from the project's SKILL.md and checked against it.
What it can do
- Catalog status queriesUses curl and jq to check listed models' context length and per-million pricing.
- check_model_exists()Checks whether a model ID is in the catalog without making an API call.
- find_similar()Suggests same-provider model IDs when a model is missing from the catalog.
- probe_model()Sends a max_tokens 1 request and returns a HealthStatus with latency and timestamp.
- check_critical_models()Probes a list of critical models and logs OK or FAIL with latency for each.
- Availability monitoring scriptBash script for cron that appends timestamped status lines to a log file.
What you need
- OpenRouter API key for live probes
- curl and jq
- Python 3.8+ with openai and requests
- Small OpenRouter credit balance
Try asking
- Is anthropic/claude-3.5-sonnet still in the OpenRouter catalog?
- Run a health check on my critical OpenRouter models.
- Suggest replacement models if openai/gpt-4o is removed.
Good to know
- Live probes cost credits, roughly $0.0001 each according to the source.
- Health checks can fail with a 402 error when credits are exhausted.
- The catalog query needs no API key, but live probes do.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/openrouter-model-availability/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditGrepBash(python3:*)Bash(curl:*)Bash(jq:*)
Alternatives to openrouter-model-availability
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
openrouter-model-availability: common questions
Does checking the model catalog cost anything?
The source says the catalog query uses no tokens and needs no auth. Only live probes spend credits.
How much does each health probe cost?
The source estimates roughly $0.0001 per probe when using max_tokens 1.
How can I avoid false down alerts?
The source advises requiring two or three consecutive failures before marking a model as down.
How do I install openrouter-model-availability?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is openrouter-model-availability free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is openrouter-model-availability safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to openrouter-model-availability?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
