# model-share: Claude Code usage by model

> See which models your weekly Claude Code usage went to (e.g. Fable 37% · Sonnet 34% · Opus 29%), plus your 5-hour and weekly limits, pace, daily burn and context. Free, open source, 100% local, zero tokens. Claude Code only.

model-share: Claude Code usage by model is a free AI agent skill on Agensi by Shubham, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Shubham](https://www.agensi.io/creators/shubham)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.1
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/model-share-claude-code-usage-by-model
- Tags: llm-ops, claude-code, usage-tracking, python, productivity

## About this skill

**model-share** is a free, open-source (MIT) mod for **Claude Code**. It adds a pane beside the chat and a status line that show which models your weekly usage went to, along with your 5-hour and weekly limits and how full your context is.

This listing is a small skill that tells your agent how to install, update and use the mod. The mod itself lives on GitHub: https://github.com/shubhamverma8991/claude-model-share

> **Works in Claude Code only** (terminal, the Claude desktop app's Code tab, and the VS Code extension). It does not work in Cursor, Codex, Gemini CLI or other agents, because it reads Claude Code's own session files and limit figures.

### What it shows
- **5-hour limit**: how much you've used, and where you'll land by its reset at this pace.
- **Weekly limit**: the same "7-day" figure Claude Code reports, colored green, amber or red by pace, with when you'd hit 100% at this rate.
- **Daily burn** (new in v1.1): under the weekly bar, e.g. "Burning ~24%/day · budget to last: ~8%/day", plus each day of the week so far with its share of the limit (Thu 3% · Fri 24% · Sat 27% · Sun 12%).
- **Share per model**: each model's share of everything you used this week (adds up to 100%), with token counts. **In / out** shows input, output and cached tokens per model.
- **Context**: how full this session's context window is (messages, tools, other), with **Compact** and **Auto compact** buttons.
- **Status line**: `This week (59% used): Fable 37% · Sonnet 34% · Opus 29%`
- **Auto refresh** every 1, 3 (default), 5 or 10 minutes, or off (`/model-share every 5m`).

### Install
```
/plugin install model-share --marketplace shubhamverma8991/claude-model-share
```
Needs a recent Claude Code with mod support and `python3` on your PATH. In the Claude desktop app: **+** → **Plugins** → **Add marketplace** → `shubhamverma8991/claude-model-share` → **Add plugin**.

### Privacy
- **100% local.** No network requests; nothing is sent anywhere.
- **Zero tokens.** Refreshing only reads local files and never calls a model.
- It runs one program: `python3 -I hooks/scan.py`, which reads only model names, token counts, timestamps and reply IDs from `~/.claude/projects/`. It never keeps or prints message text.

### Limits
- Counts Claude Code on this computer only; claude.ai chats and other devices aren't included.
- Shares are of tokens, not of the limit, since Claude Code doesn't report the limit split by model.
- Some clients (like the VS Code extension) don't receive limit figures, so the pane shows the last ones seen, marked "Limits as of …".

## Requires

- Claude Code (with mod support)
- python3 on PATH

## Known limitations

Claude Code only; does not work in other agents. Needs Claude Code with mod support and python3 on PATH. Counts Claude Code on this computer only, not claude.ai chats.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the model-share: Claude Code usage by model skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Which agents does model-share work with?

Claude Code only: the terminal, the Claude desktop app's Code tab and the VS Code extension. It does not work in Cursor, Codex, Gemini CLI or other agents, because it reads Claude Code's own session files and limit figures.

### Is it really free?

Yes. model-share is free and open source under the MIT license. There is nothing to buy and no account needed beyond Claude Code itself. Source: https://github.com/shubhamverma8991/claude-model-share

### How do I install it?

At a Claude Code prompt run: /plugin install model-share --marketplace shubhamverma8991/claude-model-share. Answer y to add the marketplace, then press Enter. In the Claude desktop app use + → Plugins → Add marketplace → shubhamverma8991/claude-model-share → Add plugin. You need python3 on your PATH.

### Does it use tokens or send my data anywhere?

No. Refreshing only reads local files and never calls a model, so it uses zero tokens. It makes no network requests. It reads only model names, token counts, timestamps and reply IDs from ~/.claude/projects/, never message text.

### Is the share per model a share of my limit?

It's each model's share of the tokens you used this week, adding up to 100%. Claude Code doesn't report how much of your limit each model used, and models may use up the limit at different rates per token.

### Does it count claude.ai chats or other computers?

No. It counts Claude Code sessions on this computer only. Chats on claude.ai, the Claude apps, or Claude Code on other computers aren't included.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
