Skip to content
Back to skills

Root Mode

ASecurity

Luma Debian Root Chroot environment and Android host tools.

  • 17 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 15, 2026
developmentshell

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 15, 2026

npx -y skills add modao7067/luma --skill root-mode --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Root Mode?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Root Mode
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modao7067-root-mode/badge)](https://www.skillsdirectory.com/skills/modao7067-root-mode)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: luma-environment
description: Luma Debian Root Chroot environment and Android host tools.
---

# Luma Root Chroot Environment

Running inside a Debian Root Chroot on Android ARM64 (switched to real kernel `uid=0` root privileges, no longer under PRoot). Check `/etc/os-release` for the distribution version.

- `/workspace`: private workspace; `/root`: home directory. Install Linux packages with `apt`, `npm`, or `pnpm`.
- `/sdcard`: Android shared storage (`/storage/emulated/0`).
- Processes have real root privileges (can bind privileged ports, use system capabilities, and manage the Linux environment).

# Android Host and Native Tools

- `android-sh [command]`: enter the host Android root mount namespace via `nsenter` to run Android commands as root (e.g., `pm`, `am`, `dumpsys`, `input`, `screencap`); omit arguments to open a host shell. The host view does not have `/workspace`; see `/opt/luma/host-paths.json` for corresponding host paths, or use `/sdcard`.
- `adb-shell <command>`, `adb-shell -c "<script>"`: in Root mode, automatically forwards to `android-sh` as host root without depending on Shizuku.
- `android-run /workspace/program [args]`: run ARM64/Bionic dynamic ELF binaries on the Android host (Bionic `linker64`) as root, automatically mapping `/workspace`, `/opt/luma`, `/root`, and `/tmp`. Run Debian/glibc programs directly without this tool.
- `luma-compute-check --cpu`, `--gpu`, `--list`: run native CPU/Vulkan compute checks and enumerate GPUs on the host via `android-sh`.
- `luma-browser --help`: control the session-bound built-in browser (web interaction, local previews, screenshots). Read `/opt/luma/agent/skills/luma-browser/SKILL.md` before first use.

Note: `lumactl` is only for background service management in PRoot mode; in Root Chroot, background services can be started directly.

Files in this skill

  • AGENTS.md735 B
  • SKILL.md1.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.