首页/ AI 技能 / @skilllib/skill-2014279393718251522
Skill站外收录 @skilllib/skill-2014279393718251522

setup

提供状态栏配置能力,支持设置本地会话与5小时配额使用情况的实时显示,包含用量百分比、剩余时间、费用等关键指标,并按使用强度自动切换颜色提示,兼容 Anthropic 原生 API 与 z.ai 等第三方服务。

0.0 (0) 248 次安装 原作者 编程导航
收录于 2026-01-22
数据与分析 AI 技能

Skills.MD

# Statusline Setup Run `/statusline-tools:setup` to configure the Claude Code statusline. ## Options - **Native (session + 5H usage)** - Anthropic API only, color-coded display - **ccusage (session/daily stats)** - Works with z.ai too - **Disable** - Remove statusline display ## What Native Statusline Shows `[Session] 45% $3 | [5H] 16% 3h52m` **Displayed information:** - Session context window usage percentage - Session cost in USD - Account-wide 5-hour usage percentage - Time until 5H block resets **Color scheme:** - 🟢 <50% usage or <1h until reset - 🟡 50-70% usage or 1-3.5h until reset - 🔴 70%+ usage or >3.5h until reset **Note:** Native may not work with z.ai/third-party endpoints. Use ccusage for z.ai. ## Requirements Native statusline requires `jq` and `curl`. Install: - macOS: `brew install jq` - Ubuntu/Debian: `sudo apt install jq` ## Docs [Claude Code statusline docs](https://code.claude.com/docs/en/statusline) for more details.

评论 0

还没有评论,来抢沙发。