← Back to Skills Marketplace
20
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install mini-token-remains
Description
查询 MiniMax API Token 使用情况,支持小时级/周级用量监控,秒级完成。触发词:查 token、查看额度、剩余次数、token 余额。
README (SKILL.md)
minimax-token-remains
查询 MiniMax 账号当前 API Token 使用情况,包括小时级请求次数剩余和周配额。
功能
- ✅ 查询当前小时请求次数(已用/剩余)
- ✅ 查询本周总配额(已用/剩余)
- ✅ 纯 exec 执行,不耗 LLM token
- ✅ 秒级返回,结构化输出
触发方式
直接说:
- "查一下 token 余额"
- "剩余多少次"
- "token 额度还剩多少"
- "查看 MiniMax 用量"
输出格式
【MiniMax Token 查询结果】
⏰ 本小时:98 / 600 次(剩余 502 次)
📅 本周:656 / 6000 次(剩余 5344 次)
💡 模型:MiniMax-M2.7(主用)
⏱️ 重置时间:本小时 / 本周日
如果失败:
❌ 查询失败:网络或 API 问题
工作原理
- 从 auth-profiles.json 读取当前 minimax key
- 调用
https://www.minimaxi.com/v1/token_plan/remains - 解析 JSON 输出,提取小时级/周级数据
- 格式化后直接展示给用户
超时保护
单次 API 调用最多等待 10 秒,超时返回失败。
Usage Guidance
Review this skill before installing. It appears intended to check MiniMax token usage, but it needs access to a stored MiniMax API key from auth-profiles.json. Confirm the credential source, endpoint, and output behavior, and prefer a version that declares its credential/config requirements clearly.
Capability Analysis
Type: OpenClaw Skill
Name: mini-token-remains
Version: 1.0.0
The skill bundle describes a legitimate utility for monitoring MiniMax API token usage. The instructions in SKILL.md direct the agent to retrieve credentials from a local configuration file (auth-profiles.json) and query the official MiniMax API endpoint (minimaxi.com). No malicious instructions, obfuscation, or unauthorized data exfiltration patterns were identified in the provided documentation.
Capability Assessment
Purpose & Capability
The MiniMax quota-checking purpose is coherent, but the skill's stated method requires reading a MiniMax key from auth-profiles.json, which is sensitive credential access not declared in the requirements metadata.
Instruction Scope
The instructions name a specific MiniMax endpoint and output only usage counts, which helps scope the behavior, but they do not describe user approval or safeguards for accessing the local auth profile.
Install Mechanism
There is no install spec or code to inspect; the package is instruction-only while claiming pure exec execution, so the exact runtime command and credential handling are not reviewable from the provided artifacts.
Credentials
Reading a local auth profile and using an API key is high-impact relative to the registry declaration of no credentials, env vars, or config paths.
Persistence & Privilege
No persistence or background behavior is described, but the skill does rely on delegated MiniMax account credentials to perform the query.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install mini-token-remains - After installation, invoke the skill by name or use
/mini-token-remains - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
首发版:查询 MiniMax API Token 使用情况,小时级/周级用量,秒级完成
Metadata
Frequently Asked Questions
What is mini-token-remains?
查询 MiniMax API Token 使用情况,支持小时级/周级用量监控,秒级完成。触发词:查 token、查看额度、剩余次数、token 余额。 It is an AI Agent Skill for Claude Code / OpenClaw, with 20 downloads so far.
How do I install mini-token-remains?
Run "/install mini-token-remains" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is mini-token-remains free?
Yes, mini-token-remains is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does mini-token-remains support?
mini-token-remains is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created mini-token-remains?
It is built and maintained by Vincent (@regexl); the current version is v1.0.0.
More Skills