Cc Askpass — Development skill for Claude Code
A Claude Code mod that lets Claude run commands that need sudo, instead of copying them into your own terminal.
How to install Cc Askpass
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open GoneTone/cc-askpass and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cc Askpass does
A Claude Code mod that lets Claude run commands that need sudo, instead of copying them into your own terminal. | 一個 Claude Code Mod,讓 Claude 直接執行需要 sudo 的指令,不用再把指令複製到自己的終端機執行。
Alternatives in Development
- Root Cause Tracing — Use when errors occur deep in execution and you need to trace back to find the original trigger 102.5k ★
- Resume Work From A Handoff Document — You are tasked with resuming work from a handoff document through an interactive process 10k ★
- Call Me — Minimal plugin that lets Claude Code call you on the phone 2.5k ★
README
cc-askpass
English | [繁體中文](README.zh-TW.md) | [简体中文](README.zh-CN.md)
**A Claude Code mod that lets Claude run commands that need sudo, instead of copying them into your own terminal.**
When a command Claude runs asks for a password (`sudo apt install`, an install script that calls sudo, `git push` over HTTPS, an ssh key passphrase), cc-askpass opens a password pane inside Claude Code where you can type it. The password goes straight to the program that asked. It never reaches the model, the transcript or any log.
https://github.com/user-attachments/assets/bbb11cc1-cbfb-4b46-ba88-23fbf1ab6254
Without it, Claude's Bash tool has no terminal, so sudo fails at once:
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
So you end up running the command in your own terminal. Pasting the password into the chat or adding `NOPASSWD` to sudoers also gets around it, but both are riskier.
- Nothing to configure. Install it, and sudo, ssh and git ask for passwords in the pane.
- The password stays out of the model. It never appears in the model's context, in logs, on a command line or in a file.
- You see what you approve. The pane shows the command that will run as root, the program that asked, and the command Claude ran.
Install
Needs Claude Code 2.1.286 or later, on Linux, WSL, macOS or Windows. Run these in Claude Code:
/plugin marketplace add GoneTone/cc-askpass
/plugin install cc-askpass@cc-askpass
`/plugin install` asks where to install it and shows its options; the defaults are fine. Then restart Claude Code or run `/reload-plugins`.
Usage
When a command Claude runs asks for a password, the pane opens. Its `$` line shows the command that asked; for sudo, that is the command that will run as root (for example `$ sudo apt update`). `Asked by:` names the program that asked. If the prompt came from something else Cl
Related Skills
Lemo Mod
Claude Code mods: 21 styles and a full set of features you turn on when you need them, for the terminal and th
Ccli
Terminal view of every Claude Code session across all your accounts: tokens, list-price cost, subagent trees,
Cc Mod Image View
Claude Code mod: thumbnails of pasted images above the prompt instead of bare [Image #n] tags
Claude Auto Handoff
Claude Code mod: hand a long session off to a fresh one with a structured brief, instead of auto-compacting
SafeClaw
to make running containerized Claude Code sessions easy. It lets you spin up multiple isolated sessions, each
Namedrop
@mentions for Codex, Claude Code, and your terminal. A Herdr plugin that lets agents in different panes work t
Related Agents
AI Implementer
Implements ONE approved plan step in a project with .ai/ — mechanical, pattern-copying work where the step nam
GPT 5.6 Luna
General-purpose agent that runs on GPT-5.6-Luna (routed through the shunt gateway to the ChatGPT/Codex subscri
Integration Runner
End-of-build closer. Runs the project's real test/validate pipeline and iterates until it is genuinely green,