Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
实时监控OpenClaw模型API配额,配额不足时询问用户确认后再切换模型,支持多模型优先级和手动指定切换。
实时监控OpenClaw模型API配额,配额不足时询问用户确认后再切换模型,支持多模型优先级和手动指定切换。
This item's current download entry is known to bounce back to a listing or homepage instead of returning a package file.
Use the source page and any available docs to guide the install because the item currently does not return a direct package file.
I tried to install a skill package from Yavira, but the item currently does not return a direct package file. Inspect the source page and any extracted docs, then tell me what you can confirm and any manual steps still required.
I tried to upgrade a skill package from Yavira, but the item currently does not return a direct package file. Compare the source page and any extracted docs with my current installation, then summarize what changed and what manual follow-up I still need.
监控 OpenClaw 模型 API 使用量,配额不足时询问用户确认后再切换,确保用户知情。
✅ 实时监控当前模型 API 状态 ✅ 检测配额不足/错误 ✅ 询问用户确认后再切换模型 ✅ 支持多个模型优先级配置 ✅ 手动指定切换到某个模型
# 确认Python环境 python3 --version # 确认脚本存在(路径根据实际安装位置调整) ls -la ~/.openclaw/skills/api-monitor/api_monitor.py
# 替换为实际脚本路径 SCRIPT_PATH="$HOME/.openclaw/skills/api-monitor/api_monitor.py" python3 "$SCRIPT_PATH" --check
SCRIPT_PATH="$HOME/.openclaw/skills/api-monitor/api_monitor.py" python3 "$SCRIPT_PATH" --ask
SCRIPT_PATH="$HOME/.openclaw/skills/api-monitor/api_monitor.py" python3 "$SCRIPT_PATH" --confirm
# 替换为目标模型 TARGET_MODEL="mydamoxing/MiniMax-M2.5" SCRIPT_PATH="$HOME/.openclaw/skills/api-monitor/api_monitor.py" python3 "$SCRIPT_PATH" --model "$TARGET_MODEL"
SCRIPT_PATH="$HOME/.openclaw/skills/api-monitor/api_monitor.py" python3 "$SCRIPT_PATH" --list-models
mydamoxing/MiniMax-M2.5-highspeed - MiniMax高速版 mydamoxing/MiniMax-M2.5 - MiniMax普通版 volcengine/ark-code-latest - 火山引擎 hajimi/claude-sonnet-4-20250511 - 免费模型
定时检查 → 运行 --check 查看状态 发现问题 → 运行 --ask 生成询问消息 用户确认 → 运行 --confirm 执行切换 或者 → 用户指定 --model xxx 直接切换
用户: 检查一下API状态 助手: (运行 --check) 当前模型: mydamoxing/MiniMax-M2.5-highspeed 状态: API配额可能不足,建议切换模型 错误次数: 3 用户: 那就切换吧 助手: (运行 --confirm) 确认切换: mydamoxing/MiniMax-M2.5-highspeed → mydamoxing/MiniMax-M2.5 切换成功!
如需定时自动检查,可配置 cron: # 编辑 crontab crontab -e # 添加定时任务(每30分钟检查一次) # 替换为实际路径 */30 * * * * cd $HOME/.openclaw/skills/api-monitor && python3 api_monitor.py --check >> /var/log/api-monitor.log 2>&1
切换模型会中断当前会话 建议在非高峰期操作 始终需要用户确认才切换 定期检查日志 /var/log/api-monitor.log 了解运行状态
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.