# Send Codespace Manager to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "codespace-manager",
    "name": "Codespace Manager",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Lanbasara/codespace-manager",
    "canonicalUrl": "https://clawhub.ai/Lanbasara/codespace-manager",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/codespace-manager",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=codespace-manager",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/codespace.sh",
      "assets/Dockerfile.txt"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "codespace-manager",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T22:34:18.721Z",
      "expiresAt": "2026-05-08T22:34:18.721Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=codespace-manager",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=codespace-manager",
        "contentDisposition": "attachment; filename=\"codespace-manager-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "codespace-manager"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/codespace-manager"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/codespace-manager",
    "downloadUrl": "https://openagent3.xyz/downloads/codespace-manager",
    "agentUrl": "https://openagent3.xyz/skills/codespace-manager/agent",
    "manifestUrl": "https://openagent3.xyz/skills/codespace-manager/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/codespace-manager/agent.md"
  }
}
```
## Documentation

### Codespace Manager

Manage isolated code-server development environments, similar to GitHub Codespaces. Each codespace runs in its own Docker container with a full VS Code editor accessible via browser through Cloudflare Tunnel.

### Pre-installed Tools

The custom Docker image includes:

code-server (VS Code in browser)
Bun — JS/TS runtime + package manager
uv — Python package manager + virtual environments
OpenCode — AI coding assistant (CLI)
git, curl, wget, build-essential

### First-Time Setup

Before creating any codespace, build the Docker image once:

bash scripts/codespace.sh setup

This builds codespace-manager:latest from assets/Dockerfile.txt. Only needed once per host.

### Commands

Script location: scripts/codespace.sh (relative to this skill's directory)

# One-time image build
codespace setup

# Create codespace (optionally clone a repo and/or init OpenCode config)
codespace create <name>
codespace create <name> --git <repo-url>
codespace create <name> --opencode
codespace create <name> --git <repo-url> --opencode

# Lifecycle
codespace start <name>       # Start and get Cloudflare Tunnel URL
codespace stop <name>        # Stop container and tunnel
codespace restart <name>     # Stop then start (new URL)
codespace delete <name>      # Remove container + data (irreversible!)

# Info
codespace list               # List all codespaces with status
codespace status <name>      # Detailed status of one codespace
codespace logs <name>        # View container logs
codespace url <name>         # Regenerate tunnel URL

# Config
codespace password <pass>    # Set default password for new codespaces

### Password Management

Default password: codespace
Set a custom default: codespace password <your-password>
Override per-session via environment: CODESPACE_PASSWORD=mypass codespace create foo
Each codespace saves its password at creation time

### Natural Language → Command Mapping

User saysCommand"create a codespace called myapp"codespace create myapp"create a codespace with opencode"codespace create <name> --opencode"set up a dev environment for this repo"codespace create <name> --git <url> --opencode"start / launch / open myapp"codespace start myapp"stop / shut down myapp"codespace stop myapp"delete / remove myapp"codespace delete myapp (confirm with user first!)"list my codespaces" / "show environments"codespace list"get the URL for myapp"codespace url myapp"set password to xyz"codespace password xyz"create a python project"codespace create <name> --opencode (uv is pre-installed)"create a node/bun project"codespace create <name> --opencode (bun is pre-installed)

### Architecture

Each codespace = isolated Docker container (codespace-manager:latest)
Project files persist at ~/codespaces/<name>/project on the host
Exposed via Cloudflare Quick Tunnel (free, auto HTTPS, temporary URL)
Each codespace gets a deterministic port (9000-9999, based on name hash)

### Important Notes

Run codespace setup before first use — it builds the Docker image
Quick Tunnel URLs are temporary — they change on restart
codespace delete is irreversible — confirm with user before executing
Container data (outside /home/coder/project) does not persist across delete/recreate
Requires: Docker, cloudflared, jq installed on the host

### OpenCode Config

When --opencode is used, a opencode.json is created in the project root with:

{
  "$schema": "https://opencode.ai/config.json",
  "model": "anthropic/claude-sonnet-4-5",
  "autoupdate": true
}

Users can edit this file in code-server to change the model or add provider keys.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Lanbasara
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-01T22:34:18.721Z
- Expires at: 2026-05-08T22:34:18.721Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/codespace-manager)
- [Send to Agent page](https://openagent3.xyz/skills/codespace-manager/agent)
- [JSON manifest](https://openagent3.xyz/skills/codespace-manager/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/codespace-manager/agent.md)
- [Download page](https://openagent3.xyz/downloads/codespace-manager)