Agent Provider Configs — AI skill for Claude Code
Copy-paste configs to point Claude Code, OpenCode, Codex CLI, Cline, Kilo, Aider, Hermes, OpenClaw, Pi, Zed, Cursor and 10 more AI coding agents at any OpenAI- or Anthropic-compatible API.
How to install Agent Provider Configs
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open henrikdukefoss/agent-provider-configs and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Provider Configs does
Copy-paste configs to point Claude Code, OpenCode, Codex CLI, Cline, Kilo, Aider, Hermes, OpenClaw, Pi, Zed, Cursor and 10 more AI coding agents at any OpenAI- or Anthropic-compatible API. Sourced gotchas and provider base URLs.
Alternatives in AI
- LLM For Zotero — An open-sourced research agent system deeply rooted in your Zotero library 2.8k ★
- Rulesync — by dyoshikawa - A Node.js CLI tool that automatically generates configs (rules, ignore files, MCP servers, com 909 ★
- Coffee CLI — A clean AI terminal workspace 180 ★
README
agent-provider-configs
Copy-paste configs for pointing AI coding agents at any OpenAI-compatible or Anthropic-compatible API: a gateway, a router, another model vendor, or a server on your own machine.
20 agents, 21 provider presets, a source link for every key. Last checked: **2026-10-14**.
How do I point an AI coding agent at a custom OpenAI-compatible API?
You need three values: a **base URL**, an **API key**, and a **model ID** that the provider serves. Where they go depends on the agent:
- Claude Code reads env vars:
ANTHROPIC_BASE_URL(no/v1),ANTHROPIC_AUTH_TOKEN,ANTHROPIC_MODEL. It only speaks the Anthropic Messages API. - OpenCode and Kilo Code take a
providerblock inopencode.json/kilo.jsonwith"npm": "@ai-sdk/openai-compatible"andoptions.baseURL. - Codex CLI takes a
[model_providers.]table in~/.codex/config.toml. It only speaks the OpenAI Responses API now;wire_api = "chat"was removed. - Cline, Roo Code, Cursor, Copilot, JetBrains have an "OpenAI Compatible" option in their settings UI.
- Most other agents take a JSON or YAML provider entry. Find yours in the table, copy the block, replace the three placeholders.
Placeholders used everywhere: `https://YOUR_PROVIDER/v1`, `YOUR_PROVIDER_API_KEY`, `MODEL_ID`. Real values for 21 providers are in [Provider presets](#provider-presets).
The four mistakes behind most "404" and "model not found" errors
/v1or no/v1. OpenAI-style base URLs end in/v1(the client appends/chat/completions). Claude Code, Zed'santhropic_compatible, Goose, Roo Code and Factory'santhropictype want the Anthropic base URL without/v1because they append/v1/messagesthemselves. OpenCode, Kilo, Continue and Crush use AI SDK or similar clients that want it with/v1. Each section below says which.- Wrong protocol. Codex CLI needs
/v1/responses. Claude Code needs/v1/messages. An endpoint that only serves `/v1/chat/c
Related Skills
Engram
The context spine that 10x's every AI coding session. Live in 8 IDEs (Claude Code, Cursor, Cline, Continue, Ai
Agents Md Templates
One AGENTS.md, every AI coding agent. Copy-paste templates for Claude Code, Codex, Cursor, Gemini CLI, Copilot
Coding Agent Forensics
Offline single-file forensic viewer for AI coding-agent sessions — Claude Code, Codex, Cursor, Gemini, Copilot
AI Citation Monitor
Tracks whether your brand is cited by ChatGPT, Claude, Perplexity, and Gemini for your target queries. Generat
Vexryn Scan
See what your AI coding agent actually loads — and what it can do. Any repo, any stack, no config. Reads Claud
Hv Sync Commands
Sync personal commands and skills across AI tools (Claude, Cursor, Kilo, Cline) and machines via hAIveMind
Related Agents
Ensemble Curator
High-volume triage agent for external-AI-agent PRs (Codex, Jules, Hermes, Droid, Aider, etc.). Analyzes, conso
Fable5 Apfel Engineer
Heavy-lifting Fable-5 engineer for the apfel project (Apple on-device FoundationModels CLI + OpenAI-compatible
Provider Debugger
Diagnose live-provider compatibility failures for Kimi, GLM, and other OpenAI-compatible endpoints