[BUG] CLI crashes when typing "/" during skill-creator execution
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 CLI crashes when typing "/" to open the command menu while the "skill-creator" skill is actively running. The crash occurs because a newly created skill (in progress) has an undefined or malformed description field, and the command menu tries to call .split() on it.
The crash is reproducible - typing "/" at any point while skill-creator is working, or even after resuming or restarting Claude Code in the same project, triggers the same error.
What Should Happen?
Claude Code should handle missing or malformed tool/skill descriptions gracefully, either by using a fallback empty string or displaying a descriptive error message instead of crashing.
Error Messages/Logs
TypeError: $.description.split is not a function. (In '$.description.split(" ")', '$.description.split' is undefined)
at <anonymous> (/$bunfs/root/claude:2995:27399)
at map (1:11)
at zKA (/$bunfs/root/claude:2995:27285)
at <anonymous> (/$bunfs/root/claude:2998:14368)
at <anonymous> (/$bunfs/root/claude:2998:15079)
at <anonymous> (/$bunfs/root/claude:2998:15119)
at rA (/$bunfs/root/claude:693:62382)
at rz (/$bunfs/root/claude:693:75292)
at P6 (/$bunfs/root/claude:693:75176)
at rz (/$bunfs/root/claude:693:76075)
Steps to Reproduce
- Run a skill that creates a new skill (e.g., use skill-creator to create "pr-creator")
- While the skill is being created and Claude is processing, type "/" to open the command/skill menu
- Claude Code crashes immediately with TypeError
The crash also persists after starting a fresh claude session in the same project.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.1
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Warp
Additional Information
<img width="1774" height="1000" alt="Image" src="https://github.com/user-attachments/assets/631c6fa4-57ef-47d4-9d5f-6f2e1f163b5b" />
<img width="1774" height="951" alt="Image" src="https://github.com/user-attachments/assets/3e50be89-070f-41f7-af5b-b8dad0fb8255" />
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗