claude-skill

AIClient2API – Seamlessly Route AI Calls Across Any Provider

AIClient2API lets founders self‑host a universal AI proxy, instantly switching between OpenAI, Claude, Gemini, Grok, and custom models with smart routing and auto‑failover. Ideal for teams needing reliable, multi‑protocol AI access.

From the repo · “Self-hosted multi-protocol AI API proxy for Antigravity, Codex, Grok, Kiro, OpenAI, Claude, and custom providers. Supports OpenAI-compatible API, Claude API, Gemini protocol conversion, GPT, Grok Build, Claude Opus, Gemini Pro, Kimi, MiniMax, provider pools, smart routing, and automatic failover.”

8,908 stars+26★ this week1,403 forksJavaScriptGuide quality 9/10 · reviewed Oct 15Updated 10/21/2026100% free · open source
What it does

AIClient2API acts as a self-hosted proxy to manage and route requests to multiple AI providers, including OpenAI, Claude, and custom providers, with features like smart routing and automatic failover.

When to use it
  • •When you need to integrate multiple AI providers into your application
  • •When you require more control over the routing and failover of AI requests
  • •When you want to convert between different AI protocols, such as Gemini and OpenAI-compatible API
Ready-to-paste prompt
curl -X POST -H "Content-Type: application/json" -d "{"model": "gpt-3.5-turbo", "prompt": "Write a short story about a character who discovers a hidden world."}" http://localhost:3000/v1/completions
Heads up: Make sure you have a valid API key for the desired AI providers, such as OpenAI, and that you have installed the required dependencies, including Node.js 16 or higher, as specified in the README
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

⚡ Runs out of the box

A prompt/skill package — nothing to install beyond adding it to your AI tool.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/aiclient2api && curl -fsSL https://workflowstacks.com/api/skills/aiclient2api/claude-skill -o ~/.claude/skills/aiclient2api/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How AIClient2API – Seamlessly Route AI Calls Across Any Provider works
Codeflow
Free to inspect

AIClient2API – Seamlessly Route AI Calls Across Any Provider is a very large JavaScript project (~89k lines across 136 code files, plus 2 test files). It is a full software project: use it through its install path rather than reading it end to end. Last commit this month, GPL-3.0 license, has a test suite.

Size
Very large codebase
~89k lines · 136 code files · days to read — use, don't read
Setup
Developer setup
A real software project. Use it via its install path; don't expect to read it all.
Runs on
Node.js · Docker
No API keys detected
JavaScript 86%HTML 7%CSS 7%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    tls-sidecar/main.go
    Where the program starts running
  3. 3
    package.json
    Dependencies and the commands it exposes
  4. 4
    src/auth/index.js
    Inside src/ — the main logic begins here
What's in each folder
src/Core code — the actual logic127 files
docs/Documentation6 files
configs/Configuration9 files
docker/Deployment / infrastructure4 files
tls-sidecar/Folder3 files
static/Images & static assets80 files
.github/CI / automation (GitHub Actions)2 files
tests/Tests — proof it works2 files
READMEHas testsDocumentedCI checksDocker readyGPL-3.0 licenseUpdated this month
Quick Actions
Details
Creator
justlovemaki
Language
JavaScript
Category
claude-skill
Published
7/20/2025

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/aiclient2api.svg)](https://workflowstacks.com/skills/aiclient2api?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.