mcpField
I
integrating-providers

integrating-providers

github.com/hexAgent workflows91160 installsUpdated 2d ago
Repository

About integrating-providers

A skill for integrating AI providers with Claude Council, covering executable shell scripts, API key setup, and testing. It lists current providers and default models, with troubleshooting guidance.

Key features

  1. 01Defines provider script input and output
  2. 02Explains script creation and test steps
  3. 03Lists API key variables and default models
  4. 04Covers discovery and API error troubleshooting

Use cases

  1. 01Add an AI provider to Claude Council
  2. 02Write a shell provider script to the interface
  3. 03Set keys and verify provider responses
  4. 04Troubleshoot discovery or response parsing failures

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/hex/claude-council --skill integrating-providers

After installing, type/integrating-providersin Claude Code to confirm it loaded.

Bundled filesapi-patterns.md

Details

From the project README

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

ProviderAPI Key VariableDefault Model
GeminiGEMINI_API_KEYgemini-3.1-pro-preview
OpenAIOPENAI_API_KEYgpt-5.5-pro
GrokXAI_API_KEY (or GROK_API_KEY)grok-4.20-reasoning
PerplexityPERPLEXITY_API_KEYsonar-reasoning-pro

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.

Comments

Markdown supported