← 返回 Skills 市场
andy27725

Free Ride 1.0.5

作者 Andy27725 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
166
总下载
0
收藏
8
当前安装
1
版本数
在 OpenClaw 中安装
/install free-ride-1-0-5
功能描述
Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates opencla...
使用说明 (SKILL.md)

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:

    export OPENROUTER_API_KEY="sk-or-v1-..."
    # Or persist it:
    openclaw config set env.OPENROUTER_API_KEY "sk-or-v1-..."
    
  2. The freeride CLI is installed. Check with which freeride. If not found:

    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

Command When to use it
freeride auto User wants free AI set up (most common)
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 \x3Cmodel> User wants a specific model (e.g. freeride switch qwen3-coder)
freeride switch \x3Cmodel> -f Add specific model as fallback only
freeride status Check current FreeRide configuration
freeride fallbacks Update only the fallback models
freeride refresh 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:

  • 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 (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
freeride: command not found cd ~/.openclaw/workspace/skills/free-ride && pip install -e .
OPENROUTER_API_KEY not set User needs a key from https://openrouter.ai/keys
Changes not taking effect openclaw gateway restart then /new for fresh session
Agent shows 0 tokens Check freeride status — primary should be openrouter/\x3Cprovider>/\x3Cmodel>:free
安全使用建议
This skill appears to do what it claims: it requires an OpenRouter API key, will make network calls to OpenRouter, and will read/modify ~/.openclaw/openclaw.json and create cache/state files under ~/.openclaw. Before installing: (1) back up ~/.openclaw/openclaw.json, (2) verify the OPENROUTER_API_KEY you provide is correct and from openrouter.ai, (3) review the included main.py and watcher.py if you want to confirm behavior (they are present in the package), and (4) be aware that installing via 'pip install -e .' will install console scripts that can run locally. Also note the repository/registry metadata is inconsistent about required env vars and install type — prefer the declarations inside skill.json / SKILL.md and the source files over the top-level summary.
功能分析
Type: OpenClaw Skill Name: free-ride-1-0-5 Version: 1.0.0 The FreeRide skill bundle is designed to manage and automate the use of free AI models from OpenRouter within the OpenClaw environment. The core logic in `main.py` and `watcher.py` fetches available free models, ranks them by quality, and updates the OpenClaw configuration file (`~/.openclaw/openclaw.json`) to set primary and fallback models. While the skill modifies a critical configuration file and performs automated API health checks using the user's API key, these actions are transparently documented and strictly aligned with the stated purpose of providing seamless model rotation and cost reduction.
能力评估
Purpose & Capability
The skill's name/description match the included code and SKILL.md: it queries OpenRouter, ranks free models, and updates OpenClaw config. However there are metadata inconsistencies: the top registry summary claimed no required env vars and 'instruction-only', while the included files (skill.json, SKILL.md, main.py, watcher.py, setup.py) clearly require/openly use OPENROUTER_API_KEY and provide a Python package to install. This mismatch is likely an authoring/packaging oversight rather than malicious, but it's important to know the package is code-backed (not pure prose).
Instruction Scope
SKILL.md instructs the agent/user to install the freeride CLI (pip install -e .), set OPENROUTER_API_KEY, run `freeride auto` and restart the OpenClaw gateway. The instructions and included code access/modify ~/.openclaw/openclaw.json and create cache/state files under ~/.openclaw — which the README and code explicitly document. The skill also makes outbound calls to OpenRouter APIs (model listing and chat health checks). All of these actions are within the stated purpose, but the SKILL.md and code have broad permission to read/modify that OpenClaw config file, so the user should back it up before use.
Install Mechanism
There is no remote arbitrary download; installation is via pip (editable) using the included setup.py which installs console scripts (freeride, freeride-watcher). This will execute/setup local Python entry points — standard but execution of included code occurs during use. No high-risk remote installers or URL shorteners are used. The mismatch between the registry's 'no install spec' and the repo's setup.py is notable.
Credentials
The code and SKILL.md require OPENROUTER_API_KEY (environment or OpenClaw config) which is appropriate for contacting OpenRouter. There are no other unrelated credentials requested. That said, the registry header at the top incorrectly listed 'Required env vars: none' while skill.json and SKILL.md mark OPENROUTER_API_KEY as required — this inconsistency should be resolved by the publisher before trusting metadata blindly.
Persistence & Privilege
The skill does not request 'always: true' and is user-invocable. It persists only to files under the user's home (~/.openclaw): openclaw.json, .freeride-cache.json, and .freeride-watcher-state.json. It does not attempt to modify other skills or system-wide settings beyond the OpenClaw config path it documents.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install free-ride-1-0-5
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /free-ride-1-0-5 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the freeride skill for OpenClaw. - Automatically configures OpenClaw to use free AI models from OpenRouter, ranking them by quality. - Adds fallback models to minimize disruptions from rate limits and preserves your existing configuration. - Provides CLI commands to list models, switch primaries or fallbacks, and refresh the model list. - Updates only agent model settings in openclaw.json, keeping other settings unchanged. - Includes optional watcher tools for automatic model rotation during rate limits.
元数据
Slug free-ride-1-0-5
版本 1.0.0
许可证 MIT-0
累计安装 8
当前安装数 8
历史版本数 1
常见问题

Free Ride 1.0.5 是什么?

Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates opencla... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 166 次。

如何安装 Free Ride 1.0.5?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install free-ride-1-0-5」即可一键安装,无需额外配置。

Free Ride 1.0.5 是免费的吗?

是的,Free Ride 1.0.5 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Free Ride 1.0.5 支持哪些平台?

Free Ride 1.0.5 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Free Ride 1.0.5?

由 Andy27725(@andy27725)开发并维护,当前版本 v1.0.0。

💬 留言讨论