Quick dashboard of Claude Code usage statistics — sessions, projects, tokens, tools, and activity patterns. Lightweight alternative to /session-review.
From session-insightsnpx claudepluginhub nthplusio/functional-claude --plugin session-insights[project-name] [--after YYYY-MM-DD] [--before YYYY-MM-DD]Fast overview of Claude Code usage statistics without deep analysis.
Run the history extraction for a high-level overview:
node "${CLAUDE_PLUGIN_ROOT}/scripts/extract-history.js" [--project "<real-path>"] [--after "<date>"] [--before "<date>"]
If $ARGUMENTS contains a project name or date range, pass the appropriate flags.
If a project was specified in $ARGUMENTS, also run:
node "${CLAUDE_PLUGIN_ROOT}/scripts/list-projects.js"
Find the matching project directory name, then run:
node "${CLAUDE_PLUGIN_ROOT}/scripts/aggregate-stats.js" --project "<dir-name>" [--after "<date>"] [--before "<date>"]
Format the output as a compact dashboard:
## Claude Code Usage Dashboard
**Overview**
- Total sessions: X across Y projects
- Date range: YYYY-MM-DD to YYYY-MM-DD
- Total messages: X
**Top Projects**
| Project | Sessions | Messages |
|---------|----------|----------|
| /path/to/project | 42 | 380 |
| ... | ... | ... |
**Token Usage** (if project stats available)
- Input tokens: X
- Output tokens: Y
- Cache read tokens: Z
**Most-Used Tools** (top 10)
| Tool | Uses | Avg/Session |
|------|------|-------------|
| Read | 450 | 12.5 |
| ... | ... | ... |
**Activity Patterns**
- Busiest day: Wednesday (X sessions)
- Busiest hour: 10:00-11:00 (Y sessions)
- Average session duration: Z minutes
- Average messages per session: N
**Error Rate**: X% of tool calls resulted in errors
---
_Run /session-review for deep analysis with parallel agents and workflow improvements._
.jsonl files directly — always use the scripts