{"name":"\/insights","slug":"insights","family":"slash","title":"Slash commands","noun":"slash command","description":"Generate an HTML report analyzing your recent sessions on this machine: which projects you work in, how you use Claude Code, where things go wrong, and features to try. Not available in [cloud sessions](\/docs\/en\/claude-code-on-the-web). See [Analyze your usage patterns](\/docs\/en\/costs#analyze-your-usage-patterns) for the report location, retention, and cost","description_source":"docs","described_by":{"doc":"claude-code\/commands","title":"Commands"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.308","builds":0,"mined_builds":149,"first_cited":{"version":"2.1.238","released_at":"2026-08-20 18:01:54","spans":1}},"aliases":[],"entries":[{"version":"2.1.283","anchor":"insights-policy-now-treated-like-other-transcript-scan-featu","heading":"Insights now follows the same policy rules as other transcript-scanning features","line":"The `allow_insights` policy now allows insights when no value has been loaded, unless marked denied, instead of denying by default","released_at":"2026-09-25 18:46:11","reason":"found in this entry's text, named in this entry"},{"version":"2.1.283","anchor":"new-tengu-hashed-lark-gate-bypasses-transcript-scan-policy-e","heading":"Four HIPAA-restricted features are now marked as scanning your transcripts","line":"Usage patterns, Skill token counts, Insights and Usage stats are now tagged as features that scan session transcripts, with a remote switch to skip that","released_at":"2026-09-25 18:46:11","reason":"found in this entry's text"},{"version":"2.1.281","anchor":"insights-can-now-suggest-switching-to-auto-mode-based-on-h","heading":"\/insights can now suggest switching to auto mode, based on how many permission prompts past sessions hit","line":"\/insights can now suggest switching to auto mode, or running \/auto-mode-setup, based on how many permission prompts your sessions would hit","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text, named in this entry"},{"version":"2.1.281","anchor":"insights-logs-an-auto-mode-recommendation","heading":"\/insights logs an auto-mode recommendation","line":"\/insights now logs a usage event when it considers recommending auto mode","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"},{"version":"2.1.281","anchor":"insights-prompt-takes-a-recommendation-line","heading":"\/insights prompt takes a recommendation line","line":"The follow-up prompt behind \/insights now accepts a recommendation line","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text, named in this entry"},{"version":"2.1.267","anchor":"new-insights-or-similar-command-gated-by-allow-insights-p","heading":"New \/insights (or similar) command gated by allow_insights policy","line":"New \/insights command, gated by an allow_insights policy, generates a report on your Claude Code usage","released_at":"2026-09-09 18:25:42","reason":"found in this entry's text, named in this entry"},{"version":"2.1.238","anchor":"preloading-a-skill-no-longer-does-the-built-in-command-s-rea","heading":"Preloading a skill no longer does the built-in command's real work","line":"Preloading a skill no longer runs the expensive work of codebase analysis or `\/insights`.","released_at":"2026-08-20 18:01:54","reason":"named in this entry, found in this entry's text"},{"version":"2.1.90","anchor":"notes","heading":"","line":null,"released_at":"2026-04-01 23:31:39","reason":"found in this entry's text"},{"version":"2.1.30","anchor":"insights-command","heading":"\/insights Command","line":null,"released_at":"2026-02-03 16:34:38","reason":"found in this entry's text"}],"entries_total":9,"docs":[{"source":"claude-code","path":"commands","title":"Commands","documented":true},{"source":"api","path":"manage-claude\/cmek","title":"cmek","documented":false},{"source":"claude-code","path":"claude-directory","title":"Explore the .claude directory","documented":false},{"source":"claude-code","path":"costs","title":"Manage costs effectively","documented":false}],"docs_total":4,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/slash\/insights","family_url":"https:\/\/changelogs.core-directive.com\/reference\/slash.json"}