F
freeride-opencode
Configure and optimize OpenCode Zen free models with smart fallbacks for subtasks, heartbeat, and cron jobs. Use when setting up cost-effective AI model routing with automatic failover between free models.
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Configure and optimize OpenCode Zen free models with smart fallbacks for subtasks, heartbeat, and cron jobs. Use when setting up cost-effective AI model routing with automatic failover between free models.
How to use
- Zarejestruj się na OpenCode.ai i uzyskaj klucz API OpenCode Zen, który będzie potrzebny do dostępu do modeli MiniMax M2.1, Kimi K2.5, GLM 4.7 i GPT 5 Nano. 2. Zarejestruj się na OpenRouter.ai i wygeneruj klucz API OpenRouter, wymagany do modeli Trinity Large i innych darmowych modeli z tej platformy. 3. Dodaj oba klucze do konfiguracji OpenCode w sekcji providers — upewnij się, że zarówno opencode, jak i openrouter są prawidłowo skonfigurowane. 4. Zastosuj konfigurację skill'u, ustawiając primary model na opencode/minimax-m2.1-free oraz dodając fallbacki w kolejności: openrouter/arcee-ai/trinity-large-preview:free i opencode/kimi-k2.5-free. 5. Dla heartbeat i subagentów przypisz dedykowane modele — heartbeat otrzyma opencode/glm-4.7-free, a subagenty opencode/kimi-k2.5-free. 6. Przetestuj konfigurację, wysyłając zapytanie do agenta — system automatycznie przełączy się na fallback, jeśli główny model będzie niedostępny.