Back to skills
SKILL.md
10router
ASecurityEntry point for 10Router — local/remote AI gateway with OpenAI-compatible REST for chat, image, TTS, embeddings, web search, web fetch. Use when the user mentions 10Router, TENROUTER_URL, or wants AI without writing provider boilerplate. This skill covers setup + indexes capability skills; fetch the relevant capability SKILL.md from the URLs below when needed.
- 58 stars
- 0 votes
- 0 copies
- 1 view
- Added September 2, 2026
Works with
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add techysy/10router --skill 10router --agent claude-codeAre you the author of 10router?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/techysy-10router)---
name: 10router
description: Entry point for 10Router — local/remote AI gateway with OpenAI-compatible REST for chat, image, TTS, embeddings, web search, web fetch. Use when the user mentions 10Router, TENROUTER_URL, or wants AI without writing provider boilerplate. This skill covers setup + indexes capability skills; fetch the relevant capability SKILL.md from the URLs below when needed.
---
# 10Router
Local/remote AI gateway exposing OpenAI-compatible REST. One key, many providers, auto-fallback.
## Setup
```bash
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
```bash
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:
```json
{ "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 |
## Errors
- 401 → set/refresh `TENROUTER_KEY` (Dashboard → Keys)
- 400 `Invalid model format` → check `model` exists in `/v1/models/<kind>`
- 503 `All accounts unavailable` → wait `retry-after` or add another provider account
Files in this skill
- SKILL.md
- SKILL.zh-CN.md
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.