500xEngineer.

All postsLONG-FORM4 min read

Claude Code /insights: I Checked My Report and Its Suggestions

I ran Claude Code's /insights, checked its main finding against my build notes, and checked its suggested skill and hook against Anthropic's docs before pasting anything.

Claude Code has a built-in command, /insights, that writes an HTML report on your recent sessions on that machine. I ran it on November 26, 2026. Mine analyzed 15 of 3,341 sessions, covering November 24 and 25. It says my first drafts keep failing my own checks. So I compared that with my build notes, then checked its suggested fixes against Anthropic's docs before pasting anything.

Video not loading? Watch the video on YouTube

What /insights does, per the docs

  • The report covers your recent work, where things go wrong, and features to try.
  • One run analyzes up to 200 sessions it hasn't seen before and skips very short ones.
  • It reads sessions on the machine where you run it. Sessions from other devices and claude.ai aren't included, and the command isn't available in cloud sessions.
  • The analysis runs through the same provider and account as your regular sessions, and the tokens count against your plan or API usage.
  • The latest report is written to ~/.claude/usage-data/report.html, with a timestamped copy of each run. At startup, Claude Code deletes reports older than cleanupPeriodDays, 30 days by default.
  • It has been around for a while: the changelog's /insights fixes go back to v2.1.101 on April 10, 2026.

What my report saw

My header reads 245 messages across 15 sessions (3,341 total), November 24 to 25. The docs don't say why this run picked 15; the 200 cap and the short-session rule leave that open.

My report lists 1,140 Bash tool calls. Its work groups include Shorts, long-form and translations, and TimeIQ brand work. It reads my setup as an automated video workflow with checks along the way and my approval at the end.

Its first friction heading is "First-pass renders and scripts routinely failing QA." It also describes translation reviews hitting their caps and 7 TimeIQ jingle rounds without a winner. The satisfaction chart is marked model-estimated, and the outcome labels come from the same analysis. I haven't graded them myself.

Checked against my build notes

I counted two things in the build notes for the 9 Shorts in folders dated November 24 and 25: render attempts and fact-check rounds.

  • Renders ranged from 2 to 4. All 9 of 9 needed at least 2.
  • Fact-check rounds ranged from 1 to 3. 8 of 9 needed at least 2.

So the repeated-rework finding matches my build notes. The limits matter: I can't show these are the same sessions the report read, and the notes come from the same pipeline work. The counts say the work repeated; they don't say why each retry happened. The translation and jingle records weren't part of this check.

Its suggestions, checked against the docs

CLAUDE.md additions. Mine suggested a pre-render checklist, fact-check rules and brand and translation rules. The docs describe suggestions in general and don't promise this section. CLAUDE.md gives Claude persistent instructions as context; a check you need every time still needs something that runs it. Its pre-render checklist also includes a step after rendering, so I'd split the two stages.

The skill. The suggested path, .claude/skills/short/SKILL.md, matches the documented project skill location. The code block, though, starts with a filename comment above the opening ---. The skills docs say Claude Code reads the frontmatter only when the opening --- is the file's first line; otherwise it treats the whole file, markers included, as skill content. Pasted as shown, the name and description would never be read as settings. The fix is to keep the filename outside the file.

The hook. The suggested JSON has the documented shape: a PostToolUse event, a matcher group, and a command handler. Three details change what it does:

  • PostToolUse runs after a tool completes successfully. The docs say the tool has already run by the time the hook fires. A check that has to pass before a render needs to run earlier.
  • The matcher Bash matches the Bash tool exactly, so it runs after each successful Bash tool call: a directory listing or a git status would trigger it too. Edit and Write calls don't match it.
  • It names scripts/post-render-check.sh but supplies no checker, and the docs say handlers run in the current directory, so a relative path needs care. You'd also choose .claude/settings.json (shared with the project) or .claude/settings.local.json (local).

Nothing here has been installed or tested.

What I'm going to try (my opinion)

  • A scene check that must pass before the render. I'd start with a past text-overlap failure and its fixed version, and confirm the check flags the first and passes the second. Freeze and black-frame checks stay after the render, where there are finished frames.
  • Then compare future build notes: renders, fact-check rounds, and any review work the check adds. Any improvement is untested.
  • A translation glossary and written criteria for creative choices come later.

How I'd read your own report (my opinion)

  1. Start with the dates and the sample size in the header.
  2. Separate displayed counts from the model's estimates.
  3. Pick one repeated failure and compare it with your own records.
  4. Check every suggested file against the docs before you paste it: file format, trigger, timing, and whether the script exists.
  5. Read it before you share it. A report can name your projects; I masked a project name before showing mine.

What repeated failure could you check against your own logs or build notes?

Daily email

Get each breakdown in your inbox.

One email each evening, right after the Short goes live: the AI tool it covers, the full write-up with sources, and how to get paid for it. Free, and you can unsubscribe anytime.

Read past emails on Substack

Sources

All postsWatch on YouTube