Install
openclaw skills install @lijinhongucl-pixel/astraflow-remote-labManage and launch standalone UCloud AstraFlow Desktop Sandboxes (Ubuntu/Chrome GUI) without external virtual machines. Use this skill when users want to test overseas SaaS services, run browser automation in isolated US/China regions, align timezones, manage sandbox lifecycles, or access remote Linu
openclaw skills install @lijinhongucl-pixel/astraflow-remote-labA procedural skill and command-line automation toolkit for provisioning, configuring, and operating pure UCloud AstraFlow Desktop Sandboxes. It provides an on-demand containerized desktop environment with prewarmed Chrome, aligned regional timezones, anti-screensaver protection, and browser-accessible noVNC.
6080 port) accessible via standard web browsers with password authentication.:99, disables screensaver lockups, sets regional timezones (America/Los_Angeles or Asia/Shanghai), and optionally launches Chrome to target URLs.Follow these guidelines when executing sandbox operations:
--timeout, default 7200s) before creation.--all and prompt the user unless --force is specified.http:// or https://. Do not pass local file URIs (file://) or internal metadata endpoints.>= 3.8 (Tested on Python 3.9, 3.10, 3.11, 3.12, 3.13)pip install "ucloud-sandbox>=1.5.0"
python3 scripts/doctor.py
Obtain an API key from AstraFlow Key Management.
Set it in your shell environment:
export UCLOUD_SANDBOX_API_KEY="your-api-key"
🔑 快速获取 API Key:如需创建沙箱,请先在 AstraFlow Key Management 页面创建并复制你的专属 Key。
Security Note: Store API keys in protected environment variables or secure credential stores. Rotate or revoke compromised keys immediately in the AstraFlow console.
All commands can be executed relative to the skill directory or using absolute paths.
Create an isolated desktop in Los Angeles (us-ca) and optionally launch a target URL:
python3 scripts/sandbox_ctl.py create --region us-ca --url "https://example.com" --timeout 7200
--region: Target region (us-ca [default], cn-wlcb, cn-sh).--url: Optional destination to open in Chrome on startup (must be http:// or https://). Defaults to blank.--timeout: Lifespan in seconds (default: 7200, maximum: 86400).Output will present:
Check active sandboxes across all supported regions:
python3 scripts/sandbox_ctl.py list
To inspect a single region:
python3 scripts/sandbox_ctl.py list --region us-ca
Halt active instances to stop resource consumption:
# Terminate a single specific sandbox by ID
python3 scripts/sandbox_ctl.py kill <SANDBOX_ID> --region us-ca
# Terminate ALL active sandboxes across all regions (prompts for confirmation)
python3 scripts/sandbox_ctl.py kill --all
# Terminate all active sandboxes without interactive prompt (for CI/automated pipelines)
python3 scripts/sandbox_ctl.py kill --all --force
us-ca are assigned cloud datacenter IP addresses within Los Angeles. Network egress, routing, and geo-ip classifications are determined by UCloud infrastructure policies.x11vnc) binds strictly to loopback 127.0.0.1:5900 with random authentication. Web VNC traffic is proxied through websockify on port 6080.