ClaudeMods
☰
JA
● — 人がオンライン ・閲覧 — 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 shub_verma_01

週間上限を消費したモデルを表示する Claude Code mod を作りました

model-share を紹介する Reddit のショーケース投稿です。モデル別の週間使用シェアと、ペースに応じて色分けされた上限バーを表示するローカルの Claude Code mod で、リポジトリへのリンクとインストールコマンドが含まれています。

翻訳済み

この mod について

この投稿では、model-share を紹介しています。これは Claude Code 用の mod で、週間トークン使用量のモデル別シェア、ペースに応じて色分けされた週間上限バー、リセット期間の位置合わせ、設定可能な自動更新を表示するペインを追加します。ターミナル、デスクトップ版 Code タブ、VS Code 拡張機能で動作します。作者によると、ローカルで実行され、モデル名とトークン数を取得するためにローカルのセッションファイルのみを読み取り、ネットワークリクエストは行わず、トークンを一切消費しません。インストールは /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 やサイトに貼ると、このページにリンクします。

Featured on ClaudeMods
サイズ
テーマ
Markdown
HTML

関連作品