Agent skill · data analytics · yonatangross
analytics
Local OrchestKit usage analytics: agent and skill frequency, hook timing, session replay, cost estimates, model delegation trends. Use when reviewing usage, performance or costs.
Why this skill is useful
Provides specific jq commands for querying local analytics data that the AI wouldn't generate on its own.
What it needs
Requires jq installed locally. About 6k tokens when loaded. Last updated 2026-08-06. 215 stars on the source repository.
What this skill does
Cross-Project Analytics Query local analytics data from ~/.claude/analytics/. All data is local-only, privacy-safe (hashed project IDs, no PII). Answer usage questions from the local files, never from guesswork: agent usage (which agents and how often — not which model, see the caveats) lives in ~/.claude/analytics/agent-usage.jsonl; hook performance and failures live in ~/.claude/analytics/hook-timing.jsonl; token and cost totals live in ~/.claude/stats-cache.json. Query them with jq one-liners (below) and present real counts, not pointers to dashboards. Subcommands Parse the user's argument to determine which report to show. If no argument provided, use AskUserQuestion to let them pick. Subcommand Description Data Source Reference ------------ ------------- ------------- ----------- agents Top agents by frequency and success rate (duration/model unavailable — #3034) agent-usage.jsonl references/jq-queries.md models Model delegation from token totals in stats-cache.json. Per-spawn attribution is unavailable (#3034) stats-cache.json references/jq-queries.md skills Top skills by invocation count skill-usage.jsonl references/jq-queries.md hooks Slowest hooks and failure rates hook-timing.jsonl references/jq-queries.md teams Team spawn counts, idle time, task completions team-activity.jsonl references/jq-queries.md session Replay a session timeline with tools, tokens, timing CC session JSONL references/session-replay.md cost Token cost estimation with cache savings stats-cache.json references/cost-estimation.md trends Daily activity, model delegation, peak hours stats-cache.json references/trends-analysis.md summary Unified view of all categories All files references/jq-queries.md otel CC 2.1.117 + 2.1.122 + 2.1.126 OTEL enrichments: top slash commands (user vs model), per-effort cost, effort-vs-success correlation, skill activation by trigger type, most-mentioned @ targets ~/.claude/otel/.jsonl, or user-named Loki + Prometheus endpoints after schema discovery referenc …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills yonatangross/analytics