Viewerly

Plugins · io.viewerly.guard

Guard

Official

Answers the permission requests nobody is looking at, by rules you set: tools you always allow are allowed, Bash commands containing a phrase you name are denied, everything else waits for you. Counts what it decided.

AutomationsPanels & commands

What it can do

  • Can answer permission requests nobody is looking at — Only answers a request when no window, phone or dashboard has the session open. Denies a Bash command that contains any phrase in “Deny Bash commands containing” (by default rm -rf); this is checked first. Allows a tool named in “Always allow tools” (by default Read, Glob, Grep and LS). Leaves everything else to you. Both lists are in Settings › Plugins › Guard; an empty field means its default, and “none” turns that rule off. Matching ignores case for tool names and extra spaces in commands, and is plain text: it is a safety net, not a sandbox.
  • Can show notifications
  • Is told when a permission is requested, a session's status changes, a session exits

The app lists these again and asks before granting any of them.

Install

In Viewerly, open Settings › Plugins › Browse Plugins… and pick it from the list, or run this in a terminal:

viewerly plugin install io.viewerly.guard