Agent Sudo — Development skill for Claude Code
Root for coding agents without a terminal (Claude Code, Codex, Pi, Antigravity): uses your remembered sudo or polkit login, shows a desktop prompt with the agent, command and reason when a password is.
How to install Agent Sudo
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open citizenu03bb/agent-sudo and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Sudo does
Root for coding agents without a terminal (Claude Code, Codex, Pi, Antigravity): uses your remembered sudo or polkit login, shows a desktop prompt with the agent, command and reason when a password is needed, and logs every request.
Alternatives in Development
- Codexbar — Show usage stats for OpenAI Codex and Claude Code, without having to login 8.8k ★
- Scope Recall Hermes — Local long-term memory for Hermes, Codex, Claude Code, WorkBuddy and dsh agents: one SQLite store, source-back 438 ★
- Cloud Run Debug — Diagnose a failing Cloud Run service — Antigravity (agy/Gemini) digests the error logs cheaply, Claude infers 284 ★
README
agent-sudo
Root for coding agents (Claude Code, Codex, Pi, Antigravity) without a terminal. When a root command needs your password, a desktop prompt shows which agent is asking, the exact command (including any heredoc or piped stdin), the agent's stated reason and the working directory. While your login is still fresh, requests run without interrupting you, and every one is logged. Your password goes from the prompt to sudo or polkit, never through the agent.
agent-sudo --reason "install foo from the distro repo" -- sh -c 'apt-get update && apt-get install -y foo'
Why
Agents have no terminal, so `sudo` can't ask them for a password: they fail, or you copy commands across by hand. agent-sudo gives them the prompt they're missing and nothing more. It uses each backend's own remembered login, so you type your password about as often as you would in a terminal, and it records who asked for what.
It decides how an agent gets root, not which commands may run. For rules such as "package installs yes, disk tools never", use a command guard alongside it (your agent's own permission rules, such as Claude Code's `permissions.deny`, or a dedicated shell guard), or turn on `confirm = always` below.
Install
Linux desktop. Needs bash, zenity, and at least one of sudo, pkexec (polkit) or run0 (systemd 256+). On Windows, WSL with WSLg (which runs Linux GUI apps such as zenity) should work, but is untested.
**As a skill, for any agent** ([skills.sh](https://skills.sh)):
npx skills add citizenu03bb/agent-sudo
**As a Claude Code plugin:**
/plugin marketplace add citizenu03bb/agent-sudo
/plugin install agent-sudo@agent-sudo
**From a clone**, which also puts `agent-sudo` on your PATH:
git clone https://github.com/citizenu03bb/agent-sudo && cd agent-sudo && ./install.sh
`install.sh` symlinks `plugin/skills/agent-sudo/scripts/agent-sudo` into `~/.local/bin` and `plugin/skills/agent-sudo/` into the skill directories of
Related Skills
Fluxdock
Desktop widget that shows Claude Code, Codex CLI and Antigravity usage for every limit window your account has
Depictio Embl Admin Login
Auth as Depictio admin on an EMBL K8s deployment by injecting the on-pod long-lived token into the React /dash
Ymcp
YouTrack MCP server and coding-agent pipelines. Every built-in YouTrack MCP tool plus deletes, sprints, attach
Claude Buddy
🐾 A pixel-art desktop pet for your Claude Code sessions: browse, search and read every local session, keep ch
Tv Debloat
Debloat Android TV & Google TV over ADB: remove ads, bloatware and telemetry without root and without installi
Novadeck
Desktop terminal for running Claude Code, Codex and Antigravity side by side, with one Inbox for when they nee
Related Agents
Agy Rescue
Proactively use when Claude Code is stuck, wants a second implementation or diagnosis pass, needs a deeper roo
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Abtop
AI agent monitor for your terminal. Like btop++, but for AI coding agents. Supports Claude Code and Codex CLI.