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★ 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:
texttool_callingstructured_outputreasoningvisionembeddingrerankcodespeech_to_texttext_to_speechtranslationdocument_processingweb_searchimage_genmoderation
Example Capability Model Request:
{
"model": "auto:tool_calling+structured_output",
"messages": [{ "role": "user", "content": "Extract data from text." }]
}
2. Resilience Flow
- Candidate Discovery:
Registryfinds all providers supporting the required capabilities. - Strategy Ranking:
AdaptiveHealthStrategyorLowestLatencyStrategysorts candidates. - Quota Check:
QuotaTrackerverifies available RPM/TPM/RPD. - Circuit Breaker:
CircuitBreakerskips tripped/degraded providers. - 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), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…