DevOps v1.0.0

opencode-zen-check-free-models

Monitors the OpenCode Zen pricing page for new free models and offers to update your default configuration.

pranjal 更新于 2026-05-06 1 浏览
下载 SKILL

技能说明

Monitors the OpenCode Zen pricing page for new free models and offers to update your default configuration.

使用场景

When this skill is triggered, follow this logic to keep the user's environment updated with the best available free models:

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/opencode-zen-check-free-models
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 18 kB
SKILL.md text/markdown
---
name: opencode-zen-check-free-models
description: Monitors the OpenCode Zen pricing page for new free models and offers to update your default configuration.
version: 1.0.0
user-invocable: true
requires:
  bins:
    - curl
---

# OpenCode Zen - Check Free Models

When this skill is triggered, follow this logic to keep the user's environment updated with the best available free models:

## 1. Fetch Pricing Page
Fetch the HTML content of the OpenCode Zen pricing documentation:
```bash
curl -sL [https://opencode.ai/docs/zen/#pricing](https://opencode.ai/docs/zen/#pricing)
```

## 2. Extract Free Models
Parse the webpage content (specifically looking at the pricing tables or lists) to identify available models. Extract the names/IDs of any models where the input/output cost is listed as "Free", $0.00, or models with names containing "free" (as well as known free stealth models like `big-pickle`).

## 3. State Comparison
Check the extracted list of free models against the state file located at `./zen_seen_models.json` within the current workspace.
- **If no changes are detected:** Exit silently. Do not notify the user unless they manually invoked this skill.
- **If a new free model is detected:** 
    1. Alert the user: "🚀 **OpenCode Zen Update:** I found a new free model on the pricing page: `[Model ID]`. It is now available."
    2. Ask: "Would you like me to set `[Model ID]` as your new default model for OpenClaw (for all Agents, Compaction, and Heartbeat)?"

## 4. Execution
- **If the user confirms:** Update the local OpenClaw configuration file in the workspace (e.g., `config.yaml`) or set the relevant environment variables to the new model ID.
- **Finalize:** Save the newly updated list of free models as a JSON array to `./zen_seen_models.json` in the workspace to ensure the user is not prompted again for these specific models.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。