gagarinyury

Claude Code Root Runner β€” Development skill for Claude Code

Development community

πŸ”₯ Utility script to run Claude Code CLI with --dangerously-skip-permissions as root by creating temporary non-root user.

How to install Claude Code Root Runner

This entry records only its repository, not the path inside it, so there is no exact command to give. Open gagarinyury/claude-code-root-runner and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Code Root Runner does

πŸ”₯ Utility script to run Claude Code CLI with --dangerously-skip-permissions as root by creating temporary non-root user. Bypass root restrictions safely in containers and server environments.

Alternatives in Development

  • System Cache Cleanup β€” Clean temporary files and caches to free disk space: $ARGUMENTS 23.4k β˜…
  • Bypass 403 β€” Probe a 403/401 endpoint with the most-paid bypass tricks (header injection, path encoding, method swap, WAF f 4.5k β˜…
  • Skip Reflect 996 β˜…

README

Claude Code Root Runner πŸš€

A utility that allows running [Claude Code CLI](https://claude.ai/code) with root privileges by creating a temporary non-root user and bypassing permission restrictions.

✨ Features

  • πŸ”’ Safe Root Bypass - Creates temporary user instead of running as root
  • πŸ“ Two Operating Modes - Current directory or interactive workspace selection
  • ⚑ Full System Access - Sudo privileges for system administration tasks
  • πŸ”§ Easy Installation - One-line installer script
  • πŸ›‘οΈ Security Focused - Temporary user with controlled permissions

🎯 Use Cases

  • Docker Containers running as root
  • Server Administration scenarios
  • CI/CD Pipelines requiring elevated permissions
  • Development Environments in sandboxed systems

πŸ“¦ Installation

Quick Install (Recommended)

curl -sSL https://raw.githubusercontent.com/gagarinyury/claude-code-root-runner/main/install.sh | sudo bash

Manual Installation

# Download scripts
sudo curl -fsSL https://raw.githubusercontent.com/gagarinyury/claude-code-root-runner/main/claude-plus.sh -o /usr/local/bin/claude+
sudo curl -fsSL https://raw.githubusercontent.com/gagarinyury/claude-code-root-runner/main/claude-workspace.sh -o /usr/local/bin/claudew

# Make executable
sudo chmod +x /usr/local/bin/claude+ /usr/local/bin/claudew

πŸš€ Usage

Mode 1: Current Directory (`claude+`)

Works in your current directory - perfect for quick tasks and server administration.

# Basic usage
claude+ "check system status and running services"

# File operations in current directory
claude+ "create a backup script for important configs"

# System administration
claude+ "analyze nginx logs and suggest optimizations"

Mode 2: Workspace Selection (`claudew`)

Prompts you to choose or create a working directory - ideal for projects.

# Interactive workspace selection
claudew "create a new web application"
# Will prompt: Enter workspace directory pa