[Feature Request] Add `disabledSlashCommands` setting to selectively suppress built-in slash commands

Status Closed — not planned
Reported on v2.1.158
Maintainer reply ✓ Yes — bcherny
Activity 4 comments · opened May 30, 2026 · closed Aug 16, 2026
💡 Likely answer: A maintainer (bcherny, collaborator) responded on this thread — see the highlighted reply below.

Feature request: disabledSlashCommands setting to suppress specific built-in slash commands

Today there's no way to hide or disable individual built-in slash commands (e.g. /stickers). The only option, --disable-slash-commands, is all-or-nothing and kills custom commands too. permissions.deny targets tools, not commands, and hooks don't intercept slash-command dispatch.

Please add a disabledSlashCommands array to settings.json, e.g.:

{
  "disabledSlashCommands": ["stickers"]
}

Listed commands would be hidden from the menu and rejected if invoked. Honoring it at user / project / managed-settings levels would also let orgs enforce a curated command set.

Environment Info

  • Platform: linux
  • Terminal: gnome-terminal
  • Version: 2.1.158
  • Feedback ID: d0a3c669-5338-4e99-b50e-36e68cd8f170

View original on GitHub ↗

4 Comments

amc-corey-cox · 3 months ago

+1 — a concrete instance of why this is needed: a newly-shipped built-in /review now collides with a custom /review I'd had in ~/.claude/commands/ for months. Typing /review drops me into a disambiguation picker with no way to give my own command precedence, and there's no toggle to suppress the built-in.

I filed #72275 for that specific case and am closing it in favor of this issue — a disabledSlashCommands setting would fix it directly. (Would also love an option for user commands to simply override a same-named built-in, but a suppress list covers the immediate pain.)

github-actions[bot] · 1 month ago

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

bcherny collaborator · 1 month ago

Partly possible today, so leaving this open for the rest:

What's missing is a way to disable arbitrary built-in interactive commands like /stickers, so this stays open as a feature request.

🤖 Generated with Claude Code

github-actions[bot] · 8 days ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.