Sudoplz — AI skill for Claude Code
Give Claude Code, Cursor, and other AI coding agents the ability to run sudo with case-by-case GUI approval.
How to install Sudoplz
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open crypdick/sudoplz and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Sudoplz does
Give Claude Code, Cursor, and other AI coding agents the ability to run sudo with case-by-case GUI approval. Passwords encrypted with your SSH key; no passwordless sudo required.
Alternatives in AI
- Part 4 — Generate AGENTS.md And AI Agent Configuration Files — I'll help you create the instruction files that will guide your AI coding assistant to build your MVP 2.1k ★
- OpenContext — A personal context store for AI agents and assistants—reuse your existing coding agent CLI (Codex/Claude/OpenC 1.1k ★
- Octocode — Structural code intelligence for AI agents — semantic search, knowledge graphs, and a built-in MCP server in o 464 ★
README
sudoplz
Give Claude Code, Cursor, and other AI coding agents the ability to run `sudo` — with case-by-case GUI approval, no passwordless sudo, no `/etc/sudoers` allowlists.
Your sudo password is encrypted to your SSH public key and only decrypted after you approve a dialog showing the exact command about to run. Deny the dialog and nothing happens.

Why
Coding agents can't handle interactive terminal prompts. Ask Claude Code to run `sudo apt install foo` and you get `sudo: Authentication failed`. The common workarounds all have problems:
- Passwordless sudo gives the agent — and anything else running as your user — unrestricted root.
/etc/sudoersallowlists require predicting every command the agent will ever need. No case-by-case review.- Manual copy-paste is tedious and breaks the agent's flow.
`sudoplz` plugs into `sudo -A`, so the agent runs `sudo -A `, you see a dialog with the exact command, and you click Allow or Deny. Works for any command without pre-declaring what's permitted.
This threat model assumes a personal workstation with an encrypted disk and a passphrase-protected SSH key. Not appropriate for shared or production systems.
Installation
- Use traditional
sudo, notsudo-rs.sudo-rsdoesn't support askpass. Check withsudo --version— it should say "Sudo version 1.x.x". If you're onsudo-rs, switch:sudo update-alternatives --install /usr/bin/sudo sudo /usr/bin/sudo.ws 100 sudo update-alternatives --config sudo # pick sudo.ws - Make sure you have an Ed25519 or RSA SSH key. ECDSA and DSA keys are not supported.
- Install system dependencies:
- `age` — required for SSH-backed password storage and TOTP.
sudo pacman -S age/sudo apt install age/brew install age. zenityon Linux — provides the GUI approval dia
- `age` — required for SSH-backed password storage and TOTP.
Related Skills
Slb
Two-person rule CLI for AI coding agents: peer review and approval required before running potentially destruc
And Code
Native Android GUI for running AI coding agents locally on-device. No terminal or PC required.
Kru
Local-first MCP password and credential manager for AI agents. Use passwords, API keys, SSH identities, and TO
Lattice Term
跨平台 AI CLI 與遠端連線桌面工作區|Run Codex, Claude Code and other local agents alongside SSH, SFTP, RDP, VNC and encrypte
Free Claude AI Image Generator
Give Claude the ability to generate images for free via muapi's MCP server — Claude has no native image model,
RemoteX
AI-native SSH fleet management — PyQt5 GUI + MCP Server + Mobile Web Terminal + AI Chat
Related Agents
Excalidraw Diagram Skill
Skill to give Claude Code (and any coding agent) the ability to generate beautiful and practical Excalidraw di
Dev Browser
A Claude Skill to give your agent the ability to use a web browser.
9remote
Long-running AI coding sessions keep working after you leave the desk, but checking on them from a phone usual