[BUG] Nested custom slash commands not loaded with native client

Resolved 💬 3 comments Opened Dec 10, 2025 by DillonN Closed Dec 13, 2025

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?

When installing via irm https://claude.ai/install.ps1 | iex or curl -fsSL https://claude.ai/install.sh | bash, claude only sees commands that are right at the root folder <project>/.claude/commands/. It does NOT show namespaced commands in subfolders.

What Should Happen?

Commands in subfolders e.g. <project>/.claude/commands/ns/cmd.md should be available as /ns:cmd. This works fine when installed via NPM.

Error Messages/Logs

Steps to Reproduce

  1. Install native client
  2. Add a custom slash command under a subfolder to <project>/.claude/commands
  3. Try to use it

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.62 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

Broken in both Windows and WSL. Works fine when installed via NPM.

View original on GitHub ↗

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