openrouter-remote

openrouter-remote is a skill for Claude Code from osouthgate/agent-plus-skills. It costs 57 tokens per session (3,174 once invoked), scanned A, original, MIT.

A command-line tool for OpenRouter, a service that provides access to many AI models. It checks credits, summarises usage, searches the model catalogue, and manages API keys through separate credentials.

In plain words
What is it for?
Checking credit balance and spend, finding models by price or capabilities such as tool support and context size, and creating or disabling API keys.
Why use it?
It avoids checking balances, comparing models, and reviewing key usage manually through different OpenRouter interfaces. Its JSON output can be filtered with `jq`, a command-line JSON tool.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument; mentions Claude Code.

Part of the openrouter-remote plugin — 1 skill shipped together

Good fit Checking credit balance and spend, finding models by price or capabilities such as tool support and context size, and creating or disabling API keys.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/osouthgate/agent-plus-skills/openrouter-remote
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add osouthgate/agent-plus-skills --skill openrouter-remote
Clone the repo
git clone --depth 1 https://github.com/osouthgate/agent-plus-skills

Made for: Claude Code.

Or install openrouter-remote, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openrouter-remote

README.md
[![agentmods](https://agentmods.dev/badge/skills/osouthgate/agent-plus-skills/openrouter-remote/github.svg)](https://agentmods.dev/skills/osouthgate/agent-plus-skills/openrouter-remote)
Your own site
<a href="https://agentmods.dev/skills/osouthgate/agent-plus-skills/openrouter-remote"><img src="https://agentmods.dev/badge/skills/osouthgate/agent-plus-skills/openrouter-remote/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for openrouter-remote

Your own site · 80×15
<a href="https://agentmods.dev/skills/osouthgate/agent-plus-skills/openrouter-remote"><img src="https://agentmods.dev/badge/skills/osouthgate/agent-plus-skills/openrouter-remote.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,174 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.03174
Opus 5 $0.00028 $0.01587
Sonnet 5 $0.00011 $0.00635
Haiku 4.5 $0.00006 $0.00317

Measured 9d ago against content hash c8da632aa4ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

openrouter-remote scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

**This wrapper is management-plane only.** It covers balance, aggregated usage, model catalogue (list/cheap/show/endpoints), and user-key CRUD (list/show/create/disable/enable/rename/set-limit/delete). Everything else on
openrouter-remote/skills/openrouter-remote/SKILL.md · 197 lines

How it starts

The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.

openrouter-remote

Stdlib-only Python 3 CLI wrapping three OpenRouter surfaces:

  • BalanceGET /api/v1/credits (needs user key)
  • ModelsGET /api/v1/models (no auth) with rich client-side filtering
  • Keys/api/v1/keys* (needs provisioning key, a distinct credential)

Lives at ${CLAUDE_SKILL_DIR}/../../bin/openrouter-remote; the plugin auto-adds bin/ to PATH.

Every JSON payload carries a top-level tool: {name, version} field. Check it with openrouter-remote --version, or inspect live output via openrouter-remote balance --json | jq .tool — useful when debugging whether an agent is hitting a stale plugin install.

Pipe JSON through jq for any non-trivial slicing — e.g. models list --json --supports tools | jq '.[] | select(.context_length >= 200000) | .id', or usage --json | jq '.totals.monthly'. The CLI's built-in filters cover the common cases; jq is the escape hatch for everything else without re-fetching.

When to reach for this

  • User asks about balance, remaining credits, or current spend.
  • User wants to know which model to use for a task (cheapest with tools, biggest context, etc.).
  • User wants to create / disable / delete API keys or change their limits.
  • You're configuring a Hermes cron that needs to alert when credits get low — use balance --alert-below.

Do NOT use this for making chat completions — that's what an OpenAI-compatible SDK pointed at https://openrouter.ai/api/v1 is for. This plugin is management-plane only.

When NOT to use this — fall back to direct OpenRouter API calls

This wrapper is management-plane only. It covers balance, aggregated usage, model catalogue (list/cheap/show/endpoints), and user-key CRUD (list/show/create/disable/enable/rename/set-limit/delete). Everything else on OpenRouter is unwrapped — reach for curl https://openrouter.ai/api/v1/... with Authorization: Bearer $OPENROUTER_API_KEY directly. OpenRouter has no first-party CLI, so raw HTTP is the official escape hatch.

Read the full file on GitHub · 197 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 197 lines · 57 tokens per session scan A c8da632aa4ff

Subscribe to this mod's changes

openrouter-remote is a skill published in the GitHub repository osouthgate/agent-plus-skills (2 stars, last pushed 4mo ago), licensed MIT. It adds 57 tokens to every session and 3,174 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

fs-creative-voltage

OpenDesign's seed pitch: the open, local alternative to closed AI design — why now, the wedge, and the ask. Built as a decision-grade fundraising pitch deck for pre-seed & seed VCs.

nexu-io/open-design · 49 tokens

technical-basic

Core technical indicator collection (trend EMA/ADX + mean-reversion BB/RSI + volume-price OBV/volume ratio), generates a composite signal via three-dimensional voting. Pure pandas implementation for any OHLCV data.

HKUDS/Vibe-Trading · 48 tokens

qveris

Paid capability marketplace for global multi-asset data; use it when free Vibe-Trading sources lack coverage, depth, or provider quality, and keep free sources as the default for routine OHLCV.

HKUDS/Vibe-Trading · 45 tokens

tinker-training-cost

Calculates training costs for Tinker fine-tuning jobs. Use when estimating costs for Tinker LLM training, counting tokens in datasets, or comparing Tinker model training prices. Tokenizes datasets using the correct model tokenizer and provides accurate cost estimates.

synthetic-sciences/openscience · 55 tokens

pgvector-semantic-search

Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. Trigger when user asks to: Store or search vector embeddings in PostgreSQL Set up semantic search, similarity search, or nearest neighbor search Create HNSW or IVFFlat indexes for vectors…

timescale/pg-aiguide · 190 tokens

postgres-hybrid-text-search

Use this skill to implement hybrid search combining BM25 keyword search with semantic vector search using Reciprocal Rank Fusion (RRF). Trigger when user asks to: Combine keyword and semantic search Implement hybrid search or multi-modal retrieval Use BM25/pgtextsearch with pgvector together Implement RRF (Reciprocal…

timescale/pg-aiguide · 162 tokens