Skip to content
PluginStats

@mbeato/contextscope weekly downloads statistics

By mbeato · npm · Claude Code

Local dashboard auditing Claude Code's per-turn token context (skills, agents, commands, CLAUDE.md, MEMORY.md, hooks, MCP) with toggle-based disable and session analytics.

View on npm Outdated · Nov 6, 2026

@mbeato/contextscope has 71 recorded weekly downloads on npm, a decrease of 24.5% over the past 30 days, ranking #2694 of 3,247 tracked listings.

Weekly downloads
71
Official API · Dec 5, 2026
7-day growth
+97.2%
+35 weekly downloads
30-day growth
-24.5%
-23 weekly downloads
90-day growth
+610%
+61 weekly downloads
Rank
#2694
▼ 23 in 7 days

About @mbeato/contextscope

contextscope

A CLI + local dashboard that audits the per-turn token context Claude Code loads on every conversation turn — and gives you toggle-based control to disable what you don't use.

/stats, /cost, and ccusage show aggregate spend. None of them break down what's inside the per-turn baseline or let you act on the audit. At 1M-context Opus, every unused skill, agent, command, or hook output that lives in the available-list block is paying full cache-read cost on every turn — for a heavy user, that's hundreds of millions of tokens per month.

Quick look (CLI)

npx @mbeato/contextscope

Prints a 30-day audit to stdout in ~3s. Per-turn baseline, 30-day burn + API-equivalent cost, top disable candidates, context overhead. No browser, no server.

Full dashboard (browser)

npx @mbeato/contextscope ui

Picks a free port starting at 3939, opens your browser. Adds: toggle-to-disable buttons, per-session drilldown, daily burn graph, by-project breakdown, hook + MCP detail.

Or install globally so the contextscope command stays around:

npm install -g @mbeato/contextscope
contextscope        # quick CLI summary
contextscope ui     # dashboard

Flags (ui only):

  • --port <n> — pin a port
  • --no-open — don't auto-open the browser
  • --help — full usage

Optional: Claude Code slash command

After installing globally, run:

contextscope install-plugin

This copies a /usage slash command into ~/.claude/commands/usage.md. Restart Claude Code, then /usage in any session asks Claude to launch the dashboard in the background and report the URL. Remove with contextscope uninstall-plugin.

What it shows

  • Skills, agents, slash commands (user + plugin) — per-turn description cost + body cost on invocation
  • CLAUDE.md (global + every project) + MEMORY.md (per-project auto-memory) — full token count, where loaded
  • SessionStart + UserPromptSubmit hook output — dry-run with sample input, output tokenized
  • MCP servers — direct + PTC-proxied downstream
  • Session analytics — top expensive sessions, daily burn, cache hit ratio, output:input ratio, p75/p95
  • Invocation counts per skill/agent over the last 30 days from JSONL transcripts
  • Recommendation engine — bulk-disable unused user items in one click, surface long-session patterns

What it does

  • Toggles individual user-level skills / agents / commands (renames file with .disabled suffix — reversible)
  • Toggles whole plugins (flips enabledPlugins[<plugin>@<marketplace>] in ~/.claude/settings.json)
  • Backs up settings.json before every mutation (~/.claude/settings.json.usage-bak-<timestamp>, 5 most recent kept)
  • Bulk-disables every user item never invoked in the last 30 days

Toggles take effect on the next Claude Code restart — CC reads skills, agents, commands, and settings.json at startup. There's no hot-reload mechanism.

Known constraint

Plugin-bundled skills/agents (e.g. superpowers:brainstorming, gsd:plan-phase) cannot be individually disabled in Claude Code's current model — you can only toggle the whole plugin. The "By plugin" table handles this; individual plugin items in the main table show (plugin) as their toggle status.

How it measures tokens

Uses js-tiktoken with the cl100k_base encoder as a proxy for Anthropic's tokenizer (not publicly released). Expect ~5–10% absolute deviation; relative rankings should be accurate.

What it can't measure

  • The base Claude Code system prompt (built into the binary)
  • Tool-call results that compound mid-session
  • The available skills / available agents wrapper blocks the harness adds around your descriptions

Development

git clone <repo> contextscope
cd contextscope
npm install
npm run dev       # localhost:3000 — slow page loads from Next.js dev bundling
npm run prod      # build + start in production mode — ~0.6s warm reload

Requires Node 18+. macOS/Linux paths; Windows untested but uses os.homedir() throughout.

Architecture

  • lib/transcripts.ts — unified single-pass JSONL parser with per-file mtime cache; consumed by usage.ts + sessions.ts
  • lib/inventory.ts — scans skills, agents, commands; detects .disabled siblings; reads enabledPlugins
  • lib/usage.ts — invocation counts per skill/agent from transcripts
  • lib/sessions.ts — per-session token aggregation + summary stats
  • lib/files.ts — CLAUDE.md + MEMORY.md scanner with denylist for dependency-bundled noise
  • lib/hooks.ts — reads settings.json hooks, parallel dry-runs SessionStart + UserPromptSubmit
  • lib/mcp.ts — reads .claude.json mcpServers, parses PTC's downstream config.yaml
  • app/actions.ts — server actions for toggles + bulk disable; backs up settings before write
  • app/page.tsx — single server-rendered page; filesystem re-read on every load (cached internally)
  • bin/cli.js — CLI entry: routes to summary.js (default) or launches the Next.js dashboard (ui subcommand)
  • bin/summary.js — pure-JS CLI summary; mirrors the lib/* logic without Next.js for the fast first-impression printout

License

MIT

Description from the npm listing.

  • claude-code
  • claude
  • anthropic
  • token
  • context
  • audit
  • ccusage
  • skills
  • agents
  • mcp

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@mbeato/contextscope weekly downloads on npm, last 90 days: 71 weekly downloads as of Dec 5, 2026, +610% over 90 days.@mbeato/contextscopeWeekly downloads on npm · Last 90 days71downloads / week+610% over 90 days010K20K30K40K50K60KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@mbeato/contextscope weekly downloads on npm, last 90 days: 71 weekly downloads as of Dec 5, 2026, +610% over 90 days.

7/30/90-day growth

@mbeato/contextscope weekly downloads growth on npm: +97.2% over 7 days, -24.5% over 30 days, +610% over 90 days.@mbeato/contextscopeWeekly downloads growth on npm71downloads / week now7-day growth+35 weekly downloads+97.2%30-day growth-23 weekly downloads-24.5%90-day growth+61 weekly downloads+610%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@mbeato/contextscope weekly downloads growth on npm: +97.2% over 7 days, -24.5% over 30 days, +610% over 90 days.

Ranking history

@mbeato/contextscope npm ranking history: currently #2694 (by weekly downloads).@mbeato/contextscopenpm ranking · by weekly downloads · Last 90 days#2694current rank#1600#1800#2000#2200#2400#2600#2800Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 28 observations · Updated Dec 5, 2026pluginstats.com
@mbeato/contextscope npm ranking history: currently #2694 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 135, #14 (overall #2,694)
All npm: every listing in weekly downloads order

Listing placement

Claude Code614 listings · 31 pages · page 31, #5 (overall #605)
Claude Code: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for @mbeato/contextscope
Date (UTC)Weekly downloadsChange vs. previous
71-11
82-1
83+37
46-7
53-2
55+22
33-3
36-6
42-1
43-1
44+7
37+1
36-5
41—

Similar npm Claude Code plugins

All 20 @mbeato/contextscope alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@mbeato/contextscope. First seen Oct 16, 2026; last successful collection Nov 6, 2026. See the methodology.