Query session analytics, cost tracking, token usage, and activity logs from the claude-vis database. Triggers when the user asks about session costs, spending, token usage, analytics, session history, or activity logs.
From claude-visnpx claudepluginhub gebl/anvil-skill-marketplace --plugin claude-visThis skill is limited to using the following tools:
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Guides building interactive D3.js data visualizations with scales, axes, transitions, and layouts for vanilla JS, React, Vue, Svelte.
Enforces A/B test setup with gates for hypothesis locking, metrics definition, sample size calculation, assumptions checks, and execution readiness before implementation.
When the user asks about session costs, token usage, spending, session history, commands run, URLs visited, or any analytics question, run the appropriate query from the claude-vis stats engine.
Run via Bash with the appropriate subcommand:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/stats_query.py <subcommand> [args]
Subcommands:
recent [N] — last N sessions (default 10)cost-by-project — cost grouped by projecttotals — grand totals across all sessionssession <id> — detail for one session (supports partial ID prefix match)tools — most-used toolscommands [N] — recent Bash commandsurls [N] — recent WebFetch/WebSearch URLsNo arguments runs recent + totals together.
Present output directly — it is pre-formatted as markdown tables.