# Sudo

> Use this tool when you need to execute privileged shell commands on Linux workstations without repeated password prompts. Sudo provides a secure way to store and manage sudo credentials with encryption, allowing AI agents to run elevated commands, check credential caches, and clear stored credentials. It is ideal for single-user Linux workstations requiring automated privileged command execution.

Canonical page: https://skillsregistry.net/skills/kamarusama-sudo  
JSON: https://api.skillsregistry.net/v1/skills/kamarusama-sudo

## Description

Sudo provides four tools for executing privileged shell commands on Linux workstations: storing sudo credentials with Fernet encryption, executing commands with elevated privileges, checking if credentials are cached, and clearing stored credentials. Encryption keys are derived from machine-specific identifiers, with the encrypted credential file stored at ~/.config/claude-sudo-mcp/credential.enc. Designed for single-user Linux workstations to allow AI agents to run privileged commands without repeated password prompts.

## Trust

- **Trust score (0–1):** 0.90
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/kamarusama-sudo)
- **Repository:** <https://github.com/kamarusama/mcp-sudo>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "kamarusama-sudo"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/kamarusama-sudo` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/kamarusama-sudo/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
