Claude Code ships with a tutor and a mirror, and most developers have opened neither. The tutor is /powerup, ten guided lessons that run inside your terminal. The mirror is /insights, a report generated from your recent sessions on that machine, showing what you do well, where you burn time, and which rules you should be writing down. My argument in this post is simple: either command alone is a nice feature, but running them as a loop, learn, work, measure, adjust, is the fastest route from competent to expert that exists in this tool, and I say that as someone who drives Claude Code across a production Laravel site every working day.
/powerup arrived in version 2.1.90. /insights gives you a report card of your own recent sessions: what you work on, the tools you lean on, and a ranked list of friction points. Here is how both commands work and how to wire them into something self-improving.

What /powerup Actually Is
Type /powerup and you get a menu of ten structured lessons, each targeting one Claude Code capability: planning mode, context management, CLAUDE.md, subagents and parallel work, hooks, skills, and so on. Each lesson follows the same shape: a plain-language concept, a hands-on exercise you perform in your real terminal, feedback on what you did, and a hook into the next lesson.
Two things most people miss about it. First, the lessons adapt to your project context; the context-management lesson behaves differently in a 200-file monorepo than in a single-script folder, which makes the exercises feel less like a tutorial and more like onboarding to your own repo. Second, /powerup has a deliberate ceiling. It teaches the tool's capabilities, roughly the 80 percent that everyone should know, things I otherwise had to collect the hard way into my plan-first strategy guide. What it cannot teach is your usage, your habits, your specific time sinks. That is the other command's job.
What /insights Actually Shows You
Run /insights and Claude Code analyzes your recent sessions on that machine, up to 200 new ones per run, and writes an HTML report to ~/.claude/usage-data/report.html. The session logs are local, but the analysis runs through your normal model provider and counts against your plan or API usage. That matters if your sessions touch client code.
The report has four sections worth your attention:
- Usage breakdown. Sessions by project, languages, tools, time-of-day patterns. Mildly interesting, occasionally embarrassing.
- What's working. Patterns where you use the tool effectively.
- Friction points, ranked by frequency. The valuable part. These are moments where sessions stalled, loops repeated, or you corrected the model the same way multiple times.
- Suggestions, including CLAUDE.md rules. Quick wins you can apply in minutes, plus more ambitious workflow changes, with concrete examples pulled from your own history.
The test of any analytics feature is whether it tells you things you half-knew but never acted on. The friction section covers the same ground as the "Quirks" block of this repo's CLAUDE.md, the list of gotchas I assembled by hand: environment quirks that need re-explaining, verification steps re-run because the first run used the wrong command. That is the honest pitch: /insights industrializes the learn-from-your-own-sessions habit that experts do manually.
The Loop: Why the Two Commands Beat Either Alone
The flywheel looks like this:
/powerupteaches a capability, say, subagents.- You use it in real work for a few weeks.
/insightsshows whether you actually adopted it and what new friction it created.- The report's suggestions become CLAUDE.md rules or skills.
- Repeat next month, from a higher baseline.
Without step 3, learning plateaus at "I know the features." Without step 1, the report keeps flagging problems whose solutions you have not learned. Together they close the loop, and closed loops compound.
Automating the Loop
Because /insights is a command, you can schedule it. A recipe, condensed:
Generate monthly, programmatically. Claude Code runs non-interactively with the -p flag, so a scheduled job on the first of the month can produce the report without you remembering to ask.
Extract, don't archive. A second prompt reads the report and pulls only the ranked friction points and suggested rules into a dated markdown note. Reports you merely save are reports you never reread; a markdown memory folder is a good home for the notes.
Gate the CLAUDE.md updates. The tempting final step is piping suggested rules straight into CLAUDE.md. Don't. That file is load-bearing; every rule in it spends context in every future session. Review the suggestions and promote the ones that earn permanent residence, the same audit habit behind my AI operating system. Automation generates the candidates; judgment still does the hiring.
If you use scheduled routines, the whole recipe is one recurring agent and one review reminder. If you don't, a calendar note on the first of the month gets you 90 percent of the value.
Who Should Run What, Today
If you are new to Claude Code: /powerup, lesson one, tonight. It is genuinely the best onboarding the tool has, better than most third-party tutorials including, frankly, some of mine.
If you have been driving it for months: /insights, right now, before you read another workflow article. You are past the point where generic advice moves the needle; what moves it is data about your usage. Pair the report's findings with the slash commands worth building and you will feel the difference within a week.
And when the report starts suggesting the same fix twice, that is your signal to encode it permanently, as a rule or as a skill. Turning repeated corrections into installable skills is the idea behind my own collection, published in my agent skills marketplace.