Devboxes for Openclaw

A comprehensive system for managing isolated development containers with integrated IDEs, graphical access, and automated web routing.

adshrc
v1.4.0
Mar 8, 2026
0
1k
39

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install devboxes

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install devboxes using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Devboxes?

Devboxes represent a powerful orchestration layer for creating temporary, secure, and fully-featured coding sandboxes. Designed to work seamlessly with Openclaw Skills, this tool allows users to spin up containers that include VSCode Web, noVNC for desktop access, and headless Chromium for automated browser interactions. Each devbox is an isolated environment where agents can write, test, and preview code without affecting the host system.

By leveraging sophisticated routing through Traefik or Cloudflare Tunnels, Devboxes provide unique URLs for each service. This enables developers and AI agents to collaborate in real-time within a consistent environment that supports up to five simultaneous application ports, private GitHub repository cloning, and custom project setup scripts.

Devboxes Use Cases

  • Creating isolated sandboxes for testing untrusted code or new libraries.
  • Providing AI agents with a complete environment for web development and debugging.
  • Setting up temporary remote IDEs for quick collaboration sessions.
  • Automating browser-based integration tests within a containerized lifecycle.
  • Managing multiple development environments with unique routing and DNS mapping.

How Devboxes Works

  1. The main agent reads and increments a persistent counter file to assign a unique DEVBOX_ID.
  2. A subagent is initialized using a specialized Docker image containing all necessary development tools.
  3. The subagent executes a initialization script that builds the environment variables and routing configuration.
  4. Core services such as Xvfb, VSCode Web, and Chromium start automatically upon container entry.
  5. Networking is established via Traefik dynamic configs or Cloudflare Tunnel API registration.
  6. The system generates and returns accessible URLs for the IDE, VNC, and application ports to the user.

Devboxes Setup

To get started with Devboxes in Openclaw Skills, follow these steps:

  1. Ensure the Docker socket is accessible within your container:
ls -l /var/run/docker.sock
  1. Initialize the devbox counter to track environment IDs:
echo "0" > /home/node/.openclaw/.devbox-counter
  1. Pull the required image:
docker pull ghcr.io/adshrc/openclaw-devbox:latest
  1. Follow the onboarding flow to configure your routing mode (Traefik or Cloudflare) and domain settings within openclaw.json.

Devboxes Data Schema & Taxonomy

The skill manages its state and configuration through a specific file hierarchy:

Path Description
/home/node/.openclaw/.devbox-counter Tracks the sequential ID for new devboxes.
/etc/devbox.env Stores dynamic environment variables for the current box.
/home/node/.openclaw/traefik Dynamic YAML configs for Traefik routing.
/etc/profile.d/devbox.sh Shell initialization script for environment persistence.

Devboxes Advanced Features

  • Automated routing for 5 distinct application ports per container.
  • Integrated Chromium with Chrome DevTools Protocol (CDP) on port 9222 for browser automation.
  • Support for custom project setup scripts via .openclaw/setup.sh inside repositories.
  • Dual routing backends supporting either local Traefik instances or global Cloudflare Tunnels.
  • Secure GitHub PAT integration for automated cloning of private projects.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*