add-provider
Skill1 starsChanged 8 days agoMITView on GitHub
Use when adding a provider that answers the scoring questions, which is a new value of the `provider` setting, or when a provider releases a model that OpenRouter serves. Not for a new gateway, not for a new harness, and not for a calibration of the existing questions alone.
- Reads credentials
23 other projects use a version of this.
Adopted by
Most recently taken up by
- poweruserz/OpenTokenUsagetheir own version, first seen Nov 29, 2026
- asafofer/perchtheir own version, first seen Nov 29, 2026
- allswebtech/trouteaitheir 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-migration, add-tool and 4 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.
PipelexSkilladd-migration
Write a migration ledger entry for a configuration schema change in pipelex, so that a user's existing file can be repaired instead of thrown away. Use when `make check-migration-schemas` (alias `cmig`) or `make check-ledger` (alias `cl`) refuses a change, when the user says "add a migration", "write the ledger entry", "the coverage gate is failing", "bump the schema version", "migration entry", "the migration gate won't let me", "account for this schema change", or after any edit to a configuration model that removed a key, renamed one, moved one, retired an enum member, or tightened what a value may be. This is the only skill that writes a ledger.
Also in 3 projects that use this
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
Microsoft AzureSkillverify
End-to-end app testing pipeline for browser-based web apps on cloud browsers via Azure Playwright Workspaces: verify the live app, author tests for working flows, heal failing tests, then re-run with video and produce one consolidated report. Three phases (app verification, test authoring, test healing) plus a scoped final sanity run; each phase emits a sub-report. Use when asked to "verify my app", "make sure my app works and has good test coverage", "do a full QA pass", "add tests where I'm missing coverage", "fix failing tests and add new ones", "smoke test before deploy", "QA my deployment", or any combined verify-and-test ask. Requires Azure CLI (`az login`) and a Playwright Workspace resource ID — bootstraps configs on first invocation. Browser-based web apps with Playwright only — not for unit/API tests, native mobile/desktop, load/perf, or full accessibility audits.
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
- allswebtech/trouteai★ 36same name
- agent-cli-framework/aclif★ 20same name
- hyhmrright/StockAI★ 14same 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.
The file
Show its rules and text
We split this skill into the rules it gives an agent
44 rules. 0 are common, 17 are distinctive, and 27 are very specific to this project.
0
Common
Most of the 20 edited versions we read keep these.
17
Distinctive
This author's own choices. Worth a look.
27
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 10
Every maker has both paths, its own API and OpenRouter.
- Distinctive: line 18
Follow the steps in order.
- Distinctive: line 20
No check names the rest, and most of this skill lists them.
- Distinctive: line 29
Read the provider's documentation for the address, the key header, the request body and the reply.
- Distinctive: line 37
Read the provider's privacy policy for what it keeps of a request.
- Distinctive: line 39
Search Runs against the scoring hosts on the wiki for a recorded request to that host.
- Distinctive: line 47
Ask the maintainer before the request, with the host, the model and the question, as Ask first says.
- Distinctive: line 50
Put the entry on the scoring hosts page, and push it as Record the run says.
- Distinctive: line 54
Stop and report to the maintainer when one request cannot give both answers and their probabilities within 5 s.
- Distinctive: line 68
Put the source of each new sentence on the client's evidence page of the wiki, as Adding evidence says.
- Distinctive: line 83
No question below needs code first, and a late answer throws edits away.
- Very specific: line 91
When MAKERS gets a fifth maker: how does Claude Code offer it?
- Distinctive: line 93
Do the evals score through the new provider?
- Very specific: line 103
Add a file in src/core/scoring/formats/ that exports a Format.
- Very specific: line 104
Write its unit test first, with literal bodies, as src/core/__tests__/unit/system-one.test.ts does.
- Very specific: line 105
Write body and read as the comment on Format in src/core/scoring/formats/format.ts says, and build read with replyReader from shared.ts.
- Very specific: line 108
Import only what Repository layout allows formats/.
- Distinctive: line 112
Every provider takes the next seven steps.
- Very specific: line 114
Create src/core/scoring/makers/<maker>.ts in the form of openai.ts, and export one MakerModule constant named after the maker.
- Very specific: line 120
Check that the vendor test in src/core/__tests__/unit/registry.test.ts covers the new module.
- Distinctive: line 126
No check reports a provider that needs another request.
- Very specific: line 133
Read the field in ask, or in src/core/scoring/transport/ when it changes a retry or a wait.
- Very specific: line 140
Add the status to FALLBACK_STATUSES, with its failing row first, and to the statuses in The provider and the gateway.
- Very specific: line 146
Add the name to MAKERS in src/core/providers/provider.ts.
- Very specific: line 152
Add a test with a URL constant like TYPESAFE_URL in plugins/model-router/tests/keys.test.ts, one for each new address.
- Very specific: line 154
Add the new key to SECRETS and to the tuple of sentinels in plugins/model-router-hermes/tests/test_sentinel.py, which passes without it.
- Very specific: line 155
Add it to the expected keys of a case only when the provider and gateway that case stores ask it.
- Very specific: line 156
Run npx tsc -p src and npx tsc -p scripts.
- Distinctive: line 180
When a reply of a provider that serves Jev names the fitted model in another form, tell the maintainer that the warning prints on every run.
- Distinctive: line 186
When the run misses the bar that section sets, stop and report to the maintainer.
- Very specific: line 190
Run node scripts/build.ts, then npm test.
- Very specific: line 191
Run python3 -m unittest discover -s plugins/model-router-hermes/tests and claude plugin test plugins/model-router, which npm test leaves …
- Distinctive: line 192
Add what each failure names, rebuild, and run every suite again until all pass.
- Very specific: line 222
Add plugins/model-router-hermes/tests/fixtures/<provider>-direct.json only when the provider's request differs in shape from …
- Very specific: line 253
Run claude plugin validate --strict plugins/model-router, and compare the variables it prints with the row of $.env.get.
- Very specific: line 259
No eval sets provider or gateway today, so each client asks the default maker, typesafe, on its own API.
- Very specific: line 277
Check that both know the shape of the new provider's keys, and add a missing shape to each.
- Very specific: line 282
No test reads these texts for a provider's name.
- Very specific: line 286
Run git grep -n -i -E 'typesafe|openrouter' -- '*.md' metadata/source.json scripts/build/npm.ts ':!CHANGELOG.md' ':!packages', and read …
- Very specific: line 302
Write the key's text in keys.<holder> of metadata/source.json in the one shape of every maker: "The plugin sends it to <company> when …
- Very specific: line 306
Run git grep -n -i -w -E 'both|either|two|three|second|other provider|four' -- '*.md' metadata/source.json scripts/build/npm.ts …
- Very specific: line 310
Run git grep -n 'Jev' -- '*.md' metadata/source.json scripts/build/npm.ts src ':!CHANGELOG.md' ':!packages', and reword each hit that says …
- Very specific: line 321
Read OpenRouter's catalog, and refresh openrouterNames in each module with the new model names and their slugs.
- Distinctive: line 333
Ask the maintainer for a live run of each, with its question, as the live-run skill says.
“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 scoring provider
A scoring provider is a maker: a company whose model answers the questions tier and work for a task.
The provider setting names the maker, and the gateway setting says whether OpenRouter is used.
Every maker has both paths, its own API and OpenRouter.
Its module in src/core/scoring/makers/ holds one endpoint for each path.
Each endpoint names the wire format that it speaks and the model it takes.
src/core/scoring/formats/ holds the formats.
Jev is the model the questions are fitted to, and only some paths serve it.
Repository layout says what each folder of src/core/ holds.
docs/providers.md says what the plugins do with a provider.
Follow the steps in order. The type check and the tests name some of the places that change. No check names the rest, and most of this skill lists them. The change also follows Build and check, Before you push and Four harnesses, one behaviour. So every check runs again after the last edit.
Check the provider's API first
This skill holds no fact about any provider's API. Each such fact comes from the provider's documentation, or from a recorded request to its host.
- Read the provider's documentation for the address, the key header, the request body and the reply.
- Find whether one request answers both questions, with a probability for each of the three levels.
- Find whether an answer comes within the 5 s that a first attempt gets.
- Find the models the endpoint takes, whether it serves Jev, and the model name and token counts a reply gives.
- Find whether OpenRouter serves the model, and its address and model name there.
- Find which statuses and headers ask for a retry or a wait.
- Find which statuses mean a failed key or a spent quota.
- Find whether the provider accepts a task text that quotes an image reference, as The request describes one.
- Read the provider's privacy policy for what it keeps of a request.
- Note the address of the page behind each fact, for the documents and the pull request text.
- Search Runs against the scoring hosts on the wiki for a recorded request to that host.
- Where neither the documentation nor a recorded request settles a fact, plan one request sent straight to the host.
The next four steps hold only for such a request.
Their links were written for a run of a harness, and such a request has no harness and no cap to state.
Its key comes from the variable the provider will have in KEY_VARIABLES in src/core/providers/provider.ts.
Choose that name now, as the present variables are named: no README names one yet.
- Ask the maintainer before the request, with the host, the model and the question, as Ask first says.
- Send the request, and handle the key as Keep keys secret says.
- Record it as an entry of the kind
hosts, by Adding an entry on the wiki's Home page. - Put the entry on the scoring hosts page, and push it as Record the run says.
The stop below holds with or without a request.
- Stop and report to the maintainer when one request cannot give both answers and their probabilities within 5 s.
Look up what the harnesses need
findKey in src/adapters/omp/settings.ts passes each key holder's name to omp's getApiKeyWithCredentialForProvider.
So the maker's name must be the id that omp gives the provider.
- Find that id in omp's source or documentation.
- Find whether OpenClaw's list of credential variables holds the provider's usual key variable.
- Find whether a provider of Hermes's own reads the provider's usual key variable. Search Hermes's source for the variable's name: its provider registry does not list every reader, as OpenRouter shows. Hermes registration and settings says how Hermes stores a secret setting.
- State the omp id, or that omp has none, as one plain sentence under omp model roles.
- State what OpenClaw's list holds under OpenClaw runtime, logs and environment, which says what OpenClaw does with a listed one.
- State whether a provider of Hermes's own reads the provider's usual key variable, under Hermes registration and settings.
- Put the source of each new sentence on the client's evidence page of the wiki, as Adding evidence says.
- Take the omp id as the name, or with no such id the provider's own name in lower case.
- Choose the key's setting name, and its variable if not yet chosen, after
KEY_VARIABLESandKEY_FIELDSinsrc/core/providers/provider.ts. That name serves Claude Code, OpenClaw and Hermes.
The value of provider is the name in MAKERS. The key lines and the routing line print the key holder's name as KEY_HOLDERS spells it.
Ask the maintainer once
A provider with a model of its own is a maker.
steps in src/core/providers/provider.ts asks the maker of the choice on each path of its gateway.
So a maker gets its attempts once MAKERS holds it and a user sets provider to it.
A second gateway, a provider with a key and no model of its own, and a maker that OpenRouter does not serve have no step in this skill: stop and report each.
No question below needs code first, and a late answer throws edits away.
- Send the maintainer one message with every question below that applies, and wait before the first edit of the code.
The questions:
- Is the provider a value of
provider, and at which place ofMAKERS? The first value is the default. - What label does the value take?
consequencesunderproviderinTEXTSinsrc/core/options/settings.tsholds it. - When
MAKERSgets a fifth maker: how does Claude Code offer it? Hooks module states the limit of the dialog thatchooseinsrc/adapters/claude/config.tsopens. - Does a status of a failed key or a spent quota reach the next attempt?
FALLBACK_STATUSESinsrc/core/scoring/failure.tsholds the statuses that do. - Do the evals score through the new provider?
- Does the calibration run against the new maker?
MAKERinscripts/calibrate.tsnames the one maker it asks, so a run means changing it. Paid runs exempts Jev calls only.
The wire format
A provider whose endpoint speaks a format that src/core/scoring/formats/ holds reuses it and adds no format.
An Endpoint names the format of its path, so the two paths of a maker can differ.
The next six steps hold only for another API.
- Add a file in
src/core/scoring/formats/that exports aFormat. - Write its unit test first, with literal bodies, as
src/core/__tests__/unit/system-one.test.tsdoes. Record a reply of the endpoint as a constant insrc/core/__tests__/support/replies.ts, and read it in the test. - Write
bodyandreadas the comment onFormatinsrc/core/scoring/formats/format.tssays, and buildreadwithreplyReaderfromshared.ts. - Return
MALFORMEDfromreadfor a reply it cannot read. - Map the API's question, answer and token shapes inside the format, and leave
Partas it is. A reply shaped like the map ofmapAnswerneeds only the names of its token counts. - Import only what Repository layout allows
formats/; Biome reports any other import.
type: "score" in Part is System One's wire literal, which another format translates.
Every provider takes the next seven steps.
- Create
src/core/scoring/makers/<maker>.tsin the form ofopenai.ts, and export oneMakerModuleconstant named after the maker. - Give it an
Endpointfordirectandopenrouter, each withurl,format,modelandkeyHeader. - Give
MODULESinsrc/core/scoring/maker-registry.tsits entry. The type check fails on it untilMAKERSholds the name. - Set
vendorto the company that OpenRouter names in the slugs of this maker. - Set
openrouterRoutetosystem-onewhen OpenRouter's route takes a bare name, and todecisionswhen it takesvendor/name. - Fill
openrouterNameswith each model name that the provider's API takes, and the slug OpenRouter gives it in its catalog. - Check that the vendor test in
src/core/__tests__/unit/registry.test.tscovers the new module. It loops overMAKERS, so a module with a wrong prefix fails it.
The import and branching rules of scoring/ bind the module.
ask in src/core/scoring/ask.ts sends every provider the headers that The request lists.
It puts the key in the header that the endpoint's keyHeader names, with its prefix.
No check reports a provider that needs another request.
- For a key header other than
BEARER, put its constant into the new module, asGOOGLE_KEYis ingoogle.ts. Move it tosrc/core/scoring/maker-module.tsonce a second module needs it.
The next four steps hold only for another request than the one ask builds.
- For a model in the URL or a wait the body names, add a field to
Endpointinsrc/core/scoring/maker-module.ts. - Read the field in
ask, or insrc/core/scoring/transport/when it changes a retry or a wait. - Change The request when a header or the body changes for any provider.
- Change Retries and the second attempt when a retry or a wait changes.
FALLBACK_STATUSES serves every provider.
The next step holds only when the maintainer sent a new status on to the next attempt.
- Add the status to
FALLBACK_STATUSES, with its failing row first, and to the statuses in The provider and the gateway.
Let the type check lead
KEY_HOLDERS follows MAKERS, so one new name there starts the type errors.
- Add the name to
MAKERSinsrc/core/providers/provider.ts.
The route test pins the address of a path only once its ADDRESSES row exists, and a wrong address sends the key and the task text to another host.
So the provider's own address rows come first, as Tests asks.
- Give
ADDRESSESinsrc/core/__tests__/integration/route.test.tsa row for each new path of the module. A row holds the address, the model name sent, the key header as a name and value pair, a reply in the endpoint's own format, and the model and token counts the decision then holds. Formats that read a map-shaped reply can differ only in the names of the token counts, so the row holds the reply and the counts. - Add a test with a URL constant like
TYPESAFE_URLinplugins/model-router/tests/keys.test.ts, one for each new address. A reply that the harness's default System One map does not satisfy needs atextof its own, asOPENAI_ANSWERis. - For a key header other than
Authorization, add its name to the headers ofRequestinplugins/model-router/tests/harness.ts, which now listsAuthorizationandx-goog-api-key, and read it throughh.request.init?.headers.h.authholdsAuthorizationonly. - Add the new key to
SECRETSand to the tuple of sentinels inplugins/model-router-hermes/tests/test_sentinel.py, which passes without it. Add it to the expected keys of a case only when theproviderandgatewaythat case stores ask it. - Run
npx tsc -p srcandnpx tsc -p scripts. - Fill each place an error names, and run both again until both pass.
The errors name each place. They do not say this:
- In
keyVariableinsrc/adapters/claude/keys.ts, the provider gets its own$.env.getcall with the variable's name as a literal. Optionsinsrc/adapters/claude/host.tsderives its key members fromKEY_FIELDS, so it needs no edit.LOOKED_UPinsrc/core/__tests__/unit/provider.test.tsshows becausenpx tsc -p srcreads the tests too.- The error at
consequencesunderproviderinTEXTSinsrc/core/options/settings.tsasks for the value's label: the text that follows the value's name wherever a harness lists the values. scripts/calibrate.tsshows nothing and gains no row. It asks one maker by design, and The model behind the provider says when that changes.FIXTUREinscripts/build-shape.test.tsshows first underscripts/: itskeysrecord takes a row for the key holder.scripts/build/maps a key holder to its setting throughKEY_FIELDSfor all three harnesses, so no builder and no type needs an edit.
The model behind the provider
The calibration asks one maker.
MAKER in scripts/calibrate.ts names it, and the script derives from it the two key holders it takes: the maker's own and openrouter.
The question texts and the factors of the pick rule in src/core/parts/tier.ts and src/core/parts/work.ts are fitted to the answers of that maker.
One set serves every provider, so a new provider adds no row to the script and changes neither MAKER nor the factors, unless a run against the new maker is agreed.
The three steps below then change MAKER and nothing else.
fitWarnings in scripts/jev-fit.ts drops the vendor prefix of a reply's model name, the text up to the last /.
It compares the rest with FITTED_ON as text.
- When a reply of a provider that serves Jev names the fitted model in another form, tell the maintainer that the warning prints on every run.
The next three steps hold only for a run against the new maker, and only after the maintainer agreed to it.
- Change
MAKERinscripts/calibrate.tsto the new maker, and read the key holders of its usage text. - Change the command line under Calibration to those key holders, and run the calibration it describes.
- When the run misses the bar that section sets, stop and report to the maintainer.
Let the tests lead
- Run
node scripts/build.ts, thennpm test. - Run
python3 -m unittest discover -s plugins/model-router-hermes/testsandclaude plugin test plugins/model-router, whichnpm testleaves out. - Add what each failure names, rebuild, and run every suite again until all pass.
The failures name each place. They do not say this:
- The key's title and text are one record in
metadata/source.json,keys.<holder>, and Claude Code, OpenClaw and Hermes all show it.loadSourceinscripts/build/source.tsrunskeyHolderProblemsafter the schema, and the build stops with the holder that is missing or extra. The schema and theSourcetype need no edit. - Most failing rows pin a literal, which stays a literal: write the new one out.
Among them are the
use one ofand label texts insrc/core/__tests__/unit/settings.test.ts,HINTSinsrc/adapters/claude/__tests__/integration/manifest.test.tsand the dialog test inplugins/model-router/tests/config.test.ts. plugins/model-router-hermes/tests/test_config_tool.pyholdsSECRETSand, beside it, the expected key lines, both written by hand.scripts/build-texts.test.tsfails untiloptions.provider.descriptioninmetadata/source.jsonand themodelstext name the value as a whole word, in every harness that shows them.plugins/model-router-hermes/tests/test_defaults_and_gates.pyholds the key holders of each gateway value as a table, written by hand.- The build writes the bundles, the npm tree, the manifests and
plugins/model-router-hermes/constants.json. The Hermes Python source needs no edit. - A new maker reaches the choices of
providerinplugins/model-router-hermes/plugin.yaml, and thesettingsandchoicesofconstants.json.scripts/build/hermes.tsneeds no edit. - The literal tables of
constants.jsonandplugin.yamlinscripts/build-hermes.test.tsfail until you write the new value out in each list of makers. Itschoicesliteral keeps the openai block only, so the new maker needs no block. src/adapters/claude/__tests__/unit/keys.test.tsloops overMAKERSand fails untilkeyVariablereads the new variable.- Hermes asks a new maker like the other three harnesses, once a user stores it as
provider. - Biome reports no place that lacks the provider. It checks the format, so run
npm run fixafter a hand edit. - A test that stands in for a value that is not valid with a company's name breaks when that company becomes a maker, as
src/adapters/omp/__tests__/unit/settings.test.tsdid with"openai". Pick a stand-in that no maker will take. scripts/skill-labels.test.tsfails until each of the fourmodel-router-setup/SKILL.mdlists the new value with its label.- A test title that counts settings, such as "eleven settings", takes the new count.
cleanModelinsrc/core/scoring/reply.tskeeps only the characters it lists in a reply's model name. Check that it keeps every character of the new slugs.
Each test below holds a rule that every maker shares in one row, so a new maker adds no row to it:
src/core/__tests__/unit/provider.test.tsholds that the maker's own key is the first holder of its direct path, in oneplanrow and onecollectKeysSyncrow of openai.src/core/__tests__/integration/decide.test.tsholds one row for each line shape: openai direct, openai through OpenRouter and google direct. A shape no row holds, such as a reply with no model name, adds one.src/core/__tests__/unit/settings.test.tsholds onesettingsReportrow of openai, whichdocs/providers.mdquotes.- The edge rows of a blank key, spaces and
nullstay with the typesafe rows of each harness's key test.
- Add
plugins/model-router-hermes/tests/fixtures/<provider>-direct.jsononly when the provider's request differs in shape fromgoogle-direct.json.
google-direct.json is the one fixture of a maker other than typesafe.
Its replay in src/adapters/hermes/__tests__/integration/index.test.ts shows that provider passes through.
The next step holds only when a setting gets a fifth value.
Then only claude plugin test fails, at the dialog, and the adapter's unit test passes with its fake engine.
- Offer the values in the Claude Code dialog as the maintainer answered.
What nothing reports
Each place below keeps its old text while every check passes.
OpenClaw
- Correct what
plugins/model-router-openclaw/PRIVACY.mdsays a.envfile can supply, by what you stated under OpenClaw runtime, logs and environment.
Hermes
Hermes stores each key's secret setting under the key's variable. The next three steps hold only when a provider of Hermes's own reads that variable.
- State the full effect once, under the table of Keys in the Hermes README.
- In
plugins/model-router-hermes/PRIVACY.md, say in one sentence what a key saved in the form changes in Hermes itself, and link that Keys section. - In the keys list of
plugins/model-router-hermes/skills/model-router-setup/SKILL.md, say the same one sentence and link that Keys section.
Claude Code
- In What this mod can reach, add the variable and the provider to the rows of
$.env.getand$.http.fetch. - Name the key and the provider in the answers on secrets and on usage above the table.
- Run
claude plugin validate --strict plugins/model-router, and compare the variables it prints with the row of$.env.get.
node scripts/check-surface.ts still passes: it compares engine calls, not variable names.
Evals
No eval sets provider or gateway today, so each client asks the default maker, typesafe, on its own API.
Claude Code keeps it under pluginConfigs in settings.json, as Manifest says.
omp keeps it in its lockfile, as omp manifest and settings says, and a project never changes it.
MODEL_SEGMENT in scripts/evals/stream.ts reads the decision line: it accepts any name of KEY_HOLDERS and keeps only the model.
So a case passes whichever key holder answered.
The next four steps hold only when the evals score through the new provider.
- Pass its key in
clientEnvinscripts/evals/scrub.ts, and require it inmissingKeysinscripts/evals/run.ts. - Name its secret in
.github/workflows/evals.yml. - In each client's job of that workflow, set
providerto the new maker in the client's own store after the plugin's install. - Make the eval read the key holder from the decision line, and fail a case that another key holder answered.
Key shapes
scripts/scan-owner-setup.ts knows some key shapes, and so does the masking in src/core/brief/brief.ts.
The task text lists the shapes of the masking and changes with it.
- Check that both know the shape of the new provider's keys, and add a missing shape to each.
Each new shape takes a planted-key row and an adversarial row in
src/core/__tests__/unit/brief.test.tsandscripts/scan-owner-setup.test.ts.
The texts that name the provider
No test reads these texts for a provider's name.
A new provider is a new company that receives the task text.
Each search below reads every Markdown file, metadata/source.json and scripts/build/npm.ts.
- Run
git grep -n -i -E 'typesafe|openrouter' -- '*.md' metadata/source.json scripts/build/npm.ts ':!CHANGELOG.md' ':!packages', and read each hit. Each hit that lists the makers, their keys, their variables or their hosts takes the new one, whether or not a step below names its file. - In the company table of each of the four
PRIVACY.mdunderplugins/, name the company, its host and its privacy policy. - In each of the four READMEs under
plugins/, add the key and its variable. - In the same READMEs, add the new value to the usage of the
providercommand. Add no label: it lives inTEXTS, and the table indocs/providers.mddescribes each value. - Name the key's setting in each README whose harness has one; the others say where the key comes from.
- In the root
README.md, change the first screen and "What leaves the machine". In the Claude Code and omp guides, change the steps under "Set up". - In the list of values of
providerin each of the fourmodel-router-setup/SKILL.mdunderplugins/, add the key, the new value and its label. - In
docs/providers.md, change these sections:- the table of The provider and the gateway, which describes each value;
- Keys;
- What each company does with the text;
- Your choices;
- the names and the examples of The routing line;
- the table of The request, with a row for each path, and its sentences on the key header and on who accepts an image reference;
- the example of The report lines, which holds a line for each provider.
- Change the plugin descriptions under
descriptionsinmetadata/source.json: they name the hosts of the providers' own APIs. Inscripts/build/npm.ts, change the lead of the npm README: it names every provider. - Write the key's text in
keys.<holder>ofmetadata/source.jsonin the one shape of every maker: "The plugin sends it to<company>when provider is<maker>and gateway is not openrouter."
A line that counts providers, keys or variables names none of them, so the first search misses it.
- Run
git grep -n -i -w -E 'both|either|two|three|second|other provider|four' -- '*.md' metadata/source.json scripts/build/npm.ts ':!CHANGELOG.md' ':!packages', and correct each hit the change makes false.
A text says Jev only where it means Jev itself: the typesafe label, the calibration, the evals and the fit. Elsewhere it says "the scoring model".
- Run
git grep -n 'Jev' -- '*.md' metadata/source.json scripts/build/npm.ts src ':!CHANGELOG.md' ':!packages', and reword each hit that says Jev where the scoring model is meant.
The rebuild holds for every change.
- Rebuild with
node scripts/build.ts, because this section changedmetadata/source.json.
Keep the OpenRouter names current
A provider that releases a model needs no new module. The step below holds for each such release.
- Read OpenRouter's catalog, and refresh
openrouterNamesin each module with the new model names and their slugs.
docs/providers.md lists no name. The module holds the names, and the config tool prints each provider's OpenRouter model.
A name that the catalog lacks stays out of openrouterNames, and OpenRouter answers it with HTTP 400.
Before the pull request
- For each file the change touched, name the check or the step of this skill that led you there.
- Key by
KeyHolderorMakereach place neither led to, or add it to this skill in the same pull request. - Name the commit and the pull request
feat, as Commits and pull requests says. - Cite the page behind each API fact in the pull request text.
- List each harness whose path of the new key no test and no section of
docs/clients.mdproves. - Ask the maintainer for a live run of each, with its question, as the live-run skill says.
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.

