extremerouter

extremerouter is a skill for Claude Code, Codex from rsalmn/ExtremeRouter. It costs 84 tokens per session (855 once invoked), scanned A, original, MIT.

An AI gateway that provides one OpenAI-compatible web interface for chat, image generation, speech, embeddings, and web tools from multiple providers. It can run locally or remotely and requires a configured server URL, with an API key when authentication is enabled.

In plain words
What is it for?
Connecting applications to chat models, image generation, text-to-speech, embeddings, web search, web fetching, speech recognition, and image understanding.
Why use it?
It avoids writing separate provider-specific integration code and gives applications one place to discover and call different AI models.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Connecting applications to chat models, image generation, text-to-speech, embeddings, web search, web fetching, speech recognition, and image understanding.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rsalmn/extremerouter/extremerouter
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 rsalmn/ExtremeRouter --skill extremerouter
Clone the repo
git clone --depth 1 https://github.com/rsalmn/ExtremeRouter

Made for: Claude Code, Codex.

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 extremerouter

README.md
[![agentmods](https://agentmods.dev/badge/skills/rsalmn/extremerouter/extremerouter/github.svg)](https://agentmods.dev/skills/rsalmn/extremerouter/extremerouter)
Your own site
<a href="https://agentmods.dev/skills/rsalmn/extremerouter/extremerouter"><img src="https://agentmods.dev/badge/skills/rsalmn/extremerouter/extremerouter/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 extremerouter

Your own site · 80×15
<a href="https://agentmods.dev/skills/rsalmn/extremerouter/extremerouter"><img src="https://agentmods.dev/badge/skills/rsalmn/extremerouter/extremerouter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 855 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 7 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 49
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 50
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 51
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 52
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 53
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 54
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 55
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00084 $0.00855
Opus 5.5 $0.00034 $0.00342
Sonnet 5.5 $0.00017 $0.00171
Haiku 4.5 $0.00008 $0.00085

Measured 1mo ago against content hash 7e915ab5fd53, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

extremerouter 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 1mo 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.

Verify: `curl $NINEROUTER_URL/api/health` → `{"ok":true}`
skills/extremerouter/SKILL.md · 62 lines

How it starts

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

ExtremeRouter

Local/remote AI gateway exposing OpenAI-compatible REST. One key, many providers, auto-fallback.

Setup

export NINEROUTER_URL="http://localhost:20128"      # or VPS / tunnel URL
export NINEROUTER_KEY="sk-..."                      # from Dashboard → Keys (only if requireApiKey=true)

All requests: ${NINEROUTER_URL}/v1/... with header Authorization: Bearer ${NINEROUTER_KEY} (omit if auth disabled).

Verify: curl $NINEROUTER_URL/api/health → {"ok":true}

Discover models

curl $NINEROUTER_URL/v1/models                  # chat/LLM (default)
curl $NINEROUTER_URL/v1/models/image            # image-gen
curl $NINEROUTER_URL/v1/models/tts              # text-to-speech
curl $NINEROUTER_URL/v1/models/embedding        # embeddings
curl $NINEROUTER_URL/v1/models/web              # web search + fetch (entries have `kind` field)
curl $NINEROUTER_URL/v1/models/stt              # speech-to-text
curl $NINEROUTER_URL/v1/models/image-to-text    # vision

Use data[].id as model field in requests. Combos appear with owned_by:"combo".

Response shape:

{ "object": "list", "data": [
  { "id": "openai/gpt-5", "object": "model", "owned_by": "openai", "created": 1735000000 },
  { "id": "tavily/search", "object": "model", "kind": "webSearch", "owned_by": "tavily", "created": 1735000000 }
]}

Capability skills

When the user needs a specific capability, fetch that skill's SKILL.md from its raw URL:

Capability Raw URL
Chat / code-gen https://raw.githubusercontent.com/rsalmn/extremerouter/refs/heads/master/skills/extremerouter-chat/SKILL.md
Image generation https://raw.githubusercontent.com/rsalmn/extremerouter/refs/heads/master/skills/extremerouter-image/SKILL.md
Text-to-speech https://raw.githubusercontent.com/rsalmn/extremerouter/refs/heads/master/skills/extremerouter-tts/SKILL.md
Speech-to-text https://raw.githubusercontent.com/rsalmn/extremerouter/refs/heads/master/skills/extremerouter-stt/SKILL.md
Embeddings https://raw.githubusercontent.com/rsalmn/extremerouter/refs/heads/master/skills/extremerouter-embeddings/SKILL.md
Web search https://raw.githubusercontent.com/rsalmn/extremerouter/refs/heads/master/skills/extremerouter-web-search/SKILL.md
Web fetch (URL → markdown) https://raw.githubusercontent.com/rsalmn/extremerouter/refs/heads/master/skills/extremerouter-web-fetch/SKILL.md

Read the full file on GitHub · 62 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. 1mo ago First seen · 62 lines · 84 tokens per session scan A 7e915ab5fd53

Subscribe to this mod's changes

extremerouter is a skill published in the GitHub repository rsalmn/ExtremeRouter (47 stars, last pushed 25d ago), licensed MIT. It adds 84 tokens to every session and 855 once invoked, about $0.0003 per session on Opus 5.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-30.