Agent skill · Backend & API

ai-unified-proxy

Unified AI Proxy - API multi-proveedor gratuita con rotación automática, streaming, y zero vendor lock-in

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill ai-unified-proxy --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 16 KB
Bundled scripts: none
Path: skills/ai-llm/ai-unified-proxy/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# AI Unified Proxy Architecture ## 🎯 Objetivo Crear una API unificada de IA que: - ✅ No dependa de NADIE (zero vendor lock-in) - ✅ Use capas gratuitas de múltiples proveedores - ✅ Rote servicios automáticamente (round-robin) - ✅ Soporte streaming de tokens (SSE) - ✅ Sea extensible (local + cloud) - ✅ Se despliegue fácil en VPS (Coolify) --- ## 🧱 Stack Tecnológico ### Runtime: Bun (B) **Por qué Bun:** - ⚡ Ultra rápido (alternativa a Node.js) - 📦 `bun install` - gestor de paquetes integrado - 🚀 `bun run` - ejecutor nativo - 📘 TypeScript nativo sin configuración - 🎯 Ideal para APIs livianas **Instalación:** ```bash curl -fsSL https://bun.sh/install | bash ``` ### Servidor: Bun.serve() **Características:** - HTTP server nativo (sin Express/Fastify) - Puerto dinámico: `process.env.PORT || 3000` - Manejo manual de rutas (control total) - Performance superior --- ## 🧠 Arquitectura Lógica ``` Client | POST /chat | API Gateway (Bun) | Round-Robin Selector | AI Service Adapter (contrato común) | ┌─────────┬──────────┬─────────┬────────────┬─────────┐ │ Grok │ Cerebras │ Gemini │ OpenRouter │ Local │ └─────────┴──────────┴─────────┴────────────┴─────────┘ | Streaming Response (SSE) ```

What's inside
Steps it walks through
  1. 🎯 Objetivo
  2. 🧱 Stack Tecnológico
  3. Runtime: Bun (B)
  4. Servidor: Bun.serve()
  5. 🧠 Arquitectura Lógica
  6. 📜 Contrato Común (Clave del Sistema)
  7. Tipo: ChatMessage
  8. Interfaz: AIService
  9. 👉 Regla de Oro
  10. 🔁 Balanceo: Round Robin
  11. Estado Global
  12. Selector
  13. Ventajas
  14. Evolución Futura
Ships with 1 file
  • metadata.json
Commands it runs
curl -fsSL https://bun.sh/install | bash
API Keys
Server
API Keys (obtener en respectivos dashboards)
Server config
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash
Instalar dependencias
bun install
Crear .env con tus keys
cp .env.example .env
More from claude-skill-registry
All skills →
About this skill
What does the ai-unified-proxy skill do?

Unified AI Proxy - API multi-proveedor gratuita con rotación automática, streaming, y zero vendor lock-in

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill ai-unified-proxy --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going