Agent skill for managing cloud development sandboxes with cloudrouter. Gives your AI coding agent the ability to create, sync, and access remote VMs with built-in browser automation via Chrome CDP.
npx skills add karlorz/cloudrouterOr install for a specific agent:
npx skills add karlorz/cloudrouter -a claude-code
npx skills add karlorz/cloudrouter -a cursorIf you cloned this repo, you can install/uninstall the skill directly:
| Command | Description |
|---|---|
make install |
Install cloudrouter skill to ~/.claude/skills/cloudrouter/ |
make uninstall |
Remove cloudrouter skill from ~/.claude/skills/cloudrouter/ |
You need the cloudrouter CLI installed:
npm install -g @karlorz/cloudrouterThis installs both cloudrouter and cr (shorthand) as CLI commands.
Then authenticate:
cloudrouter loginOnce installed, your AI coding agent gains the ability to:
cloudrouter start . # Create sandbox from current directory
cloudrouter start ./my-project # Create sandbox from a specific directory
cloudrouter start --git user/repo # Clone a git repo into sandbox
cloudrouter start --docker # Create sandbox with Docker supportcloudrouter code <id> # Open VS Code in browser
cloudrouter vnc <id> # Open VNC desktop in browser
cloudrouter pty <id> # Interactive terminal session
cloudrouter exec <id> <command> # Run a one-off commandcloudrouter upload <id> ./my-project # Push local files to sandbox
cloudrouter download <id> ./output # Pull files from sandbox
cloudrouter upload <id> . --watch # Watch and re-upload on changescloudrouter computer open <id> <url> # Navigate to URL
cloudrouter computer snapshot <id> # Get accessibility tree (@e1, @e2...)
cloudrouter computer screenshot <id> out.png # Take screenshot
cloudrouter computer click <id> @e1 # Click element
cloudrouter computer fill <id> @e2 "value" # Fill input
cloudrouter computer type <id> "text" # Type into focused element
cloudrouter computer press <id> Enter # Press keycloudrouter ls # List all sandboxes
cloudrouter status <id> # Show sandbox details
cloudrouter stop <id> # Stop sandbox
cloudrouter delete <id> # Delete sandbox permanently
cloudrouter extend <id> # Extend sandbox timeoutcloudrouter start ./my-project
cloudrouter code cr_abc123
cloudrouter pty cr_abc123 # npm install && npm run devcloudrouter computer open cr_abc123 "https://example.com/login"
cloudrouter computer snapshot cr_abc123
# @e1 [input] Email, @e2 [input] Password, @e3 [button] Sign In
cloudrouter computer fill cr_abc123 @e1 "user@example.com"
cloudrouter computer fill cr_abc123 @e2 "password123"
cloudrouter computer click cr_abc123 @e3
cloudrouter computer screenshot cr_abc123 result.pngcloudrouter computer open cr_abc123 "https://example.com/data"
cloudrouter computer snapshot cr_abc123
cloudrouter computer screenshot cr_abc123- Use
--jsonflag for machine-readable output - Use
-t <team>to override default team - Use
-vfor verbose output - Always run
snapshotbefore interacting with elements - Prefer element refs (
@e1) over CSS selectors for reliability - Sandbox IDs look like
cr_abc12345-- get them fromcloudrouter ls
The cloudrouter CLI source code lives in packages/cloudrouter in the karlorz/manaflow repo. If you find it useful, give it a ⭐!
MIT