Codespace Manager for Openclaw

A powerful tool for deploying and managing isolated browser-based VS Code environments powered by Docker and Cloudflare.

lanbasara
v1.0.0
Feb 25, 2026
0
1.4k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install codespace-manager

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 codespace-manager 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 Codespace Manager?

Codespace Manager provides a streamlined workflow for spinning up remote development environments that mirror the experience of GitHub Codespaces. By leveraging Docker for isolation and Cloudflare Tunnel for secure, zero-config access, this skill allows developers to launch a full code-server instance in seconds. It is a vital addition to the Openclaw Skills ecosystem for anyone needing consistent, disposable, and accessible coding workspaces.

The environments come pre-configured with modern development runtimes including Bun for JavaScript/TypeScript and uv for Python, alongside the OpenCode AI coding assistant. This ensures that every new workspace is ready for high-productivity development immediately upon launch.

Codespace Manager Use Cases

  • Rapidly deploying a remote VS Code environment for testing, debugging, or full-scale development.
  • Setting up isolated project workspaces with pre-installed modern tools like Bun and uv.
  • Sharing a live development environment through secure Cloudflare Tunnels for collaboration or demonstrations.
  • Managing multiple distinct project environments from a single unified CLI interface.
  • Automating the initialization of AI-ready projects with pre-configured OpenCode integration.

How Codespace Manager Works

  1. The user initiates a setup command to build the base Docker image containing code-server and essential dev tools.
  2. A new codespace is created as an isolated Docker container, with the option to automatically clone a git repository.
  3. The skill configures project persistence on the host machine to ensure files remain safe across container restarts.
  4. Upon starting, the skill establishes a Cloudflare Quick Tunnel to provide a secure HTTPS URL for browser-based IDE access.
  5. Developers interact with the remote IDE through any web browser and can manage the lifecycle (stop, restart, or delete) via simple commands.

Codespace Manager Setup

To begin using this skill within the Openclaw Skills framework, you must first build the base Docker image:

bash scripts/codespace.sh setup

Ensure that Docker, cloudflared, and jq are installed on your host system before running the setup script. Once the image is built, you can create your first environment using codespace create <name>.

Codespace Manager Data Schema & Taxonomy

The skill organizes data primarily on the host filesystem to ensure persistence and easy management:

Component Detail
Project Files Persisted at ~/codespaces/<name>/project on the host
Docker Image Uses codespace-manager:latest as the base image
Network Uses deterministic ports (9000-9999) mapped to Cloudflare Tunnels
AI Config opencode.json is generated in the project root for AI-enabled environments
Persistence Only the project directory persists; system-level container changes are ephemeral

Codespace Manager Advanced Features

  • Automatic Git repository cloning and environment initialization in a single command.
  • Native OpenCode integration for immediate access to AI-driven development capabilities.
  • Flexible password management supporting global defaults or per-session overrides.
  • Automated Cloudflare Tunnel generation for zero-firewall remote access.
  • Detailed logging and status monitoring for all running development containers.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*