freeride
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates openclaw.json. Use when the user mentions free AI, OpenRouter, model switching, rate limits, or wants to reduce AI costs.
git clone https://github.com/Shaivpidadi/FreeRide
git clone --depth=1 https://github.com/Shaivpidadi/FreeRide ~/.claude/skills/shaivpidadi-freeride-freeride
SKILL.mdFreeRide - 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.
Prerequisites
Before running any FreeRide command, ensure:
-
OPENROUTER_API_KEY is set. Check with
. If empty, the user must get a free key at https://openrouter.ai/keys and set it:echo $OPENROUTER_API_KEYexport OPENROUTER_API_KEY="sk-or-v1-..." # Or persist it: openclaw config set env.OPENROUTER_API_KEY "sk-or-v1-..." -
The
CLI is installed. Check withfreeride
. If not found:which freeridecd ~/.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.
Commands Reference
| Command | When to use it |
|---|---|
| User wants free AI set up (most common) |
| User wants fallbacks but wants to keep their current primary model |
| User wants more fallbacks (default is 5) |
| User wants to see available free models |
| User wants to see all free models |
| User wants a specific model (e.g. ) |
| Add specific model as fallback only |
| Check current FreeRide configuration |
| Update only the fallback models |
| Force refresh the cached model list |
After any command that changes config, always run
.openclaw gateway restart
What It Writes to Config
FreeRide updates only these keys in
~/.openclaw/openclaw.json:
— e.g.agents.defaults.model.primaryopenrouter/qwen/qwen3-coder:free
— e.g.agents.defaults.model.fallbacks["openrouter/free", "nvidia/nemotron:free", ...]
— allowlist soagents.defaults.models
command shows the free models/model
Everything else (gateway, channels, plugins, env, customInstructions, named agents) is preserved.
The first fallback is always
openrouter/free — OpenRouter's smart router that auto-picks the best available model based on the request.
Watcher (Optional)
For auto-rotation when rate limited, the user can run:
freeride-watcher --daemon # Continuous monitoring freeride-watcher --rotate # Force rotate now freeride-watcher --status # Check rotation history
Troubleshooting
| Problem | Fix |
|---|---|
| |
| User needs a key from https://openrouter.ai/keys |
| Changes not taking effect | then for fresh session |
| Agent shows 0 tokens | Check — primary should be |