Expand description
Plugin usage analytics module
Aggregates tool usage from SessionMetadata to classify and rank plugins:
- Skills (.claude/skills/)
- Commands (.claude/commands/)
- MCP Servers (mcp__server__tool format)
- Agents (Task tool with subagent_type)
- Native Tools (Read, Write, Edit, Bash, etc.)
Provides metrics on total invocations, cost attribution, dead code detection.
Structs§
- Plugin
Analytics - Complete plugin analytics data
- Plugin
Usage - Usage statistics for a single plugin
Enums§
- Plugin
Type - Plugin classification by origin
Functions§
- aggregate_
plugin_ usage - Aggregate plugin usage from sessions