[BUG] Built-in commands treated as unknown skills in v2.0.74

Resolved 💬 3 comments Opened Jan 16, 2026 by jesperjayaswal Closed Feb 28, 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?

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

  1. Open Claude Desktop App
  2. Start a Claude Code session
  3. Type /help and press Enter
  4. 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 --debug in 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.json exists
  • 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

  1. Install Claude Code 2.0.74
  2. Open Claude Desktop App
  3. Start a Claude Code session
  4. Type /help and press Enter
  5. 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 --debug in 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.json exists
  • Issue persists across Desktop App restarts

View original on GitHub ↗

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