Disabling Approvals in Hermes | Generated by AI
Here’s what I found:
Three ways to skip approvals, from easiest to most permanent:
-
/yoloslash command (easiest, per-session) Just type/yoloinside a hermes session. Toggles YOLO mode on/off. All dangerous commands auto-approved for that session. Does NOT persist to config — resets when you restart hermes. HERMES_YOLO_MODE=1env var (per-process, no config edit)HERMES_YOLO_MODE=1 hermesFrozen at module import time (line 29 of
tools/approval.py) — can’t be flipped mid-session even by prompt injection. Good for “always skip in this shell”.- Edit
~/.hermes/config.yaml(permanent, all sessions)approvals: mode: offThe code at
tools/approval.py:825-837handles YAML 1.1’s quirk where bareoffis parsed as booleanFalse— it normalizes that to the string"off"correctly, so bothmode: offandmode: "off"work.
Do you need to manually edit config.yaml? No. The /yolo command is the fastest way — one keystroke in-session. But it’s per-session only. If you want it permanent without editing the file, you’d need to use the env var approach or add export HERMES_YOLO_MODE=1 to your shell profile.
There’s no hermes config set approvals.mode off CLI subcommand exposed — the /config command is read-only (shows current config). The save_config_value() function exists internally and is used by commands like /reasoning, but no slash command wraps it for arbitrary config keys. That would actually be a nice addition — a generic /config set <key> <value> command.
My recommendation: Just type /yolo at the start of each session. It’s one command, zero config changes, and the status bar shows ⚠ YOLO so you know it’s active.