pkexec-guard 0.2.0
Routes `sudo` in Bash calls to a password prompt the person can answer: pkexec on a Linux desktop, an osascript administrator dialog on macOS, and Windows sudo's UAC prompt on Windows.
Install
/plugin marketplace add joshkerr/claude-mods /plugin install pkexec-guard@claude-mods
Run both lines inside Claude Code.
Hooks into
- Tool calls
- Toasts
Also in joshkerr/claude-mods
- long-task-notifier 0.2.0 Shows a live timer for long-running Bash commands and background tasks, then toasts, chimes and sends a desktop notification when they finish, on Linux, macOS and Windows. 0
- herdr-statusline 0.2.1 A band above the prompt showing the herdr workspace and pane, the working directory, and the git branch with its dirty/ahead/behind state, on Linux, macOS and Windows. 0
More guardrails mods
- blast-radius 0.1.0 See what a risky command would change before it runs. 289.8k
- agents-md 0.1.0 AGENTS.md as project instructions, by one option. Under claude-md-or-agents-md a project with no instruction files of its own gets its AGENTS.md files instead: a prompt.context hook asks $.fs.ancestors for every AGENTS.md and .claude/AGENTS.md from the filesystem root down to the working director... 157.8k
- claude-mem 15.12.1 mod + skill Persistent memory for AI coding agents: the next session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and more. 114.9k
- ruflo-rvf 0.3.8 mod + skill RVF format for portable agent memory, session persistence, and cross-platform transfer. As a mod (ADR-445): a write guard that keeps secrets out of memory, sessions and transfers, /rvf-mod, and a status file the console shows 82.8k
- openviking-memory 0.7.32 mod + skill Long-term semantic memory for Claude Code, powered by OpenViking. Auto-recall relevant memories at session start and capture important information during conversations. 43.1k