Skip to content
cccskills
FreePublished on GitHub

cua-spaces

Work in a local or remote computer environment whose screen you can watch. Run commands, transfer files, launch coding agents, move signed-in app sessions, and share the host computer’s network when needed.

OriginalShow the original description

Work inside cua Spaces through the cua MCP server. A Space is a remote or local computer the user can watch; you can run commands in it, move files in and out, show its desktop or a single window on the user's screen, start coding agents inside it, teleport a signed-in app session into it, and share the host's network with it. Use when the user mentions Spaces, asks you to do work "in a Space", or wants a task isolated but visible.

See how to install

Good for

  • Run tasks in an isolated environment you can watch
  • Transfer files into and out of a Space
  • Launch and monitor coding agents
  • Move a signed-in app session into a Space

Files included (1)

  • SKILL.md4.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

cua Spaces

Spaces are exposed as MCP tools by the cua MCP server (cua mcp). If the tools below are missing, ask the user to run cua agents setup or cua auth login.

Get a Space

ToolUse
list_spacesSee the Spaces you can use. Start here.
create_spaceA new Space: on = local (free, the user's machine), cloud (metered), or host:<name> (one of the user's machines set up with cua host setup); reuse: true returns a reachable one first.
add_space / remove_spaceRegister an existing machine by URL and token, or forget one without deleting it.
delete_spaceDelete a Space's sandbox and stop metering.
stop_space / start_spaceTurn a local Space (or one your machines provide) off and back on: suspended or stopped, as power in list_spaces says.

Prefer an existing Space. A cloud Space costs money: delete the ones you created when the task ends.

Work in it

ToolUse
space_bashRun a shell command (space, command, optional timeout).
space_writeWrite text to a file.
upload / downloadCopy files or folders in and out.
send_fileDrop a host file into the Space's Downloads (sha256 verified).
list_tools / call_toolReach MCP services running inside the Space.

Show it to the user

ToolUse
open_space_viewerOpen the full desktop viewer.
show_space_pip / hide_space_pipPicture-in-picture on the user's screen.
list_space_windows / stream_space_windowShow one window from the Space.
stream_endpointGet a ticketed media URL for the desktop or a window.

Agents, apps and network

ToolUse
agent_capabilitiesWhich agent harnesses the Space supports.
agent_startStart an agent run (space, agent, prompt).
agent_status / agent_message / agent_stop / agent_listFollow, steer and stop runs.
teleport_manifestPreview what moving an app session would copy.
teleport_appMove a signed-in app session (tabs, profile) into the Space.
hotspot_start / hotspot_status / hotspot_stopShare the host's network with a Space.

Set up a host over ssh (Tailscale or LAN)

To host Spaces on a machine you reach only over ssh (a spare Mac mini on the user's Tailscale, or the LAN):

  1. ssh into it (Tailscale is only the ssh transport, the same as any LAN or internet address).
  2. Run the install script non-interactively: curl -fsSL https://cua.ai/install.sh | sh -s -- -y --select spaces,host --no-onboarding.
  3. Sign in on the mini: cua auth login --remote prints a device code and a URL. Show both to the user and have them approve it (on another signed-in device or at the URL).
  4. cua host setup --profile spare --name "<name>" hosts Spaces only (no desktop sharing), through the cua.ai relay.
  5. Tell the user: the mini needs an active GUI login session (cua-spacesd runs as a LaunchAgent in the Aqua session, so it won't start at the login window; auto-login is recommended for a headless mini), and it needs a one-time grant of Screen Recording and Accessibility to cua-spacesd in System Settings.
  6. From the laptop: create_space(on="host:<name>", count=2), or cua spaces create macos:26 --on "<name>" --count 2.

host:<name> only resolves machines set up with cua host setup (they register with the relay). direct:<addr> attaches one Space that is already running at that address (add_space) and cannot host new ones.

Rules

  • Run teleport_manifest and tell the user what will move before teleport_app; sensitive items need their explicit acknowledgement.
  • Only start a hotspot when the Space needs the host's network (VPN, intranet), and stop it afterwards.
  • Name the Space you used in your answer.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

cua-driver

FreeSummary

Operate native apps on macOS, Windows, and Linux using identified controls, menu paths, or screen coordinates. Target a specific window, verify the result after each action, and consult available recent activity when resuming work.

  • Operate a specific app window
  • Click controls and enter text
  • Adjust window positions and sizes
trycua/cua30.2KUpdated Oct 19, 2026

cua-sandboxes

FreeSummary

Create disposable Linux or macOS computers for running code, testing apps, operating desktop interfaces, and browsing websites. Use isolated environments locally or in the Cua cloud, then delete them when the work is complete.

  • Run code in an isolated environment
  • Test an app or reproduce an issue
  • Fill web forms and capture page screenshots
trycua/cua30.2KUpdated Oct 19, 2026

cua-volume

FreeSummary

Save agent memory and outputs in Cua Volume, shared storage that persists beyond a Space, the working environment. Hand files to the user, read shared references, and check synchronization, version history, and conflicting edits.

  • Keep outputs after a working environment ends
  • Save agent memory for later work
  • Deliver files to the user
trycua/cua30.2KUpdated Oct 19, 2026

gui-automation

FreeSummary

Operate apps and websites by inspecting screenshots, clicking controls, typing, and dragging. Use it to fill forms, check layouts, and test complete user flows, with recorded actions available for replay and review.

  • Fill forms and use file upload dialogs
  • Test buttons and complete user flows
  • Check layouts and capture screenshots
trycua/cua30.2KUpdated Oct 19, 2026

jev-use

FreeSummary

Build a computer-control loop where Cua Driver observes and acts, while TypeSafe Jev chooses from predefined actions. Validate each choice, execute one action at a time, and verify the result before continuing.

  • Build a Jev integration for browser automation
  • Create action candidates for native desktop apps
  • Reject stale or unknown action choices
trycua/cua30.2KUpdated Oct 19, 2026

poll-github-work

FreeSummary

Review open GitHub issues, proposals, and pull requests to identify useful maintainer work. Get ranked candidates with evidence, dependencies, and validation needs, then begin work only on an item you explicitly select.

  • Choose the next maintenance task
  • Prioritize a backlog for the available work window
  • Find pull requests that need review
trycua/cua30.2KUpdated Oct 19, 2026

See all skills by trycua

Report a problem with this skill