In this guide, you’ll learn how to use Claude Code’s hidden `/insights` feature to improve your coding habits. You’ll generate a built-in report from your Claude Code history, review Claude’s feedback on your process, and turn the report’s recommendations into reusable `CLAUDE.md` instructions, custom skills, or hooks.
published feb 10, 2026
How This Hidden “insights” Feature Improves Claude Code
beginnerThe Rundown
Who This Is Useful For
- Vibe coders who aren’t confident in their coding habits
- Anyone curious what Claude Code thinks of their process
- Data nerds interested in what tools and skills their Claude Code uses the most
What You Will Build
You’ll produce a local Claude Code insights report and reusable improvements for future coding sessions.
- A `report.html` insights report generated by Claude Code
- Copy-paste-ready `CLAUDE.md` instructions based on your patterns
- Optional custom skills and hooks suggested by the report
What You Need
- Claude Pro or higher subscription
- A computer with the Claude CLI installed
- At least a few weeks of Claude Code usage; more history means a better report
- A code editor such as Cursor, VS Code, or just your terminal
Going Further
- Run `/insights` once a month. As your habits improve, Claude Code can surface new skills and instructions you can reuse. Feedback can also be project specific, so if you’ve been struggling with a project all month, this is a useful way to get feedback.
If `/insights` fails, close Claude Code with `ctrl + c` and reopen it to update Claude Code before trying again.