minimote

Coding Plan Usage Query — Development skill for Claude Code

Development community

查询各平台 Coding Plan 的套餐用量和重置倒计时,支持火山方舟 Coding Plan / Agent Plan、CommandCode、Ollama Cloud、OpenCode Go、阿里云千问 TokenPlan.

How to install Coding Plan Usage Query

This entry records only its repository, not the path inside it, so there is no exact command to give. Open minimote/coding-plan-usage-query and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Coding Plan Usage Query does

查询各平台 Coding Plan 的套餐用量和重置倒计时,支持火山方舟 Coding Plan / Agent Plan、CommandCode、Ollama Cloud、OpenCode Go、阿里云千问 TokenPlan。可搭配 ccstatusline / ccstatusline-zh 的自定义命令放在 Claude Code 状态栏查看,自动识别 CC Switch 的当前供应商,自适应终端宽度。

Alternatives in Development

  • Claude Swap — Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and paralle 2k ★
  • Sync Upstream — 同步上游 sirmalloc/ccstatusline 新 release 到 fork 并完成中文化 752 ★
  • Memory Search — Search through Claude's persistent memories for specific content, patterns, or keywords 332 ★

README

Coding Plan Usage Query

Node.js 22.13+ required License

中文 | English  ----  Gitee | GitHub

查询各平台 Coding Plan 的套餐用量和重置倒计时,可搭配 [ccstatusline](https://github.com/sirmalloc/ccstatusline) / [ccstatusline-zh](https://github.com/huangguang1999/ccstatusline-zh) 的自定义命令放在 Claude Code 状态栏查看,自动识别 [CC Switch](https://github.com/farion1231/cc-switch) 的当前供应商,自适应终端宽度。

支持的套餐

套餐 获取方式
火山方舟 Coding Plan / Agent Plan 火山引擎 OpenAPI(AK/SK)
CommandCode 内部 API
Ollama Cloud 页面 HTML 解析(cookie)
OpenCode Go 内部 API
阿里云千问 Token Plan 内部 API(cookie)

效果预览

![Preview](docs/preview.png)

每个套餐上下两行:上为 `short` 档、下为 `long` 档。`long` 档在百分比前带 6 格进度条(每格 8 分格,精度 1/48,约 2%),条与百分比数字同色:0–59% 绿、60–79% 黄、80–99% 橙、100% 红。

运行 `scripts/preview.cmd`(或 `node src/tools/preview.mjs`)可用模拟数据预览显示效果。

项目结构

coding-plan-usage-query/
├── config/
│   ├── config.example.json                # 配置模板
│   └── config.schema.json                 # JSON Schema 校验
├── docs/
│   ├── CHANGELOG.md                       # 更新日志
│   ├── README_EN.md                       # 英文版 README
│   └── preview.png                        # 效果预览图
├── scripts/
│   ├── login-qwen.cmd                     # Windows 双击登录千问
│   ├── preview.cmd