provider-integration
/provider-integration
Dodaje nowych dostawców AI do claude-council, konfiguruje ustawienia API, diagnozuje problemy z połączeniem i opisuje interfejs skryptów dostawców, w tym klucze API i test łączności.
- Autor
- hex ↗
- Repozytorium
- claude-council ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 25.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 25.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Dodaje nowych dostawców AI do claude-council, konfiguruje ustawienia API, diagnozuje problemy z połączeniem i opisuje interfejs skryptów dostawców, w tym klucze API i test łączności.
Wyzwalacze z opisu
Oryginalny opis (EN)
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".
Jak działa
- Provider Script Interface
- Quick Start
- Current Providers
- Troubleshooting
- Reference
Podgląd 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-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`, `copilot-cli` and `opencode` are the exceptions: `claude` is on every user's `PATH`, each `copilot` question spends a premium request, and each `opencode` question bills whichever provider it is logged in to, so none 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
## Reference
For API patterns and code templates, see `api-patterns.md` in this directory.
Pliki w paczce (2)
- SKILL.md 3 KB
- api-patterns.md 4 KB
Wersje
W bazie nie ma innych skilli o nazwie provider-integration.
Migawka bazy z 28.10.2026 · wersja paczki 18f0cfa29677 (skrót SHA-256 całej paczki)
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100manage-config
Zmienia konfigurację nagobot: ustawia lub wymienia klucze API dostawców LLM, przełącza model sesji lub agenta i konfiguruje dostawców wyszukiwania w sieci. - 100api-provider-setup
Dodaje i konfiguruje zewnętrznych dostawców przekaźników API w OpenClaw, w tym własne punkty końcowe modeli zgodne z formatami Anthropic i OpenAI. - 100local-council-execution
Prowadzi lokalną radę, gdy nie skonfigurowano zewnętrznych dostawców AI: uruchamia N niezależnych subagentów Claude, każdy z jedną rolą, i syntetyzuje ich perspektywy. - 100add-provider
Dodaje dostawcę AI do ClaudeBar jako definicję JSON obsługiwaną przez wspólny Provider i DataSource, także przy zmianach ustawień, kont i formatu CLI lub API dostawcy. - 90council
Zbiera niezależne propozycje od różnych dostawców AI i recenzje bez autora, gdy decyzja wymaga kilku punktów widzenia. - 100workflow-council
Ocenia zmianę w pętli z modelami od kilku dostawców, poprawia to, co słuszne, a resztę broni dowodami do zatwierdzenia.