minimax-token-plan-quota
Check MiniMax Token Plan remaining quota, usage window reset time, and per-model remaining limits, especially for the China mainland Token Plan flow on minimaxi.com. Use when the user asks things like “MiniMax 还有多少额度”, “查一下 minimax 订阅剩余额度”, “看看 Token Plan 还剩多少”, or wants a compact quota table for MiniMax Token Plan.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alex-shen1121/minimax-token-plan-quotaMiniMax 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_KEYfrom env - If env is absent, the bundled script will also try
~/.openclaw/.env - You may pass
--api-keyfor 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/.envis missing or lacksMINIMAX_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
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alex-shen1121-minimax-token-plan-quota": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
feishu-group-company
Configure a Feishu multi-bot company group so one coordinator bot, for example `company-ceo`, handles normal group messages, while specialist bots reply only when explicitly @mentioned. Use when setting up or fixing a shared company/work group with multiple Feishu bot accounts, especially for patterns like: normal messages then CEO replies; at UI then UI replies; at dev then dev replies; and CEO stays silent when another bot is explicitly mentioned.
halo-blog
Use when managing a Halo blog instance via CLI, including authentication, posts, pages, themes, plugins, attachments, backups, comments, moments, notifications, or public site search.
gmncode-usage
通过 HTTP 接口查询 GMNCODE / gmncode.cn 中转站的大模型用量,包括 dashboard 汇总、每日趋势、按模型拆分的 token 与费用数据。当用户要求查看 GMNCODE token 用量、每日模型消耗、API/中转站花费、dashboard 用量,或希望用脚本/HTTP 接口直接获取 GMNCODE 使用数据而不是手动打开网页时使用。
chat-to-podcast
将与 AI 的对话内容整理成 Podcast 风格文稿,经用户确认后一键发布到 Halo 博客。 支持:指定话题/时间范围/关键词提取对话 → 自动整理成播客文稿(开场白、对话体、要点总结、结尾)→ 预览确认 → 发布 Halo。 当用户提到「整理成播客」「对话转文稿」「发布播客」「聊天内容发博客」「把我们的对话整理成文章」 「对话整理成播客」「chat to podcast」「生成播客文稿」时触发。
danke-blog-writer
晨玙(老板)的专属博客写作助手。整合选题→标题→起草→去 AI 味→发布的完整工作流,输出自然、直接、有判断力的个人风格内容,适用于技术、AI、生活观察类博客。