New /insights command, gated by an allow_insights policy, generates a report on your Claude Code usage
A new /insights command generates an HTML report analyzing your recent Claude Code sessions on this machine: which projects you work in, how you use Claude Code, where things go wrong, and features to try. It's controlled by a policy called allow_insights and is not available in cloud sessions.
This gives users a way to review their own usage patterns and discover underused features, while administrators can control access to it via the allow_insights policy.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
| `~/.claude/usage-data/` | Past [`/insights`](/docs/en/costs#analyze-your-usage-patterns) reports and the cached analysis data used to build them |claude-directory see the edit
Anthropic's documentation has since written up /insights, on Explore the .claude directory.