10router-add-provider
Skill by techysy
Adds a custom OpenAI or Anthropic compatible upstream to a running 10Router through its management API. Covers node and connection setup, prefixed model routing and upstream probing. Aimed at users registering self-hosted gateways.
Install 10router-add-provider
Built from the published package, never by AI.
git clone --depth 1 https://github.com/techysy/10router /tmp/10router && mkdir -p ~/.claude/skills && cp -r /tmp/10router/skills/10router-add-provider ~/.claude/skills/10router-add-providerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/techysy/10router /tmp/10router && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/10router/skills/10router-add-provider ~/.gemini/antigravity-cli/skills/10router-add-providerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install 10router-add-provider in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill lets an AI agent or user register a custom OpenAI or Anthropic compatible upstream with a running 10Router. It sends the baseUrl, the upstream's own API key and its models to the management API. The source says no source change, repackage or restart is needed, and the provider is live for later /v1 requests.
Registration has two steps. First, a node is created with a name, prefix, apiType, baseUrl and type. Then a connection is added with the upstream key, linked to that node. The skill says custom node models must use the prefix/model form. It also suggests probing the upstream with /v1/models and a test chat request before registering. It is written for people who run self-hosted gateways or want a custom upstream routable in 10Router.
Written from the project's SKILL.md and checked against it.
What it can do
- Create a custom nodeRegisters an openai-compatible, anthropic-compatible or custom-embedding node with a baseUrl and prefix.
- Add an upstream connectionLinks the upstream's own API key to a node created in the first step.
- Probe the upstreamChecks /v1/models and a test chat request before registering a key or baseUrl.
- Route prefixed modelsSends requests for prefix/model names to the custom node instead of built-in providers.
What you need
- A running 10Router instance
- TENROUTER_URL pointing to its management API
- A dashboard LLM key or the deployer's CLI token
- The upstream baseUrl and its API key
Try asking
- Register https://gw.example.com/v1 as an openai-compatible node named MyGW
- Add my upstream sk-key to the MyGW node in 10Router
- Probe this gateway's /v1/models before adding it to 10Router
Good to know
- Custom node models must use the prefix/model form, not a bare model name.
- Only the root-path POST calls accept a dashboard LLM key; other routes need the CLI token or login JWT.
- Loopback requests may be treated differently, so test the auth exemption from a non-loopback address.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/10router-add-provider/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to 10router-add-provider
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
10router-add-provider: common questions
Does adding a custom provider need a restart?
No. The source says no restart is needed after adding a node or connection at runtime, and it applies to later /v1 requests immediately.
Why does my Claude model fail with no active credentials?
The source says a bare model name such as claude-opus-5 goes to the built-in anthropic provider. Using the prefix, such as justworker/claude-opus-5, routes it to the custom node.
Which 10Router calls can a dashboard key make?
Only POST /api/provider-nodes and POST /api/providers at the root path accept a dashboard LLM key. GET, PUT, DELETE and [id] routes need the CLI token or login JWT.
How do I install 10router-add-provider?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is 10router-add-provider free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is 10router-add-provider safe to use?
It scores 66 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to 10router-add-provider?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
