← 返回 Skills 市场
regexl

mini-token-remains

作者 Vincent · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
20
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install mini-token-remains
功能描述
查询 MiniMax API Token 使用情况,支持小时级/周级用量监控,秒级完成。触发词:查 token、查看额度、剩余次数、token 余额。
使用说明 (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 问题

工作原理

  1. 从 auth-profiles.json 读取当前 minimax key
  2. 调用 https://www.minimaxi.com/v1/token_plan/remains
  3. 解析 JSON 输出,提取小时级/周级数据
  4. 格式化后直接展示给用户

超时保护

单次 API 调用最多等待 10 秒,超时返回失败。

安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install mini-token-remains
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /mini-token-remains 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
首发版:查询 MiniMax API Token 使用情况,小时级/周级用量,秒级完成
元数据
Slug mini-token-remains
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

mini-token-remains 是什么?

查询 MiniMax API Token 使用情况,支持小时级/周级用量监控,秒级完成。触发词:查 token、查看额度、剩余次数、token 余额。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 20 次。

如何安装 mini-token-remains?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install mini-token-remains」即可一键安装,无需额外配置。

mini-token-remains 是免费的吗?

是的,mini-token-remains 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

mini-token-remains 支持哪些平台?

mini-token-remains 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 mini-token-remains?

由 Vincent(@regexl)开发并维护,当前版本 v1.0.0。

💬 留言讨论