provider-integration

provider-integration is a skill for Claude Code from hex/claude-council. It costs 74 tokens per session (685 once invoked), scanned A, original, MIT.

A skill for adding AI providers to the claude-council plugin and checking their connections. It explains how provider scripts accept a question, return an AI response, and use API keys or a local Ollama model.

In plain words
What is it for?
Use it to add a provider, configure its API key, create or adjust its shell script, test connectivity, and troubleshoot authentication, rate-limit, model, or response-format problems.
Why use it?
It removes the guesswork from connecting another AI service or diagnosing why an existing provider is unavailable.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the claude-council plugin — 4 skills, 4 commands, 1 agent, 1 hook shipped together

Good fit Use it to add a provider, configure its API key, create or adjust its shell script, test connectivity, and troubleshoot authentication, rate-limit, model, or response-format problems.

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

Made for: Claude Code.

Or install claude-council, the plugin that ships this one along with the rest of its 4 skills, 4 commands, 1 agent, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/hex/claude-council/provider-integration/github.svg)](https://agentmods.dev/skills/hex/claude-council/provider-integration)
Your own site
<a href="https://agentmods.dev/skills/hex/claude-council/provider-integration"><img src="https://agentmods.dev/badge/skills/hex/claude-council/provider-integration/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 provider-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/hex/claude-council/provider-integration"><img src="https://agentmods.dev/badge/skills/hex/claude-council/provider-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 685 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00074 $0.00685
Opus 5.5 $0.00030 $0.00274
Sonnet 5.5 $0.00015 $0.00137
Haiku 4.5 $0.00007 $0.00068

Measured yesterday against content hash b6046ceee09f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

provider-integration 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 yesterday.

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.

skills/provider-integration/SKILL.md · 45 lines

How it starts

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

Adding AI Providers to Claude Council

Provider Script Interface

Each provider is a shell script in scripts/providers/ that:

  1. Accepts a prompt as the first argument
  2. Outputs the AI response to stdout
  3. Exits 0 on success, non-zero on failure

Quick Start

  1. Create scripts/providers/{name}.sh (see api-patterns.md for templates)
  2. chmod +x scripts/providers/{name}.sh
  3. Set {NAME}_API_KEY environment variable
  4. Test: ./scripts/providers/{name}.sh "Hello"

Current Providers

Provider API Key Variable Default Model
Gemini GEMINI_API_KEY gemini-flash-latest
OpenAI OPENAI_API_KEY gpt-6-astra
Grok XAI_API_KEY (or GROK_API_KEY) grok-latest
Perplexity PERPLEXITY_API_KEY low (Agent API preset)
Kimi KIMI_API_KEY kimi-k3
Ollama none (local) first model ollama list shows
OpenRouter OPENROUTER_API_KEY anthropic/claude-fable-5.1 (or one seat per OPENROUTER_MODELS entry)

CLI providers (codex, antigravity, grok-cli, kimi-cli, cursor-cli) need no key: they are discovered when their binary is on PATH and use that CLI's own login. claude-cli and copilot-cli are the exceptions: claude is on every user's PATH, and each copilot question spends a premium request, so neither has a discovery arm and each joins only when named in --providers or COUNCIL_PROVIDERS. See scripts/providers/kimi-cli.sh and cursor-cli.sh for the headless-run pattern: a read-only mode, a JSON output format the answer is parsed from, --model only on an explicit *_CLI_MODEL override, and run_with_deadline in place of the API providers' retry. A CLI that times out or fails reports through cli_failure_message in scripts/lib/cli-stderr.sh: the timeout, or the last 500 bytes of the CLI's stderr with colour codes stripped.

Troubleshooting

  • Not discovered: Check API key is set and script is executable
  • API errors: Verify key, check rate limits, confirm model name
  • Parse fails: Add echo "$RESPONSE" to debug, check response format

Read the full file on GitHub · 45 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. yesterday Changed b6046ceee09f
  2. 2d ago Changed f5a485fe6639
  3. 14d ago Changed 2847d043be91
  4. 19d ago Changed 32692b34d716
  5. 28d ago Changed d44f7d288830
  6. 1mo ago Changed · +2 lines 6ce75394c679
  7. 1mo ago Changed · +1 lines e80541030f87
  8. 1mo ago First seen · 42 lines · 74 tokens per session scan A 798bbb3e78d2

Subscribe to this mod's changes

provider-integration is a skill published in the GitHub repository hex/claude-council (895 stars, last pushed yesterday), licensed MIT. It adds 74 tokens to every session and 685 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.