MiniMax Token Plan Quota

v0.1.0

Check MiniMax Token Plan remaining quota, usage window reset time, and per-model remaining limits, especially for the China mainland Token Plan flow on minim...

0· 173·0 current·0 all-time
byAlexShen@alex-shen1121

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for alex-shen1121/minimax-token-plan-quota.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "MiniMax Token Plan Quota" (alex-shen1121/minimax-token-plan-quota) from ClawHub.
Skill page: https://clawhub.ai/alex-shen1121/minimax-token-plan-quota
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install minimax-token-plan-quota

ClawHub CLI

Package manager switcher

npx clawhub@latest install minimax-token-plan-quota
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the provided script and SKILL.md. The included Python script queries MiniMax quota endpoints and formats results; nothing in the files requests unrelated services or privileges.
Instruction Scope
Runtime instructions and the script limit actions to: read MINIMAX_API_KEY from env or ~/.openclaw/.env, call the MiniMax endpoints (China or global), and print a markdown table or JSON. The SKILL.md does not instruct reading other files or exfiltrating data.
Install Mechanism
There is no install spec; this is an instruction + script bundle. No external downloads, package installs, or archive extraction are used.
Credentials
The skill requires a MiniMax API key to function and the SKILL.md/script expect MINIMAX_API_KEY (env or ~/.openclaw/.env). Registry metadata lists no required env vars — that metadata omission is inconsistent but not malicious. No other secrets or unrelated credentials are requested.
Persistence & Privilege
The skill does not request permanent presence (always:false) and does not modify other skills or system-wide configs. It only reads ~/.openclaw/.env if present; it does not write persistent credentials itself.
Assessment
This skill appears to do exactly what it says: call MiniMax quota endpoints and format results. Before installing or running it, be aware that it needs your MiniMax API key (MINIMAX_API_KEY). Provide the key either as an environment variable for the one-off command or store it in ~/.openclaw/.env if you trust the environment. The registry metadata omits declaring that env var — that’s a minor inconsistency but not a security red flag. The script only contacts https://www.minimaxi.com and https://www.minimax.io and does not attempt to send data elsewhere or persist keys. If you have concerns, run the Python script locally and inspect network activity (or run it with a throwaway key) before giving it a real API key.

Like a lobster shell, security has layers — review code before you run it.

latestvk973ka4mnqqnvmp4wdfye79j5s83g6kc
173downloads
0stars
1versions
Updated 1mo ago
v0.1.0
MIT-0

MiniMax Token Plan Quota

Use this skill to query MiniMax Token Plan remaining quota.

Default behavior

  • Default to the China mainland endpoint on www.minimaxi.com
  • Return a compact table with:
    • 项目
    • 周期
    • 总额度
    • 剩余额度
    • 重置剩余时间

Important rule

Interpret the /coding_plan/remains response as remaining quota, not consumed quota.

The script maps:

  • current_interval_total_count → 当前周期总额度
  • current_interval_usage_count → 当前周期剩余额度
  • current_weekly_total_count → 本周总额度
  • current_weekly_usage_count → 本周剩余额度

Do not flip those meanings unless MiniMax docs change.

Secret handling

  • Prefer MINIMAX_API_KEY from env
  • If env is absent, the bundled script will also try ~/.openclaw/.env
  • You may pass --api-key for one-off manual runs
  • If the user pasted a key in the current conversation, use it transiently for the current task only
  • Do not store MiniMax API keys in workspace memory, skill files, or long-term notes
  • If ~/.openclaw/.env is missing or lacks MINIMAX_API_KEY, guide the user to add:
mkdir -p ~/.openclaw
printf "MINIMAX_API_KEY=你的key\n" > ~/.openclaw/.env

Commands

China mainland Token Plan quota

MINIMAX_API_KEY='...' python3 scripts/check_token_plan_quota.py --region cn

Or rely on ~/.openclaw/.env:

python3 scripts/check_token_plan_quota.py --region cn

Global endpoint

MINIMAX_API_KEY='...' python3 scripts/check_token_plan_quota.py --region global

JSON output

MINIMAX_API_KEY='...' python3 scripts/check_token_plan_quota.py --region cn --json

Output style for user replies

Default to the markdown table only when the user asks for a concise result.

Example:

| 项目 | 周期 | 总额度 | 剩余额度 | 重置剩余时间 |
|---|---|---:|---:|---|
| MiniMax-M* | 当前周期 | 1500 | 1500 | 4小时26分钟 |

If some models show total quota 0, explain briefly only when needed:

  • 当前套餐未开通
  • 或该 key 不包含此能力

Resource

scripts/check_token_plan_quota.py

Queries the MiniMax Token Plan quota endpoint and prints either:

  • a compact markdown table
  • or normalized JSON

Comments

Loading comments...