add-provider

add-provider is a skill for OpenCode from EZotoff/ez-omo-config. It costs 93 tokens per session (2,383 once invoked), scanned A, original, MIT.

A checklist for adding or changing models and providers in an OpenCode configuration. A provider is a service that supplies AI models, and the checklist covers model settings, enabled providers, limits, authentication, and references elsewhere in the configuration.

In plain words
What is it for?
It is for adding model entries, changing provider blocks, wiring authentication, setting fallback chains, and updating model assignments used by agents or other configuration fields.
Why use it?
It addresses recurring setup failures such as missing required fields, incorrect model identifiers or limits, forgotten enablement, and running interfaces that still use old configuration.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions OpenCode.

Good fit It is for adding model entries, changing provider blocks, wiring authentication, setting fallback chains, and updating model assignments used by agents or other configuration fields.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ezotoff/ez-omo-config/add-provider
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.

Any agent
npx skills add EZotoff/ez-omo-config --skill add-provider
Clone the repo
git clone --depth 1 https://github.com/EZotoff/ez-omo-config

Made for: OpenCode.

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 add-provider

README.md
[![agentmods](https://agentmods.dev/badge/skills/ezotoff/ez-omo-config/add-provider/github.svg)](https://agentmods.dev/skills/ezotoff/ez-omo-config/add-provider)
Your own site
<a href="https://agentmods.dev/skills/ezotoff/ez-omo-config/add-provider"><img src="https://agentmods.dev/badge/skills/ezotoff/ez-omo-config/add-provider/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for add-provider

Your own site · 80×15
<a href="https://agentmods.dev/skills/ezotoff/ez-omo-config/add-provider"><img src="https://agentmods.dev/badge/skills/ezotoff/ez-omo-config/add-provider.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,383 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00093 $0.02383
Opus 5 $0.00046 $0.01192
Sonnet 5 $0.00019 $0.00477
Haiku 4.5 $0.00009 $0.00238

Measured 4d ago against content hash 4ec2ef72e11b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

add-provider 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 4d ago.

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.

- Live catalog: `curl -s <baseURL>/v1/models` (with the provider's auth header) — record exact model ids and advertised context (`n_ctx` where given).
.opencode/skill/add-provider/SKILL.md · 149 lines

How it starts

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

Add / Change Provider or Model

Provider/model edits in this repo have failed nine times in six weeks (Aug 14–30, 2026), each time in one of six predictable ways. This skill is the checklist that makes those failures impossible to ship. Background and full incident corpus: references/rca-2026-08-30.md.

The six failure classes (know them before editing)

Class What happened Anchor
Missing required fields model block without limit.output → config rejected at load 2711fbd
Enabled-list omission provider block added but never added to enabled_providers → invisible 78687c97663dd2
Upstream limit poisoning config omitted limit.input; models.dev phantom value survived the per-field ?? merge → compaction at 352K/1M 1776a57
Wrong id / wrong limits K2.7-era id labeled K3; declared ctx ≠ served ctx; plan-tier ctx < marketing ctx 8cf88e4, 4c588d0, c53d062
Activation gap config correct on disk, but TUI panes older than the change kept serving stale config → silent title death for 3 days Aug 30 title incident
Reference drift model ids referenced in OMO agents / small_model / title that don't resolve, or docs tables lagging config audit 2026-08-30

Coupled surfaces — one change touches up to six places

  • provider.<id> block (or models entry) in configs/opencode/opencode.json
  • enabled_providers array (same edit, always)
  • ~/.local/share/opencode/auth.json key entry (if provider needs a key and it's not inline options.apiKey)
  • OMO agent/category assignments + fallback chains in configs/oh-my-openagent/oh-my-openagent.json (if the model gets used there)
  • small_model / agent.title.model (only via the promotion rule below)
  • Docs: README provider table, docs/configs.md counts, MANIFEST.md if artifact inventory changed

Always edit the store path (configs/opencode/opencode.json). The live ~/.config/opencode/opencode.json is a symlink — same file, but edits belong in the repo.

Read the full file on GitHub · 149 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. 4d ago First seen · 149 lines · 93 tokens per session scan A 4ec2ef72e11b

Subscribe to this mod's changes

add-provider is a skill published in the GitHub repository EZotoff/ez-omo-config (6 stars, last pushed 5d ago), licensed MIT. It adds 93 tokens to every session and 2,383 once invoked, about $0.0005 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-09-06.