Understanding Your Claude Code Usage - Insights and Suggestions
Claude Code now has support for /insights commands.
And it does all these out of box
When you run it, Claude Code will read your message history from the past month. It’ll summarize your projects, how you use Claude Code, and give suggestions on how to improve your workflow.