Command Palette

Search for a command to run...

Назад к скиллам
скилл № 67935

free-ai-gateway

Architect, route, and interact with the Free-AI Gateway capability routing engine, OpenAI-compatible proxy, and free-tier provider ecosystem.

БесплатноБез исполняемых скриптов
zaber-devот zaber-dev★ 16 звёзд на GitHub

Установить free-ai-gateway в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Free-AI Gateway Skill

Use this skill when developing, configuring, or interacting with Free-AI Gateway (free-ai-gateway).

Core Concepts

1. Capability Routing

Instead of hardcoding provider model names (like llama-3.3-70b or gemini-2.5-flash), developers request capabilities:

  • text
  • tool_calling
  • structured_output
  • reasoning
  • vision
  • embedding
  • rerank
  • code
  • speech_to_text
  • text_to_speech
  • translation
  • document_processing
  • web_search
  • image_gen
  • moderation

Example Capability Model Request:

{
  "model": "auto:tool_calling+structured_output",
  "messages": [{ "role": "user", "content": "Extract data from text." }]
}

2. Resilience Flow

  1. Candidate Discovery: Registry finds all providers supporting the required capabilities.
  2. Strategy Ranking: AdaptiveHealthStrategy or LowestLatencyStrategy sorts candidates.
  3. Quota Check: QuotaTracker verifies available RPM/TPM/RPD.
  4. Circuit Breaker: CircuitBreaker skips tripped/degraded providers.
  5. Execution & Failover: Transparently retries on candidate list if upstream returns 429 or 5xx.

Common Agent Workflows

Running the Gateway Locally

npm run dev

Direct Library Embedding

import { CapabilityRouter, Registry, QuotaTracker, CircuitBreaker } from "@free-ai-gateway/core";

const router = new CapabilityRouter(new Registry(), new QuotaTracker(), new CircuitBreaker());
const response = await router.route({
  capabilities: ["text", "reasoning"],
  payload: { messages: [{ role: "user", content: "Solve puzzle" }] }
});

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл free-ai-gateway?

Architect, route, and interact with the Free-AI Gateway capability routing engine, OpenAI-compatible proxy, and free-tier provider ecosystem.

Как установить скилл free-ai-gateway?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл free-ai-gateway запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить free-ai-gateway с