add-provider
Skill36 starsChanged 20 days agoMITView on GitHub
Add a new AI provider to TRouteAI (catalog entry, routing entry, models, icon, connection test). Use when asked to add, support or integrate a provider, a gateway or an OpenAI-compatible or Anthropic-compatible service.
23 other projects use a version of this.
Adopted by
Most recently taken up by
- Akurganow/model-routertheir own version, first seen Nov 29, 2026
- poweruserz/OpenTokenUsagetheir own version, first seen Nov 29, 2026
- asafofer/perchtheir own version, first seen Nov 29, 2026
- bolna-ai/skillstheir own version, first seen Nov 22, 2026
- ThinkInAIXYZ/deepchattheir own version, first seen Nov 21, 2026
- tddworks/ClaudeBartheir own version, first seen Nov 20, 2026
Used with
Projects with it also use add-tool, release-notes and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkilladd-tool
Add a new tool to PilotSwarm. Covers defining the tool with defineTool(), registering it on the worker (worker-level or per-session), referencing it from the client via toolNames, and adding an integration test.
Also in 3 projects that use this
Microsoft AzureSkillrelease-notes
Author and update release notes for Azure App Configuration libraries and providers. USE FOR: write release notes, add release note entry, update release notes, draft release notes, new version release notes, format release notes. DO NOT USE FOR: generating changelogs from git history, writing internal engineering notes.
Also in 3 projects that use this
MicrosoftSkillrelease
Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).
Also in 4 projects that use this
SentrySkillcommit
Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.
Also in 3 projects that use this
Other versions23 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 23
- ThinkInAIXYZ/deepchat★ 6.4ksame name
- tddworks/ClaudeBar★ 1.6ksame name
- pydantic/genai-prices★ 421same name
- Porabuild/Poracode★ 125same name
- SDSLeon/lightcode★ 125same name
- poweruserz/OpenTokenUsage★ 76same name
- asafofer/perch★ 39same name
- agent-cli-framework/aclif★ 20same name
- hyhmrright/StockAI★ 14same name
- VincentShipsIt/meterbar.dev★ 11same name
13 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-dashboard-pageSkill
- add-migrationSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 20 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 34
Icon: Put public/providers/<id>.svg (or .png) in place and add the id to KNOWN_SVGS (or KNOWN_PNGS) in …
- Very specific: line 41
Executor: Not needed for OpenAI-format providers: open-sse/executors/default.ts handles them.
- Distinctive: line 50
Never put a real API key in code, a test or a fixture.
- Distinctive: line 53
Do not add a runtime dependency for one provider.
“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Add a provider
Provider to add: $ARGUMENTS
First read the provider's own API documentation and write down: the base URL, how the key is
sent (Bearer header, x-api-key, something else), the request format (OpenAI chat completions,
OpenAI responses, Anthropic messages, or its own), the model ids, and whether it has a models
endpoint. Do not guess any of these; if the documentation is not reachable, ask.
Copy a small existing provider at every step. For an OpenAI-format API-key provider that is
cerebras.
- Catalog entry (what the dashboard shows). Add it to the matching family file in
src/shared/constants/providers/apikey/(gateways.ts,frontier-labs.ts,inference-hosts.ts,enterprise-cloud.ts,regional.ts,specialty-media.ts). Required:id,name,icon(a Material icon name),color(#RRGGBB). Useful:alias,website,textIcon,hasFree,freeNote. The catalog is validated with Zod when the app starts (src/shared/validation/providerSchema.ts); a wrong entry stops the start with a[PROVIDER VALIDATION]message. - Routing entry (how requests are sent). Create
open-sse/config/providers/registry/<id>/index.tsexporting aRegistryEntry(open-sse/config/providers/shared.ts):id,alias,format,executor: "default",baseUrl,authType,authHeader,models: [{ id, name }]. Nothing is discovered automatically: import it and add it toREGISTRYinopen-sse/config/providers/index.ts. - Models. The static list is the
modelsarray of the routing entry. For live discovery add the provider tosrc/app/api/providers/[id]/models/discovery/providerModelsConfig.ts. - Icon. Put
public/providers/<id>.svg(or.png) in place and add the id toKNOWN_SVGS(orKNOWN_PNGS) insrc/shared/components/ProviderIcon.tsx. Use the provider's own mark only when its licence allows it; otherwise leave the generic icon. - Connection test. OpenAI-format entries are tested automatically
(
src/lib/providers/validation/openaiFormat.ts, using the first model). Only a provider with its own check needs an entry inSPECIALTY_VALIDATORSinsrc/lib/providers/validation.ts. - Executor. Not needed for OpenAI-format providers:
open-sse/executors/default.tshandles them. Writeopen-sse/executors/<id>.tsand register it inopen-sse/executors/index.tsonly when the provider needs its own request or response shape. - Optional. A short onboarding text under
providers.onboardingProviderDescriptions.<id>insrc/i18n/messages/en.json; free-tier and pricing data only when you have the provider's published numbers.
Rules:
- Never put a real API key in code, a test or a fixture.
- Public client identifiers of a provider's CLI are stored through
open-sse/utils/publicCreds.tsand read withresolvePublicCred(), never as literals. - Do not add a runtime dependency for one provider.
Finish with the verify skill. Then start the app with a throwaway data folder, open
Providers, and confirm the new provider appears with its icon and that "Test connection"
gives a clear result for a wrong key. Say plainly that a real request was not tested unless the
person gave you a key for it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

