Slash Commands¶
/warden:yolo¶
Enable/disable YOLO mode. See YOLO Mode for details.
/warden:allow¶
Allow a previously blocked or flagged command by updating your config.
Usage:
/warden:allow npx- allow all npx commands/warden:allow npx clawhub- choose between allowing all npx or just npx clawhub
When called with multiple words, you choose:
- Option A: Allow all
<command>(setsdefault: allow) - Option B: Allow only
<command> <subcommand>(addsargPattern)
Config scope: you choose project (.claude/warden.yaml) or user (~/.claude/warden.yaml).
The command merges into existing config - appends to alwaysAllow or merges argPatterns into existing rules without duplicates.
Feedback messages¶
When Warden blocks or flags a command, it includes:
- Why the command was blocked/flagged
- A ready-to-use YAML snippet showing how to allow it
- Links to
/warden:allowand/warden:yolo