ClaudeMods
☰
ZH-CN
● — 人在线 · 浏览 — 次
赞助提交作品
GitHub 仓库 · 发布者 Rishit Gupta 🗽

推出:usage-band 🎉 一个 Claude Code 模组,将你的使用情况直接放在 th 上方

一个 Claude Code 模组,将你的使用情况直接放在 th 上方

R
Rishit Gupta 🗽@rishit30g

Introducing: usage-band 🎉 A Claude Code mod that puts your usage right above the prompt 🤖 Shows the model you’re on 📊 Context window bar: green, then amber, then red as it fills ⏳ 5-hour plan limit, reset time, and a ▲ warning if your pace would hit it first 🧊 Prompt cache timer and hit %, read from real API data 💰 Session cost at API prices ✂️ “Summarize & new” button: Haiku writes a hand-off summary, clears the session, and drops it in your prompt box How is it different from a traditional status line? 📝 A status line is a script that prints text. A mod runs inside Claude Code 🖱️ It has a clickable button, which a status line can’t do ⚡ The cache countdown ticks every second instead of only refreshing on updates 🔌 It reads usage, limits, and cost from the plugin hooks API, so there’s no hardcoded price table 🖥️ Works in the terminal and the desktop app’s Code tab Install: claude plugin marketplace add Rishit30G/usage-band claude plugin install usage-band@rishit-plugins Open source: https://t.co/zmpN0mwG9M 🎬 Made a video about it, built with Claude Opus 5.5

已翻译

关于这个 mod

推出:usage-band 🎉

一个 Claude Code 模组,将你的使用情况直接放在提示符上方

🤖 显示你正在使用的模型

📊 上下文窗口条:填充时从绿色,变为琥珀色,再变为红色

⏳ 5 小时计划限制、重置时间,以及如果你的速度会先触及限制时的 ▲ 警告

🧊 提示缓存计时器和命中百分比,读取自真实 API 数据

💰 按 API 价格计算的会话成本

✂️ “总结并新建”按钮:Haiku 写一份交接摘要,清除会话,并将其放入你的提示框

它与传统状态栏有何不同?

📝 状态栏是一个打印文本的脚本。模组运行在 Claude Code 内部

🖱️ 它有一个可点击按钮,而状态栏做不到

⚡ 缓存倒计时每秒跳动,而不是仅在更新时刷新

🔌 它从插件钩子 API 读取使用情况、限制和成本,因此没有硬编码的价格表

🖥️ 适用于终端和桌面应用的 Code 标签页

安装: claude plugin marketplace add Rishit30G/usage-band claude plugin install usage-band@rishit-plugins

开源:https://t.co/zmpN0mwG9M

🎬 制作了一个关于它的视频,使用 Claude Opus 5.5 构建

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add Rishit30G/usage-band
claude plugin install usage-band@rishit-plugins
原文 / README

Introducing: usage-band 🎉

A Claude Code mod that puts your usage right above the prompt

🤖 Shows the model you’re on

📊 Context window bar: green, then amber, then red as it fills

⏳ 5-hour plan limit, reset time, and a ▲ warning if your pace would hit it first

🧊 Prompt cache timer and hit %, read from real API data

💰 Session cost at API prices

✂️ “Summarize & new” button: Haiku writes a hand-off summary, clears the session, and drops it in your prompt box

How is it different from a traditional status line?

📝 A status line is a script that prints text. A mod runs inside Claude Code

🖱️ It has a clickable button, which a status line can’t do

⚡ The cache countdown ticks every second instead of only refreshing on updates

🔌 It reads usage, limits, and cost from the plugin hooks API, so there’s no hardcoded price table

🖥️ Works in the terminal and the desktop app’s Code tab

Install: claude plugin marketplace add Rishit30G/usage-band claude plugin install usage-band@rishit-plugins

Open source: https://t.co/zmpN0mwG9M

🎬 Made a video about it, built with Claude Opus 5.5

更多类似作品