shubhamverma8991/claude-model-share
我构建了一个 Claude Code mod,可显示哪些模型消耗了你的每周限额
这是一个 Reddit 展示帖,介绍 model-share:一个本地 Claude Code mod,可按模型显示每周使用占比,并显示按进度着色的限额条,附有仓库链接和安装命令。
关于这个 mod
这篇帖子介绍了 model-share,一个 Claude Code mod,它新增了一个面板,用于显示每周 token 使用量中各模型的占比、按进度着色的每周限额条、重置窗口对齐以及可配置的自动刷新。它可在终端、桌面版 Code 标签页和 VS Code 扩展中使用。作者表示它在本地运行,仅读取本地会话文件以获取模型名称和 token 数量,不发起网络请求,且不消耗任何 token。安装方式为 /plugin install model-share --marketplace shubhamverma8991/claude-model-share,并附有 MIT 仓库链接。
安装
请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。
claude plugin marketplace add shubhamverma8991/claude-model-share claude plugin install model-share@claude-model-share
原文 / README
I kept hitting my weekly limit without knowing where it went. Was it Opus? Sonnet? Subagents? Claude Code shows the total %, but not the split by model.
So I made model-share, a small Claude Code mod that adds a pane beside the chat:
-
Share per model: everything you used this week = 100%, and each model gets its share (mine this week: Fable 37% · Sonnet 34% · Opus 29%)
-
Weekly limit bar: colored by pace (green / amber / red), with "at this rate you hit 100% ~Mon 3 PM"
-
Follows your reset: the window matches your plan's weekly reset and starts over with it
-
Auto refresh: 1 / 3 / 5 / 10 min or off
-
Works in the terminal, the desktop app's Code tab and the VS Code extension
Privacy: it runs entirely on your machine. It reads your local Claude Code session files for model names and token counts only, makes no network requests, and uses zero tokens.
Install (in a Claude Code terminal session):
/plugin install model-share --marketplace shubhamverma8991/claude-model-share
Repo (MIT): https://github.com/shubhamverma8991/claude-model-share
Limits: it only counts Claude Code on your computer (not claude.ai chats), and shares are by tokens, since Claude Code doesn't report how much of the limit each model used.
Feedback welcome. What else would you want it to show?
获取徽章
这是你的项目吗?把这个徽章放进 README 或网站,链接回本页。
