provider-integration

Featured

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".

AI & Automation 791 stars 96 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
89
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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-5.6-sol | | Grok | `XAI_API_KEY` (or `GROK_API_KEY`) | grok-latest | | Perplexity | `PERPLEXITY_API_KEY` | sonar-reasoning-pro | | Kimi | `KIMI_API_KEY` | kimi-k3 | | Ollama | none (local) | first model `ollama list` shows | | OpenRouter | `OPENROUTER_API_KEY` | anthropic/claude-sonnet-5 (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. 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. ## Troubleshooting - **Not disco...

Details

Author
hex
Repository
hex/claude-council
Created
9 months ago
Last Updated
yesterday
Language
Shell
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category