← 返回
开发者工具 Key 中文

Minimax Usage

Check MiniMax coding plan usage/credits remaining. Requires MINIMAX_API_KEY environment variable.
检查 MiniMax 编码计划用量及剩余积分,需设置 MINIMAX_API_KEY 环境变量。
khaney64 khaney64 来源
开发者工具 clawhub v0.1.2 2 版本 99896.3 Key: 需要
★ 0
Stars
📥 963
下载
💾 3
安装
2
版本
#latest

概述

MiniMax Usage

Check your MiniMax coding plan credits remaining.

Usage

# Check remaining credits
bash /home/claw/.openclaw/workspace/skills/minimax-usage/scripts/minimax-usage.sh

# Only alert when remaining drops below 20%
bash /home/claw/.openclaw/workspace/skills/minimax-usage/scripts/minimax-usage.sh --threshold 20

Options

FlagDescription
-------------------
--threshold Only output when remaining % is below this value. If omitted, always outputs.

Output

Returns a Discord-formatted message:

  • Title with model name (warning icon when below threshold)
  • Remaining requests out of total with percentage
  • Reset time in Eastern Time
  • Time left in H:MM:SS

Example: Below threshold alert

When remaining usage falls below the configured threshold:

⚠️ MiniMax Usage Alert — MiniMax-M1
Remaining: 42 of 500 requests (8.4%)
Resets: Feb 17, 2026 12:00 AM ET
Time left: 7:23:15

When above the threshold, the command produces no output and exits with code 0.

Cron Job

The --threshold flag makes this ideal for a cron job that runs periodically and only sends an alert when available credits drop below a percentage:

# Check every 30 minutes, alert if below 20%
# Requires MINIMAX_API_KEY to be set in the cron environment
*/30 * * * * bash /home/claw/.openclaw/workspace/skills/minimax-usage/scripts/minimax-usage.sh --threshold 20 | discord-webhook

No output is produced when usage is above the threshold, so downstream commands (e.g. a webhook) are only triggered when credits are running low.

版本历史

共 2 个版本

  • v0.1.2 当前
    2026-03-29 04:34 安全 安全
  • v0.1.1
    2026-03-26 21:28

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,810
professional

Quodd

khaney64
通过 Quodd API 获取实时股票报价,获取当前价格、每日最高/最低价及美股盘后数据,适用于用户询问股价时。
★ 2 📥 2,829
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,391