Feature request: CLI flags/settings to hide default slash commands and agents from menu
Resolved 💬 7 comments Opened Jan 8, 2026 by risenowrise Closed Apr 9, 2026
Feature Request
Add the ability to hide/filter default slash commands and agents from the / menu via CLI flags or settings.json configuration.
Use Case
Power users with many custom commands/skills want to declutter the menu by hiding built-in commands they don't use. Currently:
--toolsand--disallowedToolscontrol execution but not menu visibilitydisable-model-invocation: trueprevents auto-invocation but items still appear in menu- No settings.json option exists for menu visibility
Proposed Solutions
Any of these would work:
- CLI flag:
--hide-commands "help,clear,compact"or--show-commands "custom-only" - Settings.json:
"hiddenCommands": ["/help", "/clear"]or"menuFilter": { "showBuiltins": false } - Per-scope control: Allow hiding at user/project/local scope levels
Additional Context
This would help users who:
- Have extensive custom skill libraries and want a cleaner menu
- Work in specific contexts where certain built-in commands are irrelevant
- Want to create focused, minimal interfaces for specific workflows
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗