Skip to content

/provider-integration

Adds new AI providers to claude-council, configures provider API settings, troubleshoots provider connections, and documents the provider script interface. Covers creating provider shell scripts, setting API keys, and validating connectivity. Triggers on "add provider", "new AI

From plugin
5614 skills1 agents3 commands1 hooks
shell
$ npx -y skills add hex/claude-council --skill provider-integration --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/provider-integration
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Adds new AI providers to claude-council, configures provider API settings, troubleshoots provider connections, and documents the provider script interface. Covers creating provider shell scripts, setting API keys, and validating connectivity. Triggers on "add provider", "new AI

SKILL.md

provider-integration.SKILL.md
name: provider-integration
description: Adds new AI providers to claude-council, configures provider API settings, troubleshoots provider connections, and documents the provider script interface. Covers creating provider shell scripts, setting API keys, and validating connectivity. Triggers on "add provider", "new AI agent", "provider not working", "API configuration", or "extend council".

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-3.1-pro-preview | | OpenAI | `OPENAI_API_KEY` | gpt-5.6-sol | | Grok | `XAI_API_KEY` (or `GROK_API_KEY`) | grok-4.5 | | Perplexity | `PERPLEXITY_API_KEY` | sonar-reasoning-pro | | Kimi | `KIMI_API_KEY` | kimi-k3 | | Ollama | none (local) | first model `ollama list` shows |

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

Reference

For API patterns and code templates, see `api-patterns.md` in this directory.

Read more
Read it on GitHub ↗
Ships withclaude-council

A Claude Code plugin that consults multiple AI coding agents in parallel and shows you their answers side-by-side.

Get the whole plugin, auto-invoked
Stats
561
Stars
0
Views
72
Forks
Active
Maintenance
Shell
Language
MIT
License
5h ago
Last commit
7mo ago
Created

Repo: hex/claude-council