add-provider

add-provider is a skill for Claude Code from cyanheads/ourairports-mcp-server. It costs 47 tokens per session (1,667 once invoked), scanned A, a copy of add-provider, Apache-2.0.

A development guide for adding storage, language-model, or speech service providers to a TypeScript package. Providers are interchangeable implementations selected through configuration.

In plain words
What is it for?
Use it when adding a new database backend, language-model backend, or speech service backend.
Why use it?
It removes the guesswork around which interfaces, files, dependencies, and runtime loading rules a new provider must follow.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ourairports-mcp-server plugin — 35 skills, 1 MCP server shipped together

Good fit Use it when adding a new database backend, language-model backend, or speech service backend.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cyanheads/ourairports-mcp-server/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 cyanheads/ourairports-mcp-server --skill add-provider
Clone the repo
git clone --depth 1 https://github.com/cyanheads/ourairports-mcp-server

Made for: Claude Code.

Or install ourairports-mcp-server, the plugin that ships this one along with the rest of its 35 skills, 1 MCP server.

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/cyanheads/ourairports-mcp-server/add-provider/github.svg)](https://agentmods.dev/skills/cyanheads/ourairports-mcp-server/add-provider)
Your own site
<a href="https://agentmods.dev/skills/cyanheads/ourairports-mcp-server/add-provider"><img src="https://agentmods.dev/badge/skills/cyanheads/ourairports-mcp-server/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/cyanheads/ourairports-mcp-server/add-provider"><img src="https://agentmods.dev/badge/skills/cyanheads/ourairports-mcp-server/add-provider.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,667 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod 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.00047 $0.01667
Opus 5.5 $0.00019 $0.00667
Sonnet 5.5 $0.00009 $0.00333
Haiku 4.5 $0.00005 $0.00167

Measured 1mo ago against content hash 0996adf1c312, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

add-provider scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

88% identical to add-provider — 18 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

framework-skills/add-provider/SKILL.md · 138 lines

How it starts

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

Context

Providers implement interfaces defined in core. They are selected at runtime via config (e.g., STORAGE_PROVIDER_TYPE). Tier 3 providers lazy-load their dependencies to keep the core bundle small.

Providers live inside the package source tree — import the interface via relative path (e.g., import type { IStorageProvider } from '../core/IStorageProvider.js'), not via the package subpath exports (those are for consumers).

Provider interfaces

Domain Interface file
Storage src/storage/core/IStorageProvider.ts
LLM src/services/llm/core/ILlmProvider.ts
Speech src/services/speech/core/ISpeechProvider.ts

Read the relevant interface fully before implementing — each has distinct required members. ISpeechProvider in particular requires readonly name, readonly supportsTTS, readonly supportsSTT, and healthCheck() in addition to the capability methods; these flags drive routing in SpeechService.

File conventions

Provider file location and naming differ by domain:

  • Storage — nested subdirectory, camelCase directory name, PascalCase-suffixed provider file. Each provider gets its own subdirectory for the provider file plus any co-located types: src/storage/providers/{{providerName}}/{{providerName}}Provider.ts (e.g., src/storage/providers/inMemory/inMemoryProvider.ts, src/storage/providers/supabase/supabaseProvider.ts + supabase.types.ts)

  • LLM / Speech — flat directory, kebab-case with .provider.ts suffix: src/services/llm/providers/{{provider-name}}.provider.ts src/services/speech/providers/{{provider-name}}.provider.ts (e.g., src/services/llm/providers/openrouter.provider.ts, src/services/speech/providers/elevenlabs.provider.ts)

Steps

  1. Identify the provider interface — read the interface file for the target domain (see table above).
  2. Create the provider file following the file convention for its domain (see above).
  3. Implement the interface — all methods must be implemented. Storage providers build on src/storage/core/providerHelpers.ts rather than re-deriving what the existing providers share:

Read the full file on GitHub · 138 lines

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. 1mo ago First seen · 138 lines · 47 tokens per session scan A 0996adf1c312

Subscribe to this mod's changes

add-provider is a skill published in the GitHub repository cyanheads/ourairports-mcp-server (1 stars, last pushed 7d ago), licensed Apache-2.0. It adds 47 tokens to every session and 1,667 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to add-provider, differing in 18 lines, and is treated as a copy.

Related

Other skills, from other repositories

api-utils

API reference for all utilities exported from @cyanheads/mcp-ts-core/utils. Use when looking up utility method signatures, options, peer dependencies, or usage patterns.

cyanheads/faa-aircraft-registry-mcp-server · 37 tokens

better-t-stack

Create or extend an end-to-end type-safe TypeScript project with Better-T-Stack (create-better-t-stack). Use when the user wants to start, scaffold or bootstrap an app, API, fullstack project or monorepo with any of Next.js, TanStack Router or Start, React Router, Nuxt, Svelte, Solid, Astro, React Native, Hono…

AmanVarshney01/create-better-t-stack · 149 tokens

bun

Use this skill when building with Bun runtime — Bun APIs, testing, package management, shell scripting, hot reload, SQLite, file I/O. This skill enforces: built-in APIs over npm equivalents, Bun test runner, bun install speed optimization, Bun.shell for scripts. Do NOT use for: Node.js-specific APIs…

j4flmao/agent-skills · 80 tokens

nifra

Use when writing, reviewing, or debugging code in a Nifra project (@nifrajs/ packages, nifra CLI, server()/defineContract, loaders and actions, file routes under routes/). Explains how to reach Nifra's live MCP tools so signatures come from the installed version instead of memory, and which sibling skill to load for…

nifrajs/nifra · 83 tokens

api-errors

McpError constructor, JsonRpcErrorCode reference, and error handling patterns for @cyanheads/mcp-ts-core. Use when looking up error codes, understanding where errors should be thrown vs. caught, or using ErrorHandler.tryCatch in services.

cyanheads/earthquake-mcp-server · 54 tokens

bun

Bun all-in-one JavaScript runtime and toolkit reference. Covers runtime APIs (file I/O, HTTP server, SQLite, shell), ultra-fast package manager, built-in bundler with plugins, test runner with mocking, TypeScript support, and Node.js compatibility.

bytesagain/ai-skills · 55 tokens