with one click
cc
配置 Claude 官方账户底部状态栏,实时显示 5h/7d 用量
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
配置 Claude 官方账户底部状态栏,实时显示 5h/7d 用量
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | cc |
| description | 配置 Claude 官方账户底部状态栏,实时显示 5h/7d 用量 |
| allowed-tools | ["Bash","Read","Edit","MultiEdit","Write"] |
为使用 Claude 官方 API 或 Claude Max/Pro 订阅的用户,启用底部状态栏实时显示 5h/7d 用量。
Claude 官方用量显示有两个数据来源:
rate_limits(无需额外配置)~/.claude/.credentials.json 或 Windows 的 %LOCALAPPDATA%\Claude Code\credentials.json 中读取 OAuth token,调用 https://api.anthropic.com/api/oauth/usage告知用户:
如果你已登录 Claude 官方账户(
claude login),用量数据会自动获取,无需额外配置。 只需要设置底部状态栏即可。
找到本插件安装路径下的 bin/claude-statusline.js。
Windows 用:
dir /s /b "%USERPROFILE%\.claude\plugins\cache\newapi-quota-marketplace\newapi-quota\*\bin\claude-statusline.js"
macOS/Linux 用:
ls ~/.claude/plugins/cache/newapi-quota-marketplace/newapi-quota/*/bin/claude-statusline.js
拿到绝对路径后,将反斜杠 \ 全部替换为正斜杠 /,然后在 settings.json 中添加或更新 statusLine 字段(合并,不覆盖已有配置):
"statusLine": {
"type": "command",
"command": "node <绝对路径,用正斜杠>",
"padding": 0
}
示例(Windows):
"statusLine": {
"type": "command",
"command": "node C:/Users/xxx/.claude/plugins/cache/newapi-quota-marketplace/newapi-quota/0.1.0/bin/claude-statusline.js",
"padding": 0
}
告知用户:
[Claude] 5h: ███░░░░░░░ 30% @2h15m | 7d: ██░░░░░░░░ 12% @Apr 25claude login配置 Opus 4.7 思维链回显(扩展思考 + 思考摘要 + 详细模式)
一键安装 Claude Code 完整中文语言包(UI界面 + AI回复 + 加载动画 + 提示语 + 注释 + commit 全中文化)
一键美化 Claude Code CLI 整体界面(主题、状态栏、显示风格、动效、全屏等)
配置智谱 GLM Coding Plan,设置 API Key 并启用底部状态栏实时显示用量
配置 MiniMax Token Plan,设置 API Key 并启用底部状态栏实时显示用量
配置 new-api 中转站信息(站点地址、认证令牌等)