[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
4 Comments
+1 — a concrete instance of why this is needed: a newly-shipped built-in
/reviewnow collides with a custom/reviewI'd had in~/.claude/commands/for months. Typing/reviewdrops 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
disabledSlashCommandssetting 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.)Closing for now — inactive for too long. Please open a new issue if this is still relevant.
Partly possible today, so leaving this open for the rest:
skillOverridessetting lets you turn individual skills and bundled commands off ("off"hides them from the/menu and refuses invocation). You can also toggle them from the/skillsmenu withSpace. Docs: https://code.claude.com/docs/en/skills#override-skill-visibility-from-settingsdisableBundledSkillsturns off all bundled skills at once. Docs: https://code.claude.com/docs/en/settingsWhat'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
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.