Visualizes tool and agent usage statistics as CLI charts. Responds to the keywords 'statistics', 'usage', 'analytics', 'metrics', and 'report'.
Tool usage statistics with CLI visualization. Displays bar charts, sparklines, and distribution graphs.
/analytics [command]
| Command | Alias | Description |
|---------|-------|-------------|
| summary | s | Quick overview (default) |
| tools | t | Tool usage bar chart |
| errors | e | Error distribution |
| activity | a | Hourly activity sparkline |
| agents | ag | Agent usage stats |
| categories | c | Category distribution |
| full | f | Complete report |
📊 Analytics Summary (2026-01-21)
══════════════════════════════════════════════════
Total Calls: 156 Success Rate: 97%
Tool Usage
──────────────────────────────────────────────────
Read │████████████████████████│ 48
Write │██████████████│ 28
Edit │████████████│ 24
Bash │████████│ 16
Success Rate
──────────────────────────────────────────────────
Overall █████████████████████████ 97% (151/156)
Hourly Activity
──────────────────────────────────────────────────
Activity: ▁▂▃▅▇█▇▅▃▂▁▁▂▅▇█▆▄▂▁
00 06 12 18 23
Tool Usage
──────────────────────────────────────────────────
Read │████████████████████████│ 48
Write │██████████████│ 28
Edit │████████████│ 24
Bash │████████│ 16
Grep │██████│ 12
Glob │████│ 8
Task │███│ 6
Category Distribution
──────────────────────────────────────────────────
file ████████████████████ 68% (106)
shell ████████░░░░░░░░░░░░ 18% (28)
agent ████░░░░░░░░░░░░░░░░ 8% (12)
planning ██░░░░░░░░░░░░░░░░░░ 4% (6)
interaction █░░░░░░░░░░░░░░░░░░░ 2% (4)
Error Distribution
──────────────────────────────────────────────────
Bash │████████│ 4
Write │████│ 2
Read │██│ 1
(Or if no errors: "No errors recorded!")
Agent Usage
──────────────────────────────────────────────────
Explore │████████████████████│ 15
code-reviewer │████████████│ 9
commit-helper │████████│ 6
analytics-reporter │████│ 3
Execute the visualizer script:
.claude/scripts/analytics-visualizer.sh [command]
/analytics → Parse metrics.jsonl → Aggregate data → Render ASCII charts
.claude/analytics/metrics.jsonlts, type, name, category, success, file, contextConfigured in .claude/settings.json:
{
"analytics": {
"enabled": true,
"track_tool_usage": true,
"track_agent_calls": true,
"track_skill_invocations": true,
"metrics_file": ".claude/analytics/metrics.jsonl",
"retention_days": 30
}
}
analytics-reporter - Detailed analysis and insightspost-tool-use-tracker.sh - Data collectionSearch for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer