[Bug] /insights command displays incorrect file path on Windows (missing backslash between username and .claude)
Resolved 💬 2 comments Opened Apr 10, 2026 by parattaikaran Closed Jun 16, 2026
<img width="1003" height="261" alt="Image" src="https://github.com/user-attachments/assets/d9f3433e-3ffb-4e71-8ce7-887bdf8168ac" />
Bug Description
When using /insights, output was written to appropriate path "C:/Users/mohan/.claude/usage-data/report.html", but in the details shown as reponse, the path mentioned was "C:/Users/mohan.claude/usage-data/report.html" which was non existent. After the currently logged in user name, "\" was missed. The environment is Windows 11, Claude code terminal. Fix has to be applied on the message being displayed and nothing to be changed for the actual file writing method as the file is actually written.
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.89
- Feedback ID: 212e31b5-e657-43f4-8226-0b1b67f06e47
Errors
[]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗