huawei-cloud-devbox-sandbox
Installation
SKILL.md
Huawei Cloud DevBox Cloud Sandbox (CLI → JS SDK → Python SDK)
Create and operate isolated cloud Linux sandboxes through three official channels. Prefer the CLI for terminal and interactive work; use the SDKs when embedding sandbox operations into code — JS first for Node.js projects, Python for scripts and automation.
Overview
DevBox provides isolated cloud Linux sandboxes. Whatever runs your commands (CLI or SDK), the operations execute inside the sandbox; the local side only holds a control connection plus a per-sandbox data-plane credential.
The Three Channels
| Channel | Binary / package | Best for | Interactive terminal | Automation |
|---|---|---|---|---|
| CLI (use first) | devbox (Go, cobra) |
humans in a terminal, quick checks, one-off commands | ✅ built-in (sbx create/sbx cn) |
✅ (sbx ex, -f json) |
| JS SDK | devbox-js-sdk (ESM) |
Node.js / TypeScript applications | via pty API |
✅ |
| Python SDK | devbox-sdk (import devbox) |
scripts, CI glue, AI agents | via pty API |
✅ (AsyncSandbox) |
All three implement the same Manager REST API + EnvD data-plane protocol (CLI naming/flags are cobra-style; SDKs are snake_case / camelCase).