codespace-manager
Create, manage, and access isolated cloud development environments (codespaces) powered by code-server, Docker, and Cloudflare Tunnel. Pre-installed with Bun, uv, and OpenCode. Use when the user wants to (1) create a new dev environment or codespace, (2) start/stop/restart/delete a codespace, (3) set up an isolated coding workspace, (4) launch a remote VS Code environment, (5) manage development containers, (6) open a browser-based IDE, or mentions codespace, code-server, remote development, dev environment, or cloud IDE.
Why use this skill?
Efficiently create and manage isolated cloud development environments with VS Code, Bun, and uv using the OpenClaw codespace-manager skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/lanbasara/codespace-managerWhat This Skill Does
The codespace-manager skill provides a robust, isolated cloud development environment management system directly within OpenClaw. It leverages containerization via Docker, a browser-based VS Code experience using code-server, and secure public access via Cloudflare Tunnel. Designed for developers who want environment consistency, it comes pre-packaged with essential modern tools: Bun for high-performance JavaScript/TypeScript, uv for lightning-fast Python dependency management and environment handling, and the OpenCode CLI for AI-assisted development tasks.
Each codespace runs as an individual Docker container, ensuring that project dependencies remain isolated from the host machine and from each other. By abstracting away the complexities of networking and container lifecycle management, the skill allows you to spin up production-ready IDEs in seconds, whether you are experimenting with a new framework or working on a deep-dive repository.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/lanbasara/codespace-manager
Once installed, you must initialize the build environment once to pull the necessary dependencies and the core Docker image:
bash scripts/codespace.sh setup
This setup process ensures all binary dependencies, including code-server, are available for your future containers.
Use Cases
- Rapid Prototyping: Instantly create a clean environment with Bun or uv to test a proof-of-concept.
- Remote Pair Programming: Share a browser-based IDE link to collaborate with others securely.
- Consistent Development Environments: Ensure that every project has identical tools (
git,build-essential,OpenCode) regardless of the local hardware state. - Sandbox Testing: Perform potentially risky or heavy dependency installations inside a throwaway container that can be deleted entirely after use.
Example Prompts
- "Create a new codespace called project-x, include OpenCode, and clone this repository: https://github.com/example/repo.git"
- "I need to start my node project. Can you launch the 'web-app' codespace and give me the URL?"
- "List all my existing development environments and tell me which ones are currently running."
Tips & Limitations
- Safety First: The
deletecommand is irreversible and removes all data within the container. Always back up important code before deleting a workspace. - Resource Management: Since each codespace is a separate Docker container, be mindful of your system's memory and CPU usage if launching multiple large instances simultaneously.
- Security: While the default password is 'codespace', you should use the
codespace passwordcommand to set a unique, strong credential immediately after installation. - Tunneling: Cloudflare Tunnel creates a public URL to your environment; ensure you are not hosting sensitive production secrets within these containers without appropriate security measures.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-lanbasara-codespace-manager": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, network-access, code-execution