add-provider

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

A workflow for adding a new storage or service provider to a core package. A provider is an implementation that connects the package to a particular database, language-model service, or speech service.

In plain words
What is it for?
Use it when adding a database backend, language-model backend, speech provider, or another implementation of a core service interface.
Why use it?
It guides developers through the required interfaces, file locations, configuration-based selection, and dependency handling. This reduces the chance that a new provider will fail to match the package's expected contract.

Skill for Claude Code

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

Part of the stackexchange-mcp-server plugin — 37 skills, 1 MCP server shipped together

Good fit Use it when adding a database backend, language-model backend, speech provider, or another implementation of a core service interface.

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

Made for: Claude Code.

Or install stackexchange-mcp-server, the plugin that ships this one along with the rest of its 37 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/stackexchange-mcp-server/add-provider/github.svg)](https://agentmods.dev/skills/cyanheads/stackexchange-mcp-server/add-provider)
Your own site
<a href="https://agentmods.dev/skills/cyanheads/stackexchange-mcp-server/add-provider"><img src="https://agentmods.dev/badge/skills/cyanheads/stackexchange-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/stackexchange-mcp-server/add-provider"><img src="https://agentmods.dev/badge/skills/cyanheads/stackexchange-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,871 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 80% 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.01871
Opus 5.5 $0.00019 $0.00748
Sonnet 5.5 $0.00009 $0.00374
Haiku 4.5 $0.00005 $0.00187

Measured 7d ago against content hash 65a8d45bce00, 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 7d 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

80% identical to add-provider — 0 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 · 148 lines

How it starts

The opening of the file, as written. The whole thing — 148 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 · 148 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. 7d ago First seen · 148 lines · 47 tokens per session scan A 65a8d45bce00

Subscribe to this mod's changes

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

Related

add-provider compared with skills from other repositories

add-provider next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-providercyanheads/stackexchange-mcp-serverSkill28d agoApache-2.0A47Claude Code
api-contextcyanheads/internet-archive-mcp-serverSkill4todayApache-2.0A84Claude Code
api-errorscyanheads/internet-archive-mcp-serverSkill4todayApache-2.0A54Claude Code
api-configcyanheads/internet-archive-mcp-serverSkill4todayApache-2.0A43Claude Code
api-mirrorcyanheads/internet-archive-mcp-serverSkill4todayApache-2.0A68Claude Code
add-resourcecyanheads/internet-archive-mcp-serverSkill4todayApache-2.0A32Claude Code
add-servicecyanheads/internet-archive-mcp-serverSkill4todayApache-2.0A38Claude Code