skkeoriw/hermes-brain/hermes-custom-providers
Claude Code and agent skill by skkeoriw/hermes-brain
- community
Checking that the SKILL.md file is still in the repository.
Configure custom LLM providers in Hermes — OpenAI-compatible, Claude-compatible, Gemini-compatible, and multi-format proxies. Troubleshoot authentication and endpoint issues.
Install
npx vskill@latest install skkeoriw/hermes-brain/hermes-custom-providersSKILL.md
The same SKILL.md was published earlier as skkeoriw/hermes-brain/hermes-custom-providers.
Configuring Custom Hermes LLM Providers
Use this skill to configure non-standard (custom) LLM provider endpoints in config.yaml — allowing Hermes to use OpenAI-compatible proxies, Claude-compatible APIs, Gemini endpoints, or multi-format gateways.
Trigger
- Need to add a provider beyond Hermes' built-in list (openai, anthropic, openrouter, etc.)
- Troubleshooting API authentication failures (HTTP 405, 401, invalid auth header)
- Setting up a proxy/gateway that supports multiple model families (e.g., gptsapi.net)
- Want to specify a custom base_url for an existing model family
- Webhook or cron job requires a specific provider or model not in the default config
Configuration Shape
In ~/.hermes/config.yaml:
Multi-Format Proxy Pattern
Many proxy services (e.g., gptsapi.net) support multiple API formats under a single endpoint. Each format has different:
- Base URL (path)
- Authentication header (how to send the API key)
- Endpoint (the path fragment)
- Model names (exact string required)
Format 1: OpenAI-Compatible
Request:
Format 2: Claude-Compatible (Anthropic)
Request:
Format 3: Google Gemini-Compatible
Request:
Applying to Webhooks & Cron Jobs
Webhook
Edit ~/.hermes/webhook_subscriptions.json:
Cron Job
Pitfalls
Pitfall 1: Wrong Subdomain or Path
❌ https://gptsapi.net/v1 (HTTP 405) ✅ https://api.gptsapi.net/v1 (HTTP 200)
Detection: Test with curl before committing to config.yaml.
Pitfall 2: Wrong Model Name
❌ claude-opus (model not found) ✅ claude-haiku-4-5-20251001 (exact version required)
Solution: Query the proxy's docs or test models systematically. Proxies often require exact version strings — a generic alias like claude-opus will fail even if the proxy supports Anthropic's Claude API. Always ask for or discover the exact model string the proxy exposes (e.g., claude-haiku-4-5-20251001, not claude-haiku).
Pitfall 3: Mixed Auth Headers
Different formats require different auth mechanisms:
- OpenAI & Claude (via proxy):
Authorization: Bearer sk-...(same header) - Gemini (via proxy):
x-goog-api-key: sk-...(different header + optionalanthropic-version)
Hermes is smart enough to detect the format and apply the right header if base_url matches the documented format. If you mix (e.g., Claude model name with OpenAI endpoint), it will fail.
Pitfall 4: Rate Limits & Usage Quotas
If Hermes reports HTTP 429 or "usage limit reached", don't assume a config error — check:
- Provider's quota dashboard (did you hit a monthly limit?)
- Whether the API key is still valid
- Whether the account tier supports the model
Switch to a different provider temporarily to confirm the config is sound.
Verification Steps
- Test auth privately first:
```bash curl -X POST https://api.proxy.com/v1/chat/completions \ -H "Authorization: Bearer YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"exact-model-name","messages":[{"role":"user","content":"hi"}],"max_tokens":5}' \
`` Response should be HTTP 200 with choices[0].message.content` present.
- Check config.yaml syntax:
``bash hermes config list # or similar validation command ``
- Check Hermes sees the provider:
``bash grep -A2 "name: ProviderName" ~/.hermes/config.yaml ``
- Test in Hermes directly (ask a simple question, check logs):
`` hermes config set model.provider CustomOpenAI hermes config set model.default gpt-4-turbo # then run an agent query and monitor ~/.hermes/logs/agent.log ``
References
references/multi-format-proxy-testing.md— Debugging walk-through for HTTP 405 errors and exact model name discovery (gptsapi.net case study).references/gptsapi-net-provider-landscape.md— Complete model roster, config templates, and real-world usage patterns for multi-format proxies.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingbrain/hermes-home/skills/devops/hermes-custom-providers/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/skkeoriw/hermes-brain/hermes-custom-providers)