plugsday
Week 3 · November 16, 2026 / model-share

model-share

PluginPassed every check★ 6 · by @shubhamverma8991

A Claude Code pane showing what share of this week's token usage went to each model. It also shows the 5-hour and weekly limit figures, pace, and current context-window usage, with buttons to compact and to toggle Auto-compact.

See it on GitHub

What it can touch

files · readnetwork · none foundshell · runs commandssecrets · none found
filesread
networknone found
shellruns commands
secretsnone found

What it actually does

On session start, after each turn, when rate limits change, on Refresh, and on a timer (default every 3 minutes), the mod runs `python3 -I <plugin>/hooks/scan.py <start>`. The script walks ~/.claude/projects (or $CLAUDE_CONFIG_DIR/projects) and reads .jsonl transcripts modified since the window start. From assistant records it extracts only the model, usage token counts, timestamp and message/request IDs, then prints aggregated per-model totals as JSON. The TypeScript side reads Claude Code's own rate-limit and context figures through the session API. It caches the last limit figures, the refresh interval and the split toggle in per-plugin storage, and renders a pane and status line. User-pressed buttons call $.session.compact() and flip the autoCompact config key. There is no network access, no other programs, no secret reads, and nothing is written outside plugin storage.

What the check found

Nothing above the low level.

Keep an eye on it

This check is of one commit. Watch model-share and we'll email you if a later commit changes what it can touch.

Made this? Add the badge

Checked by Plugsday

[![Checked by Plugsday](https://plugsday.com/badge/shubhamverma8991-claude-model-share.svg)](https://plugsday.com/tools/shubhamverma8991-claude-model-share)

About this check

Checked November 16, 2026 at commit a95fd120d12f, 15 files. Rules for known red flags, then two Claude reviews, one of them told to assume the author is malicious. A later commit hasn't been checked. How checks work.