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 ★
- PRD: Agent Builder — Create Your Own Sub-Agent — Your ecosystem, your rules 1.9k ★
- Qiaomu Markdown Proxy — Fetch any URL as clean Markdown via proxy services (r.jina.ai / defuddle.md) or built-in scripts 426 ★
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
Kru
Local-first MCP password and credential manager for AI agents. Use passwords, API keys, SSH identities, and TO
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,
And Code
Native Android GUI for running AI coding agents locally on-device. No terminal or PC required.
Lattice Term
跨平台 AI CLI 與遠端連線桌面工作區|Run Codex, Claude Code and other local agents alongside SSH, SFTP, RDP, VNC and encrypte
Slb
Two-person rule CLI for AI coding agents: peer review and approval required before running potentially destruc
Aurao
Your friendly, safe desktop GUI for autonomous AI agents (Claude Code, OpenAI Codex CLI, Google Antigravity) —
Related Agents
Excalidraw Diagram Skill
Skill to give Claude Code (and any coding agent) the ability to generate beautiful and practical Excalidraw di
ZeroClaw Android
Run AI agents 24/7 on your Android phone. Native Rust core, 25+ providers (OpenAI, Claude, Gemini, Groq, DeepS
Dev Browser
A Claude Skill to give your agent the ability to use a web browser.