openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Model Guard

Monitors Anti-Gravity model quotas and automatically switches to the model with highest quota or falls back to gemini-flash if all are below 20%.

AI 与大模型

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.0

统计:⭐ 2 · 1.1k · 3 current installs · 6 all-time installs

2

安装量(当前) 6

🛡 VirusTotal :良性 · OpenClaw :可疑

Package:model-guard

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :可疑

OpenClaw 评估

The skill's code is mostly consistent with its stated purpose (switching models using the local openclaw CLI), but the package metadata and SKILL.md omit that it requires the openclaw binary and there are small safety/usability omissions worth addressing before installing.

目的

The SKILL.md and guard.js implement a coherent feature: query 'openclaw models status' and switch models via 'openclaw models set'. However the skill's declared requirements list no required binaries even though the script depends on the 'openclaw' CLI being present on PATH. The skill also has no human-friendly description or provenance information (homepage/source unknown), which reduces trust.

说明范围

Runtime instructions and the script stay within the stated purpose: they only call the local 'openclaw' CLI, parse status output, and may call 'openclaw models set'. The script does not contact external network endpoints, read arbitrary filesystem locations, or access environment variables. It directs no data off-host.

安装机制

No install spec is provided (instruction-only + included script). Nothing is downloaded or written by an installer. The package exposes a CLI via package.json, which is expected for this type of tool.

证书

The skill requests no environment variables or credentials and the code does not reference secrets or external tokens. This is proportionate to the stated task.

持久

always:false (normal). The skill can be invoked autonomously by the agent (default), and when executed it will change the agent/system default model via 'openclaw models set'—a legitimate but impactful action. Consider whether autonomous runs should be allowed or limited by scheduling/auditing.

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Model Guard」。简介:Monitors Anti-Gravity model quotas and automatically switches to the model with…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/sarielwang93/model-guard/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

# Model Guard

Automatically monitors Anti-Gravity model quotas and switches the default model to the one with the highest remaining quota. If all Anti-Gravity models are below 20%, it falls back to the native `gemini-flash` model.

## Usage

- **Manual trigger**: `model-guard`
- **Auto trigger**: Designed to be run via `cron` or `heartbeat`.

## Configuration

Edit `guard.js` to change the `THRESHOLD` (default 20%) or `FALLBACK_MODEL`.