Omniscio

OmniscioGuidesClaude Code insights

Claude Code /insights: the report on how you work

Most Claude Code numbers answer “how much”. /insights answers “how”: it reads your recent sessions on this machine and writes a report about the shape of your work rather than the size of your bill.

The cost guide covers what a session costs, the token usage guide covers where the tokens go, and the analytics guide covers the team dashboards on claude.ai. This page owns /insights itself: what it reads, what it writes, where the file goes, and what the run costs.

Sources read November 25, 2026. By the Omniscio team. Updated .

What the report covers

Anthropic describes /insights as a report on how you work rather than how many tokens you have used. It analyzes your recent sessions on this machine and writes an HTML report with three kinds of content: what you work on, friction points such as misunderstood requests or buggy code, and suggestions for using Claude Code more effectively.

The auto mode estimate

When auto mode, covered in the permission modes guide, is available to the session and your recent sessions mostly ran without it, the report can also estimate how many permission prompts auto mode could have handled across those sessions. Anthropic documents it as content of the report: an estimate, not an action Claude Code takes.

How many sessions one run reads

A single run analyzes up to 200 sessions it has not seen before, and it skips very short ones. Because each run takes sessions it has not seen before, a second run has different material to work from.

When sessions are left out, the report header shows the analyzed count with the total in parentheses, for example 200 sessions (412 total). The header counts what the run analyzed against the total: 200 sessions (412 total) means the run stopped at its ceiling, and the rest of the archive was left for another run.

Where the report is written

Claude Code writes the latest report to ~/.claude/usage-data/report.html and saves a timestamped copy of each run in the same directory, so an earlier report is never overwritten.

~/.claude/usage-data/report.html

The files do not live forever. Claude Code deletes reports on the same schedule as the rest of your session data: at startup it removes files older than cleanupPeriodDays, which is 30 days by default. The .claude directory guide covers the other folders cleaned the same way.

What a run costs, and what it reads

You can run /insights on any plan and with any provider. The analysis runs through the same provider and account as your regular sessions, and the tokens count against your plan or API usage, so a report is a piece of work like any other.

Sessions from other devices and from claude.ai are not included. The report is built from this machine’s history, which is why it can be honest about a week of local work and silent about a week of cloud sessions.

/insights is not available in cloud sessions.

Sources

Every line on this page rests on one of these. The date beside each one is the day we read it.

  • Manage costs effectively, for the Analyze your usage patterns section: what the report covers, the 200-session ceiling, the header format, the auto mode estimate, the output path, retention and the cost. Read November 25, 2026.
  • Commands, for the /insights entry and its note that it is not available in cloud sessions. Read November 25, 2026.
  • Explore the .claude directory, for cleanupPeriodDays and the 30-day default that deletes old reports. Read November 25, 2026.

No report was generated for this page; every behaviour is read from those three pages.

Common questions

What does the Claude Code /insights report show?

It is a report on how you work rather than how many tokens you used. It covers what you work on, friction points such as misunderstood requests or buggy code, and suggestions for using Claude Code more effectively.

Where is the insights report saved?

The latest report is written to ~/.claude/usage-data/report.html, and each run also saves a timestamped copy in the same directory, so an earlier report is never overwritten.

How many sessions does /insights analyze?

One run analyzes up to 200 sessions it has not seen before and skips very short ones. When sessions are left out, the report header shows the analyzed count with the total in parentheses, for example 200 sessions (412 total).

Does /insights cost tokens?

Yes. The analysis runs through the same provider and account as your regular sessions, and the tokens count against your plan or API usage. It works on any plan and with any provider.

How long are insight reports kept?

Claude Code deletes them on the same schedule as the rest of your session data: at startup it removes files older than cleanupPeriodDays, which is 30 days by default.

Every session, one window

Omniscio runs several agent sessions side by side in one window, each with its own context and its own diff view. Any model, any harness: Claude Code, Codex, OpenCode, Devin, Pi, and Hermes all supported.