add-provider

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

A guide for adding storage, language-model, or speech backends to a core package. These backends implement defined interfaces and are chosen through configuration.

In plain words
What is it for?
Use it when implementing a new database provider, LLM provider, or speech provider and connecting it to the package’s runtime selection system.
Why use it?
It explains the required interface members, file locations, naming rules, and dependency-loading approach, reducing mistakes when extending the package.

Skill for Claude Code

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

Part of the workflows-mcp-server plugin — 34 skills, 1 MCP server shipped together

Good fit Use it when implementing a new database provider, LLM provider, or speech provider and connecting it to the package’s runtime selection system.

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

Made for: Claude Code.

Or install workflows-mcp-server, the plugin that ships this one along with the rest of its 34 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/workflows-mcp-server/add-provider.svg)](https://agentmods.dev/skills/cyanheads/workflows-mcp-server/add-provider)
Your own site
<a href="https://agentmods.dev/skills/cyanheads/workflows-mcp-server/add-provider"><img src="https://agentmods.dev/badge/skills/cyanheads/workflows-mcp-server/add-provider.svg" alt="Measured on agentmods" 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,404 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 100% 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.01404
Opus 5 $0.00023 $0.00702
Sonnet 5 $0.00009 $0.00281
Haiku 4.5 $0.00005 $0.00140

Measured 8d ago against content hash f96194818689, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 8d 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

100% 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.

skills/add-provider/SKILL.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 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.
  4. Lazy-load dependencies if Tier 3:

Read the full file on GitHub · 124 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. 8d ago First seen · 124 lines · 47 tokens per session scan A f96194818689

Subscribe to this mod's changes

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