How this command is triggered — by the user, by Claude, or both
Slash command
/glean-core:glean-statsThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# /glean stats - Analytics Dashboard View statistics, trends, and insights from your coding sessions. ## Arguments - `--period=<range>` - Time period (week, month, quarter, year, all) - `--project=<path>` - Specific project (default: current) - `--all` - All projects combined - `--compare` - Compare with previous period - `--export=<file>` - Export to file ## Usage ## Metrics ### Session Metrics - Total sessions - Total time spent - Average session duration - Sessions per week trend ### Productivity Metrics - Tasks completed per session - Files changed per session - Lines of code (...
View statistics, trends, and insights from your coding sessions.
--period=<range> - Time period (week, month, quarter, year, all)--project=<path> - Specific project (default: current)--all - All projects combined--compare - Compare with previous period--export=<file> - Export to file# Current project, last month
/glean stats
# All projects, last quarter
/glean stats --all --period=quarter
# Compare with previous period
/glean stats --compare
# Export to JSON
/glean stats --export=stats.json
## Glean Statistics
### Overview (Last 30 days)
| Metric | Value | Trend |
|--------|-------|-------|
| Sessions | 23 | +15% |
| Total Time | 45h 30m | +8% |
| Avg Duration | 1h 58m | -3% |
### Productivity
Sessions per Week █████████████████████ 6 ████████████████ 5 ███████████████████ 5 ████████████████████████ 7
### Learning Progress
| Category | Count | Applied |
|----------|-------|---------|
| Technical | 15 | 12 (80%) |
| Problem-Solution | 8 | 6 (75%) |
| Tips | 5 | 5 (100%) |
### Top Patterns
1. API endpoint creation (12 times)
2. Component scaffolding (8 times)
3. Test file setup (6 times)
### Automation Impact
- Commands created: 3
- Hooks created: 2
- Estimated time saved: ~2h 15m
### Insights
- Peak productivity: Tuesday, 2-4 PM
- Most common task: Bug fixes (35%)
- Longest session: Jan 10, 4h 20m
With --compare flag:
## Period Comparison
| Metric | This Month | Last Month | Change |
|--------|------------|------------|--------|
| Sessions | 23 | 18 | +28% |
| Avg Duration | 1h 58m | 2h 15m | -13% |
| Tasks/Session | 3.2 | 2.8 | +14% |
| Learnings | 28 | 22 | +27% |
npx claudepluginhub lledellebell/glean --plugin glean-notify/insightsSurfaces analytics on coding sessions, workflow learnings, correction patterns, heatmaps, and productivity metrics with trends and suggestions. Supports session, learnings, corrections, heatmap subcommands.
/coachAnalyzes development sessions from session-log.jsonl for actionable coaching insights on workflow adoption, prompt quality, efficiency, and code quality. Default: last session + 5-session trend; supports --last N and --all flags.
/retroGenerates engineering retrospectives from git history including commit trends, contributor breakdowns, hotspots, session analysis, and metrics over a time window like 7d/14d/30d.
/fire-analyticsAnalyzes skills library usage and effectiveness metrics, showing applied skills, time savings, success rates, and gaps. Supports filters for category, time period, and export.
/statsDisplays detailed Claude Code session statistics: cost and token breakdown, tool performance (calls, success, duration), context usage, dashboard visualization, and optimization tips.