10router

10router is a skill for Claude Code, Codex from techysy/10router. It costs 83 tokens per session (829 once invoked), scanned A, original, MIT.

A local or remote gateway that provides one OpenAI-compatible interface for chat, image generation, speech, embeddings, web search, web-page fetching, and other AI models.

In plain words
What is it for?
Use it to configure 10Router, check its health, list available models, and send requests for the supported AI capabilities.
Why use it?
It reduces provider-specific integration work by letting applications discover and call supported models through one endpoint, with optional automatic fallback between providers.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/techysy/10router/10router
Any agent
npx skills add techysy/10router --skill 10router
Clone the repo
git clone --depth 1 https://github.com/techysy/10router

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 10router

README.md
[![agentmods](https://agentmods.dev/badge/skills/techysy/10router/10router.svg)](https://agentmods.dev/skills/techysy/10router/10router)
Your own site
<a href="https://agentmods.dev/skills/techysy/10router/10router"><img src="https://agentmods.dev/badge/skills/techysy/10router/10router.svg" alt="Measured on agentmods" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 829 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00083 $0.00829
Opus 5 $0.00042 $0.00415
Sonnet 5 $0.00017 $0.00166
Haiku 4.5 $0.00008 $0.00083

Measured yesterday against content hash 2394ca08d91a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

10router 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 yesterday.

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 $TENROUTER_URL/api/health` → `{"ok":true}`
skills/10router/SKILL.md · 63 lines

How it starts

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

10Router

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

Setup

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

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

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

Discover models

curl $TENROUTER_URL/v1/models                  # chat/LLM (default)
curl $TENROUTER_URL/v1/models/image            # image-gen
curl $TENROUTER_URL/v1/models/tts              # text-to-speech
curl $TENROUTER_URL/v1/models/embedding        # embeddings
curl $TENROUTER_URL/v1/models/web              # web search + fetch (entries have `kind` field)
curl $TENROUTER_URL/v1/models/stt              # speech-to-text
curl $TENROUTER_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/techysy/10router/main/skills/10router-chat/SKILL.md
Image generation https://raw.githubusercontent.com/techysy/10router/main/skills/10router-image/SKILL.md
Text-to-speech https://raw.githubusercontent.com/techysy/10router/main/skills/10router-tts/SKILL.md
Speech-to-text https://raw.githubusercontent.com/techysy/10router/main/skills/10router-stt/SKILL.md
Embeddings https://raw.githubusercontent.com/techysy/10router/main/skills/10router-embeddings/SKILL.md
Web search https://raw.githubusercontent.com/techysy/10router/main/skills/10router-web-search/SKILL.md
Web fetch (URL → markdown) https://raw.githubusercontent.com/techysy/10router/main/skills/10router-web-fetch/SKILL.md
Add a custom provider (self-serve) https://raw.githubusercontent.com/techysy/10router/main/skills/10router-add-provider/SKILL.md

Read the full file on GitHub · 63 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday Changed · +1 lines 2394ca08d91a
  2. 5d ago First seen · 62 lines · 83 tokens per session scan A ee5b47ea18c5

Subscribe to this mod's changes

10router is a skill published in the GitHub repository techysy/10router (18 stars, last pushed yesterday), licensed MIT. It adds 83 tokens to every session and 829 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

keirouter

Entry point for KeiRouter — local/remote AI gateway with OpenAI-compatible REST for chat, image, TTS, embeddings, web search, web fetch. Use when the user mentions KeiRouter, KEIROUTERURL, or wants AI without writing provider boilerplate. This skill covers setup + indexes capability skills; fetch the relevant…

mydisha/keirouter · 82 tokens

keirouter-chat

Chat / code generation via KeiRouter using OpenAI /v1/chat/completions or Anthropic /v1/messages format with streaming + auto-fallback combos. Use when the user wants to ask an LLM, generate code, summarize text, or run prompts through KeiRouter.

mydisha/keirouter · 62 tokens

keirouter-embeddings

Generate vector embeddings via KeiRouter /v1/embeddings using OpenAI / Gemini / Mistral / Voyage / Nvidia embedding models for RAG, semantic search, similarity. Use when the user wants embeddings, vectors, RAG, semantic search, or to embed text.

mydisha/keirouter · 63 tokens

omni-inference

The core OpenAI-compatible inference endpoints: chat completions, embeddings, images, audio (TTS/STT), moderations, rerank, and the Responses API. The primary integration surface for AI agents.

diegosouzapw/OmniRoute · 47 tokens

omni-compression

Configure RTK (command output), Caveman (prose), and stacked compression modes. Manage language packs, custom rules, and test prompt compression reducing tokens by 60–90%.

diegosouzapw/OmniRoute · 42 tokens

cli-eval

Create and run evaluation suites, watch live benchmark progress, view scorecards, compare model performance, and integrate eval runs with CI workflows from the CLI.

diegosouzapw/OmniRoute · 34 tokens