
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
minimax-status
Advanced tools
MiniMax Token-Plan 使用状态监控工具,支持 CLI 命令和 Claude Code 状态栏集成。
| 插件 | 版本 | 安装方式 |
|---|---|---|
| CLI | 1.1.11 | npm install -g minimax-status |
| VSCode | 1.2.7 | VSCode Marketplace 或 下载 VSIX |
| OpenClaw | - | 参考 openclaw/minimax-usage/ 目录 |
minimax status 查看状态npm install -g minimax-status
npm update -g minimax-status
minimax auth <token>
配置信息将保存在 ~/.minimax-config.json 文件中。
获取令牌:
# 详细模式
minimax status
# 紧凑模式
minimax status --compact
# 持续监控模式
minimax status --watch
提供 VSCode 扩展版本,支持在 VSCode 底部状态栏显示使用状态。
方式一:从 VSCode 市场安装(推荐)
方式二:下载 VSIX 文件
.vsix 文件Ctrl+Shift+P方式二:从源码构建
git clone https://github.com/JochenYang/minimax-status.git
cd minimax-status/vscode-extension
npm install
npm run package
# 在 VSCode 中安装生成的 .vsix 文件
将 MiniMax 使用状态显示在 Claude Code 底部状态栏。
安装和配置工具:
npm install -g minimax-status
minimax auth <token>
配置 Claude Code:
编辑 ~/.claude/settings.json:
{
"statusLine": {
"type": "command",
"command": "minimax statusline"
}
}
重启 Claude Code
集成成功后,底部状态栏将显示:
my-app │ main * │ MiniMax-M2 │ 205K │ Usage ██████░░░░ 60% (2700/4500) │ ⏱ 1h20m │ 到期 5天
显示格式:目录 │ 分支 │ 模型 │ 上下文 │ Usage 进度条 百分比(剩余/总数) │ ⏱ 倒计时 │ 到期 天数
颜色说明:
状态栏会显示当前 Git 分支信息:
my-app │ main * │ ...
符号说明:
| 符号 | 含义 |
|---|---|
| * | 有未提交的更改 |
颜色规则:
| 元素 | 颜色 | 说明 |
|---|---|---|
| 主分支 (main/master) | 绿色 | 默认/主分支 |
| 其他分支 | 白色 | 普通功能分支 |
| ⬆ 未推送 | 黄色 | 有待推送的 commit |
| ⬇ 未拉取 | 青色 | 有待拉取的 commit |
| • 未提交 | 红色 | 工作区有未提交的更改 |
状态栏会智能显示当前会话的上下文窗口使用情况:
有转录数据时: 显示 ⚡ 百分比·已用 tokens
⚡ 85%·150.0k tokens 表示已使用 150K tokens,占容量的 85%无转录数据时: 仅显示上下文窗口总容量
200K 表示当前模型的上下文窗口大小智能特性:
注意: MiniMax 的配置独立存储在 ~/.minimax-config.json,与 Claude Code 的配置分离。
将 MiniMax 使用状态显示在 Droid 底部状态栏。
安装和配置工具:
npm install -g minimax-status
minimax auth <token>
配置 Droid:
编辑 ~/.factory/settings.json:
{
"statusLine": {
"type": "command",
"command": "minimax droid-statusline"
}
}
重启 Droid
集成成功后,底部状态栏将显示:
minimax-status │ main * │ Usage █░░░░░░░░ 10% (4047/4500) │ ⏱ 12m │ 到期 21天
显示格式:目录 │ 分支 │ Usage 进度条 百分比(剩余/总数) │ ⏱ 倒计时 │ 到期 天数
使用 █ 和 ░ 字符显示进度条:
█░░░░░░░░ - 10% 使用量█████░░░░ - 50% 使用量██████████ - 100% 使用量颜色说明:
┌─────────────────────────────────────────────────────────────┐
│ MiniMax Claude Code 使用状态 │
│ │
│ 当前模型: MiniMax-M2 │
│ 时间窗口: 20:00-00:00(UTC+8) │
│ 剩余时间: 1 小时 42 分钟后重置 │
│ │
│ 已用额度: █████░░░░░░░░░░░░░░░░░░░░░░░ 6% │
│ 剩余: 4234/4500 次调用 │
│ 套餐到期: 02/26/2026(还剩 6 天) │
│ │
│ Token 消耗统计: │
│ 昨日消耗: 4996.4万 │
│ 近7天消耗: 2.8亿 │
│ 套餐总消耗: 14.7亿 │
│ │
│ 状态: ✓ 正常使用 │
└─────────────────────────────────────────────────────────────┘
● MiniMax-M2 27% • 1 小时 26 分钟后重置 • ✓ 正常使用
✓ MiniMax 状态栏已启动
按 Ctrl+C 退出
[● MiniMax-M2 27% • 3307/4500 • 1h26m ⚡
| 命令 | 描述 | 示例 |
|---|---|---|
minimax auth | 设置认证凭据 | minimax auth <token> |
minimax status | 显示当前使用状态(支持 --compact、--watch) | minimax status |
minimax bar | 终端底部持续状态栏 | minimax bar |
minimax statusline | Claude Code 状态栏集成 | 用于 Claude Code 配置 |
minimax droid-statusline | Droid 状态栏集成 | 用于 Droid 配置 |
| 元素 | 说明 |
|---|---|
| 目录 | 当前工作目录 |
| 分支 | Git 分支名称 |
| 模型 | MiniMax 模型名称 |
| 上下文 | 上下文窗口使用率 |
| Usage | 使用量进度条和百分比(剩余/总数) |
| ⏱ | 额度重置倒计时 |
| 到期 | 订阅到期时间(颜色动态变化) |
使用 █ 和 ░ 字符显示进度条:
█░░░░░░░░ - 10% 使用量█████░░░░░ - 50% 使用量██████████ - 100% 使用量| 场景 | 颜色 | 说明 |
|---|---|---|
| 上下文 ≥85% | 红色 | 危险状态 |
| 上下文 60-85% | 黄色 | 注意使用 |
| 上下文 <60% | 绿色 | 正常使用 |
| 到期 ≤ 3天 | 红色 | 即将到期 |
| 到期 ≤ 7天 | 黄色 | 即将到期 |
| 到期 > 7天 | 绿色 | 订阅正常 |
~/.minimax-config.json{
"token": "your_access_token_here"
}
Claude Code 只需要配置状态栏命令:
// ~/.claude/settings.json
{
"statusLine": {
"type": "command",
"command": "minimax statusline"
}
}
凭据仅存储在本地,不会上传到任何服务器。
# 确保已全局安装
npm install -g minimax-status
# 重新打开终端
# 检查令牌
minimax status
# 重新设置认证
minimax auth <new_token>
minimax statuslinegit clone <repository>
cd minimax-status
npm install
# 运行示例
node cli/example.js
# 测试 CLI 命令
node cli/index.js status
MIT License - 详见 LICENSE 文件
欢迎提交 Issue 和 Pull Request!
| 客户端 | 路径 | 说明 |
|---|---|---|
| CLI | cli/ | 命令行工具,npm 全局包 |
| VSCode | vscode-extension/ | VSCode 状态栏集成 |
| OpenClaw | openclaw/ | OpenClaw 集成 |
注意: 本工具仅用于监控 MiniMax Token-Plan 用量使用状态,不存储或传输任何用户数据。
FAQs
MiniMax Claude Code 使用状态监控工具
The npm package minimax-status receives a total of 266 weekly downloads. As such, minimax-status popularity was classified as not popular.
We found that minimax-status demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.