Fixes a correctness bug in the 0.2.0 setup audit that could recommend removing the most expensive thing in your setup.
Plugins are credited with what they ship
Claude Code's plugin counter only moves when one of that plugin's commands runs. It says nothing about the MCP server, skills or agents the plugin installed.
So a plugin whose MCP server answered a thousand calls read as never used. On a real setup that meant playwright showed 0 uses while its server accounted for $1,177, and the audit pointed at it for removal.
A plugin's usage is now its own counter plus the measured usage of everything it provides. The raw counter stays available as ownUsage, and plugins get a real cost column instead of n/a.
Plugins (enabled only, credited with what they ship)
PROVIDES USES LAST USED COST
playwright mcp 1982 5m 51s ago $1.2k
deploy-on-aws 3 skills, mcp, hooks 8633 51s ago $94
figma 12 skills, mcp 26 51d 4h ago $180
figma is the case worth noting: its own counter is 0, but what it ships has 26 calls and $180 behind it.
Tests
Five more covering the rollup, including that a plugin's items are not credited to a different plugin. 31 total.