freeride
БесплатноЗапускает вложенные скриптыНе проверенManages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates…
Об этом скилле
FreeRide - Free AI for OpenClaw
What This Skill Does
Configures OpenClaw to use free AI models from OpenRouter. Sets the best free model as primary, adds ranked fallbacks so rate limits don't interrupt the user, and preserves existing config.
Rules for the agent
- Never print, echo, log, or ask the user to paste an API key into chat. Don't echo key variables, run
envorprintenv, orcat ~/.openclaw/.env. The user sets keys themselves. - To check whether a key is set, run
freeride status. It shows keys masked (for examplesk-or-v1-...abcd) orNOT SET. - Before running a command with
--setup-auth, tell the user what it adds (see below) and only pass--yesonce they agree. - Don't pass
--providersor--allow-training-providersunless the user asked for those providers. For Gemini, tell the user Google may use free-tier prompts for training before passing--allow-training-providers.
Prerequisites
Before running any FreeRide command, ensure:
OPENROUTER_API_KEY is set. Check with
freeride status. If it saysNOT SET, the user gets a free key at https://openrouter.ai/keys and adds it themselves, in their editor, as a line in~/.openclaw/.env:OPENROUTER_API_KEY=<their key>(or exports it in their own shell). Do not type the key on a command line for them.
The
freerideCLI is installed. Check withwhich freeride. If not found:cd ~/.openclaw/workspace/skills/@shaivpidadi/free-ride # older installs: ~/.openclaw/workspace/skills/free-ride pip install -e .
Primary Workflow
When the user wants free AI, run these steps in order:
# Step 1: Configure best free model + fallbacks
freeride auto
# Step 2: Restart gateway so OpenClaw picks up the changes
openclaw gateway restart
That's it. The user now has free AI with automatic fallback switching.
Verify by telling the user to send /status to check the active model.
If the user already has a primary model they want to keep (for example a paid one), use freeride auto -f instead. FreeRide then marks that primary as theirs and never changes it.
Commands Reference
| Command | When to use it |
|---|---|
freeride auto |
User wants free AI set up (most common). Saves their old primary first. |
freeride auto -f |
User wants fallbacks but wants to keep their current primary model |
freeride auto -c 10 |
User wants more fallbacks (default is 5) |
freeride list |
User wants to see available free models |
freeride list -n 30 |
User wants to see all free models |
freeride switch <model> |
User wants a specific model (e.g. freeride switch qwen3-coder) |
freeride switch <model> -f |
Add specific model as fallback only |
freeride status |
Check current FreeRide configuration (keys shown masked) |
freeride fallbacks |
Update only the fallback models |
freeride refresh |
Force refresh the cached model list |
freeride rotate |
User is rate-limited / fallback chain is dead — live-test and rebuild (only if FreeRide set the primary) |
freeride restore |
Put back the primary and fallbacks from before FreeRide changed them (--dry-run to preview) |
After any command that changes config, always run openclaw gateway restart.
What It Writes
FreeRide updates only these keys in ~/.openclaw/openclaw.json:
agents.defaults.model.primary— e.g.openrouter/qwen/qwen3-coder:freeagents.defaults.model.fallbacks— e.g.["openrouter/openrouter/free", "openrouter/nvidia/nemotron:free", ...]. Fallbacks the user added themselves are kept, ahead of FreeRide's.agents.defaults.models.<model-ref>— allowlist entries so/modelshows the free models. Existing entries are left as they are.auth.profiles["openrouter:default"]={"provider": "openrouter", "mode": "api_key"}— only with--setup-auth, after FreeRide shows this entry and the user confirms (or--yes). It tells OpenClaw to useOPENROUTER_API_KEY; it contains no key.
Everything else (gateway, channels, plugins, env, customInstructions, named agents) is preserved.
Before every write FreeRide copies the file to ~/.openclaw/openclaw.json.freeride-bak and writes the new file atomically. If openclaw.json has JSON5 comments or trailing commas, or uses $include, FreeRide refuses to write it and says why.
Other files FreeRide writes, all under ~/.openclaw/:
.freeride-state.json— which primary/fallbacks FreeRide set, and the user's previous ones (forfreeride restore).freeride-cache.json— 6-hour cache of the OpenRouter model list.freeride-watcher-state.json— watcher rotation count and last reason- temporary
*.freeride-tmp/*.tmpsiblings during atomic writes
FreeRide never writes API keys, never writes ~/.openclaw/.env, and never touches auth-profiles.json.
The first fallback is always openrouter/free — OpenRouter's smart router that auto-picks the best availab
Установить freeride в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл freeride?
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates openclaw.json. Optional Groq, Gemini and Cerebras free tiers are opt-in. Use when the user mentions free AI, OpenRouter, model switching, rate limits, or wants to reduce AI costs.
Как установить скилл freeride?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл freeride запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set 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…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic