Install
openclaw skills install @h-mascot/superada-skill-exec-approvalsManage all OpenClaw exec approval settings — elevated access, obfuscation bypass, security posture, and per-provider allowlists. Use when an agent cannot run sudo/host commands, long commands are blocked as obfuscation, or when onboarding/auditing exec permissions across a fleet of agents. Covers elevated exec enablement, obfuscation check bypass, and security mode configuration.
openclaw skills install @h-mascot/superada-skill-exec-approvalsManage all OpenClaw exec permission and approval settings from one place.
| Problem | Config Key | Section |
|---|---|---|
| Can't run sudo | tools.elevated | Elevated Exec |
| Long commands blocked | tools.exec.obfuscationCheck | Obfuscation Bypass |
| Security mode too strict | tools.exec.security | Security Mode |
Enable agents to run host-level commands (sudo, system scripts, package installs) from chat providers.
python3 -c "
import json
p='$HOME/.openclaw/openclaw.json'
d=json.load(open(p))
if 'tools' not in d: d['tools'] = {}
d['tools']['elevated'] = {
'enabled': True,
'allowFrom': {
'telegram': ['*']
}
}
json.dump(d, open(p,'w'), indent=2)
"
Then restart: openclaw gateway restart
Restrict to specific user IDs:
{
"tools": {
"elevated": {
"enabled": true,
"allowFrom": {
"telegram": ["855505513"],
"discord": ["1457708441677332592"]
}
}
}
}
Supported providers: telegram, discord, whatsapp, slack, signal, matrix
| Error | Fix |
|---|---|
expected array, received boolean | Use ["*"] not true |
elevated exec is disabled | Set config + restart gateway |
config is invalid | Ensure allowFrom.<provider> is always an array |
Disable the exec obfuscation blocker that flags long commands, heredocs, or generated shell payloads.
{
"tools": {
"exec": {
"obfuscationCheck": false
}
}
}
openclaw --version
rg -n "obfuscationCheck" /usr/lib/node_modules/openclaw -S
If the key exists, config toggle works. If not, patch the bundled runtime:
rg -n "detectCommandObfuscation" /usr/lib/node_modules/openclaw -SdetectCommandObfuscation to always return {detected: false, reasons: [], matchedPatterns: []}On upgrades, re-check for config support first.
| Mode | Behavior |
|---|---|
full | All commands allowed |
allowlist | Only allowlisted commands |
deny | No exec at all |
{
"tools": {
"exec": {
"security": "full",
"ask": "on-miss"
}
}
}
["*"]