
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
78code-quota-monitor
Advanced tools
Claude Code 状态栏插件 —— 实时显示你的 78code.cc 账号额度、订阅套餐、分组倍率。
Opus 4.6 │ myproject │ 💰 zxyang | new-cc 1.5x | $321.51 | vip-1-codex ¥0/50 31d
↑ 用户名 ↑ 分组+倍率 ↑ 钱包余额 ↑ 订阅套餐 额度 剩余天数
npm install -g 78code-quota-monitor
安装后运行交互式设置:
78code-quota
会出现交互式菜单,按提示操作即可:
╔══════════════════════════════════════╗
║ 💰 78code Quota Monitor v2.1.1 ║
║ Claude Code 状态栏额度监控插件 ║
╚══════════════════════════════════════╝
1. 🔧 安装到状态栏
2. 🔑 登录 / 切换账号
3. ⏱ 设置刷新间隔
4. 📊 查看详细状态
5. 🔄 立即刷新额度
6. 🚪 退出登录
7. 🗑 卸载插件
0. 退出
curl -fsSL https://raw.githubusercontent.com/zxyyang/78code-quota-monitor/main/install.sh | bash
# 1. 安装 npm 包
npm install -g 78code-quota-monitor
# 2. 打开交互式菜单
78code-quota
# 3. 选 1 安装到状态栏 → 选 2 登录账号 → 重启 Claude Code
或者用命令行直接操作(跳过菜单):
78code-quota install # 安装到状态栏
78code-quota login <用户名> <密码> # 登录
78code-quota status # 查看状态
78code-quota refresh # 刷新额度
78code-quota interval # 设置刷新间隔
78code-quota logout # 退出登录
78code-quota uninstall # 卸载
💰 用户名 | 分组 倍率x | $钱包余额 | 套餐名 ¥已用/总额 剩余天数d
| 信息 | 颜色 | 说明 |
|---|---|---|
| 用户名 | 浅蓝 | 78code 显示名 |
| 分组+倍率 | 浅紫 | 当前 API Key 的分组及计费倍率 |
| 钱包余额 | 金黄 | 账户钱包余额(美元) |
| 订阅套餐 | 浅绿 | 套餐名、已用/总额度(人民币)、剩余天数 |
支持以下间隔,通过交互菜单或 78code-quota interval 设置:
| 选项 | 间隔 |
|---|---|
| 1 | 1 分钟 |
| 2 | 2 分钟 |
| 3 | 5 分钟 (默认) |
| 4 | 10 分钟 |
| 5 | 30 分钟 |
交互式卸载:
78code-quota
# 选择 7 → 卸载插件
命令行卸载:
78code-quota uninstall
npm uninstall -g 78code-quota-monitor
┌──────────────────┐ ┌───────────┐ ┌──────────────┐
│ wrapper 包装脚本 │────→│ cache.json│←────│ check.js │
│ (每次渲染调用) │读取 │ (本地缓存) │ 写入 │ (后台API查询) │
└──────┬───────────┘ └───────────┘ └──────┬───────┘
│ │
│ 先执行 gsd-statusline.js │ 并行请求:
│ 再追加额度信息 │ · /api/user/self (余额)
│ │ · /api/subscription/self (订阅)
│ │ · /api/token/ (分组匹配)
│ │ · /api/user/self/groups (倍率)
│ ↓
│ ┌──────────────┐
│ │ 78code.cc API│
│ └──────────────┘
↓
Claude Code 状态栏: model │ dir │ 💰 user | group 1.5x | $xxx | plan ¥x/x xxd
v2.1 新增:
v2.0 架构改进(独立包装模式):
gsd-statusline.js,通过独立的 wrapper 脚本包装~/.claude/settings.json 的 statusLine 配置,全局生效所有数据存储在本地,不会上传到任何第三方:
| 文件 | 内容 | 安全 |
|---|---|---|
config.json | 账号密码、session | 仅本地,已在 .gitignore |
cache.json | 缓存的额度数据 | 仅本地,已在 .gitignore |
debug.log | 调试日志 | 仅本地,已在 .gitignore |
npm install -g 78code-quota-monitor
78code-quota install
v2.1 会自动同步所有运行时脚本,v2.0 会自动清除旧版注入代码,无需手动操作。
MIT
FAQs
Claude Code 状态栏插件 - 实时显示 78code.cc 账号额度
We found that 78code-quota-monitor 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.