[BUG] /insights throws an error TypeError: undefined is not an object (evaluating 'Object.keys(b)')

Resolved 💬 3 comments Opened Feb 9, 2026 by slavag Closed Feb 13, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Claude Code v2.1.37
▐▛███▜▌ Opus 4.6 · Claude Max
▝▜█████▛▘ ~/Documents/Development
▘▘ ▝▝ Opus 4.6 is here · $50 free extra usage · Try fast mode or use it when you hit a limit /extra-usage to enable

❯ /insights
⎿ TypeError: undefined is not an object (evaluating 'Object.keys(b)')

❯ /insights
⎿ TypeError: undefined is not an object (evaluating 'Object.keys(b)')

What Should Happen?

I'm expecting to get insights info

Error Messages/Logs

Steps to Reproduce

Just run /insight

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.37

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Warp

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗