← 返回
AI智能 Key 中文

Free Ride - Unlimited free AI

Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates opencla...
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
shaivpidadi
AI智能 clawhub v1.0.11 4 版本 87598.3 Key: 需要
★ 466
Stars
📥 76,352
下载
💾 513
安装
4
版本
#latest

概述

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.

Prerequisites

Before running any FreeRide command, ensure:

  1. OPENROUTER_API_KEY is set. Check with echo $OPENROUTER_API_KEY. If empty, the user must get a free key at https://openrouter.ai/keys and set it:

```bash

export OPENROUTER_API_KEY="sk-or-v1-..."

# Or persist it:

openclaw config set env.OPENROUTER_API_KEY "sk-or-v1-..."

```

  1. The freeride CLI is installed. Check with which freeride. If not found:

```bash

cd ~/.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

CommandWhen to use it
-------------------------
freeride autoUser wants free AI set up (most common)
freeride auto -fUser wants fallbacks but wants to keep their current primary model
freeride auto -c 10User wants more fallbacks (default is 5)
freeride listUser wants to see available free models
freeride list -n 30User wants to see all free models
freeride switch User wants a specific model (e.g. freeride switch qwen3-coder)
freeride switch -fAdd specific model as fallback only
freeride statusCheck current FreeRide configuration
freeride fallbacksUpdate only the fallback models
freeride refreshForce refresh the cached model list
freeride rotateUser is rate-limited / fallback chain is dead — live-test and rebuild

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:

  • agents.defaults.model.primary — e.g. openrouter/qwen/qwen3-coder:free
  • agents.defaults.model.fallbacks — e.g. ["openrouter/free", "nvidia/nemotron:free", ...]
  • agents.defaults.models — allowlist so /model command shows the free models

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 (Background Daemon)

For autonomous recovery from a "whole chain is rate-limited" deadlock — which

the agent can't fix by itself, since calling freeride rotate requires

inference and inference is exactly what's failing — the user can run a slim

background daemon:

# Foreground
freeride-watcher

# Persistent background
nohup freeride-watcher > ~/.openclaw/freeride-watcher.log 2>&1 &

# One-shot check (no loop)
freeride-watcher --once

# State / history
freeride-watcher --status

The daemon probes the current primary every 60s; if it fails, it rebuilds the

chain with live-verified models. Recommend this whenever the user is leaving

an unattended OpenClaw setup running.

Troubleshooting

ProblemFix
--------------
freeride: command not foundcd ~/.openclaw/workspace/skills/free-ride && pip install -e .
OPENROUTER_API_KEY not setUser needs a key from https://openrouter.ai/keys
Changes not taking effectopenclaw gateway restart then /new for fresh session
Agent shows 0 tokensCheck freeride status — primary should be openrouter//:free

版本历史

共 4 个版本

  • v1.0.11 当前
    2026-05-08 12:02 安全 安全
  • v1.0.9
    2026-04-30 05:39 安全 安全
  • v1.0.4
    2026-03-27 22:52 安全
  • v1.0.5
    2026-03-27 22:34

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Arc Security - Agent Trust Protocol

shaivpidadi
通过质押 USDC 债券管理技能信任,为已验证技能支付微费,举报恶意技能,并参与去中心化治理
★ 2 📥 3,259
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,349 📥 317,678
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,055 📥 795,674