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.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- freeride
- description
- 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.
02 资源文件 6
- 参考文档_meta.json295 B
- 脚本main.py25.6 KB
- 参考文档README.md6.5 KB
- 参考文档requirements.txt17 B
- 参考文档skill.json719 B
- 脚本watcher.py10.3 KB
03 SKILL.md 正文
FreeRide - Free AI for OpenClaw
Configures OpenClaw to use free AI models from OpenRouter with automatic fallback switching.
Quick Start
# Set API key (free at openrouter.ai/keys)
export OPENROUTER_API_KEY="sk-or-v1-..."
# Auto-configure best model + fallbacks
freeride auto
Commands
list - View available models
freeride list # Top 15 models
freeride list -n 30 # More models
freeride list --refresh # Force API refresh
auto - Auto-configure
freeride auto # Best model + 5 fallbacks
freeride auto -f # Fallbacks only (keep current primary)
freeride auto -c 10 # 10 fallbacks
freeride auto --setup-auth # Also configure auth profile
switch - Set specific model
freeride switch qwen3-coder # Set as primary
freeride switch deepseek -f # Add to fallbacks only
freeride switch nvidia/nemotron --no-fallbacks
status - Check configuration
freeride status
fallbacks - Update fallbacks only
freeride fallbacks # 5 fallbacks
freeride fallbacks -c 10 # 10 fallbacks
refresh - Update model cache
freeride refresh
Behavior
Primary model: Best specific model (not router) for consistent responses.
First fallback: Always openrouter/free - OpenRouter's smart router that auto-selects based on request features (vision, tools, etc.).
Additional fallbacks: Ranked by quality score.
Config preservation: Only updates model-related sections; preserves gateway, channels, plugins, etc.
Model Ranking
Score (0-1) based on:
- Context length (40%)
- Capabilities (30%)
- Recency (20%)
- Provider trust (10%)
Flags
| Flag | Commands | Description |
|---|---|---|
-f |
switch, auto | Fallback only, keep primary |
-c N |
auto, fallbacks | Number of fallbacks |
--no-fallbacks |
switch | Skip fallback configuration |
--setup-auth |
switch, auto | Add OpenRouter auth profile |
-n N |
list | Models to display |
-r |
list | Force refresh |
Config Output
Updates ~/.openclaw/openclaw.json:
{
"agents": {
"defaults": {
"model": {
"primary": "openrouter/qwen/qwen3-coder:free",
"fallbacks": [
"openrouter/free:free",
"nvidia/nemotron-3-nano-30b-a3b:free"
]
}
}
}
}
Troubleshooting
"OPENROUTER_API_KEY not set": Export the key or add to shell profile.
Config not updating: Check file permissions on ~/.openclaw/openclaw.json.
Changes not taking effect: Restart OpenClaw.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.