Claude Code Root Runner β Development skill for Claude Code
π₯ 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
Related Skills
Architecture Claude Permission Bypass Removal Planning
Plan and review removal of Claude --dangerously-skip-permissions from autonomous automation paths without losi
Claude Code Extension Patcher
--dangerously-skip-permissions for Claude Code Extension
Harden Containers
Pin base images by digest, enforce non-root, and harden Dockerfiles
Ashlr Allow
Auto-approve every ashlr MCP tool so Claude Code stops prompting in bypass-permissions mode.
Maestro Guard
Manage editing boundary restrictions
Job Hunter Agent Phase 1
Phase 1 archive of a job-hunting dashboard I built entirely by prompting Claude, with no programming backgroun
Related Agents
Policy Agent
Creates secure Pundit authorization policies with comprehensive RSpec tests and scope restrictions. Use when a
File Upload
File Upload vulnerability specialist (H1 #39). Use for testing upload restrictions, content-type bypass, exten
FastAPI Async Debugger
Use this agent when debugging Python/FastAPI asynchronous applications running in Docker containers. This incl