[BUG] Built-in commands treated as unknown skills in v2.0.74
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?
Bug Report: Built-in Commands Treated as Unknown Skills
Summary
Built-in commands like /help and /agents are incorrectly being treated as Skills and returning "Unknown skill" errors in Claude Code 2.0.74.
Environment
- Claude Code Version: 2.0.74
- Platform: Claude Desktop App (not standalone npm installation)
- Operating System: macOS 12.7.6 (Monterey)
- Node.js Version: v11.10.0 (system version)
- npm Version: 6.7.0 (system version)
Steps to Reproduce
- Open Claude Desktop App
- Start a Claude Code session
- Type
/helpand press Enter - Observe the error: "Unknown skill: help"
Expected Behavior
The /help command should display the built-in help menu showing available commands and usage information.
Actual Behavior
The CLI returns: "Unknown skill: help"
This error message indicates that Claude Code is treating /help as a custom Skill (user-defined command) rather than recognizing it as a built-in command.
Additional Details
- The same issue occurs with other built-in commands like
/agents - Running
claude --debugin the Desktop App shows no output when the error occurs - No custom skills or commands are defined (no
~/.claude/skills/or~/.claude/commands/directories exist) - No custom
settings.jsonexists - Issue persists across Desktop App restarts
Impact
This bug prevents users from accessing the help system and potentially other built-in commands, making it difficult to use Claude Code effectively.
Notes
- This appears to be a regression where the command routing logic is incorrectly treating built-in commands as Skills
- The CLI should distinguish between built-in commands and custom Skills, but appears to be treating all
/prefixed commands as Skills
What Should Happen?
The /help command should display the built-in help menu showing available commands and usage information.
Error Messages/Logs
The CLI returns: "Unknown skill: help"
Steps to Reproduce
- Install Claude Code 2.0.74
- Open Claude Desktop App
- Start a Claude Code session
- Type
/helpand press Enter - Observe the error: "Unknown skill: help"
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.74
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
- The same issue occurs with other built-in commands like
/agents - Running
claude --debugin the Desktop App shows no output when the error occurs - No custom skills or commands are defined (no
~/.claude/skills/or~/.claude/commands/directories exist) - No custom
settings.jsonexists - Issue persists across Desktop App restarts
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗