shubhamverma8991/claude-model-share
我打造了一個 Claude Code 外掛,能顯示哪些模型用掉了你的每週上限
這是一篇 Reddit 展示文,介紹 model-share:一個本機 Claude Code 外掛,可依模型顯示每週使用佔比,並顯示依進度著色的上限列,附有儲存庫連結與安裝指令。
關於這個 mod
這篇文章介紹 model-share,一個 Claude Code 外掛,它新增了一個窗格,用來顯示每週 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 或網站,連回本頁。
