[FEATURE] Escape ! execution in slash commands
Resolved 💬 8 comments Opened Oct 16, 2025 by PaulRBerg Closed Feb 6, 2026
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
I want to write a meta slash command for creating other slash commands, and I want to instruct Claude like this:
````markdown
STEP 5: Generate command structure
CREATE command file with this structure:
---
argument-hint: [parameters]
description: Brief one-line description
---
## Context
- Relevant data: !`shell command`
- Arguments: $ARGUMENTS
````
When I run /create-slash-command, I get this error:
Error: Bash command failed for pattern "!shell command": [stderr] zsh: command not found: shell command
Proposed Solution
Implement a mechanism/keyword that allows users to escape ! in slash command definitions.
Alternative Solutions
_No response_
Priority
Medium - Would be very helpful
Feature Category
Configuration and settings
Use Case Example
_No response_
Additional Context
_No response_
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗