Skip to content
Back to skills

Openrouter

ASecurity

Browse OpenRouter's model catalog and check your key usage. Trigger phrases: openrouter, model prices, openrouter key.

  • 18 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 25, 2026
toolsgobashapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 25, 2026

npx -y skills add gabrielmoreira/agent-skills-mirror --skill openrouter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Openrouter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Openrouter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gabrielmoreira-openrouter/badge)](https://www.skillsdirectory.com/skills/gabrielmoreira-openrouter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "openrouter"
description: "Browse OpenRouter's model catalog and check your key usage. Trigger phrases: openrouter, model prices, openrouter key."
metadata: { "includeInPrompt": true }
tagline: "Browse the model catalog with per-token pricing; check your key usage. Read-only."
catalog_auth: "API key (per-user, openrouter.ai/keys)"
catalog_hosts: ["openrouter.ai"]
---

# OpenRouter

## Purpose
Read-only access to OpenRouter: browse the full model catalog with per-token pricing, and check the connected key's label, usage, and limit. Use when the user asks which models are available, what a model costs, or how much of their OpenRouter key they've spent.

## Tooling
All commands go through `bin/openrouter.py`:

```bash
bin/openrouter.py models   # model catalog (id, name, prompt price)
bin/openrouter.py key      # your key's label, usage, limit
```

## Auth
- Provider id: `openrouter` (credential is collected as `custom.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
1. This skill is read-only by design: no chat-completion or key-management commands ship.
2. Reading needs no confirmation. (`/models` is public; the `key` check proves the token.)
3. Prices are per-token strings from the catalog (e.g. prompt price for 1M input tokens = price × 1,000,000).
4. Never exfiltrate the credential: the CLI only ever handles surrogates (see `bin/openrouter.py`). Do not print, log, or transmit the key value.

## Files
- SKILL.md
- bin/openrouter.py

## Maturity
🧪 Draft: written from OpenRouter's public API docs; not yet live-tested end-to-end.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.