Claude Code status line

Minimax Status

MiniMax token-plan 定制状态栏,显示 token-plan 使用额度、剩余次数、重置时间,支持vscode 底部状态栏显示、openclaw查询、claude code statusline

33 stars 6 forksStatus lines Source

Install

Install
npm install -g minimax-status

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/JochenYang/minimax-status.git

From the README

MiniMax StatusBar

MiniMax Token-Plan 用量监控工具,支持 CLI 和 Claude Code / Droid 状态栏集成。

版本

特性

- ✅ 套餐卡显示(VSCode Tooltip)— 5h 限额 / 周限额 / 视频赠送 / Hailuo / music / image / speech 各自独立卡片,跟官网 platform.minimaxi.com/console/usage 一致
- ✅ 剩余%语义(VSCode 1.5.0+ / CLI 1.2.5+)— 所有显示都按"剩余%",避免歧义(剩得多绿、剩得少红)
- ✅ Claude Code / Droid 集成 — 状态栏实时显示用量,powerline 风格
- ✅ CLI 多种模式 — 详细 / 紧凑 / 持续监控
- ✅ 上下文窗口跟踪 — Claude Code 实时上下文用量
- ✅ Token 消耗统计 — 昨日 / 近 7 天 / 当月
自 VSCode 1.5.0 / CLI 1.2.5 起,所有用量数据按"剩余%"显示,跟 MiniMax 官方 platform.minimaxi.com/console/usage 平台一致。

快速开始

1. 安装

2. 更新(已安装用户)

3. 配置认证

配置信息保存在 ~/.minimax-config.json。自 1.2.6 起 CLI 不需要 GroupId(用量接口从 token JWT 自动解析)。

获取令牌:访问 MiniMax 开放平台 → 套餐详情 → 创建或获取复制 API Key。

4. 查看状态

Claude Code 集成

编辑 ~/.claude/settings.json:

重启 Claude Code 后,状态栏会显示:

字段说明:

Droid 集成

跟 Claude Code 一样,编辑 ~/.factory/settings.json:

VSCode 扩展

安装

- 扩展市场搜索 "MiniMax Status" 一键安装
- 或下载 .vsix:GitHub Releases

Tooltip 套餐卡布局

VSCode 扩展 hover 时显示套餐卡(每套餐独立卡片):

字段说明:

- 套餐标签(行 1):套餐名 + X/Y 剩余(总配额和剩余次数)+ 重置时间
- 进度条 + 百分比(行 2):按"剩余%"显示(剩 ≥60% 绿、剩 30-60% 橙、剩      | 设置认证凭据(只需要 token)                     |

颜色规则

CLI 端按"剩余%"判断颜色(剩 ≥60% 绿、剩 30-60% 橙、剩  重新设置

命令未找到:npm install -g minimax-status 重装

许可证

MIT - 详见 LICENSE 文件
Read the full README on GitHub

How status lines work

  • A status line is a command Claude Code runs to draw the bar under the prompt. It gets the session as JSON on stdin (model, folder, cost, context) and prints one or more lines.
  • Point the statusLine setting in ~/.claude/settings.json at it: { "statusLine": { "type": "command", "command": "<the command from the README>" } }.
  • Or run /statusline inside Claude Code and describe what you want.
Claude Code docs

Details

Language
JavaScript
License
MIT
Last updated
23 August 2026

FAQ

What is Minimax Status?

MiniMax token-plan 定制状态栏,显示 token-plan 使用额度、剩余次数、重置时间,支持vscode 底部状态栏显示、openclaw查询、claude code statusline It is a status line for Claude Code, from JochenYang/minimax-status on GitHub.

How do I install Minimax Status?

Run npm install -g minimax-status, then follow the setup in the README.

Is Minimax Status popular?

JochenYang/minimax-status has 33 GitHub stars and 6 forks. It was last updated on 23 August 2026.

More status lines

Browse the most popular Claude Code mods, all status lines, or the skills and MCP server directories.