cua-sandboxes

cua-sandboxes is a skill for Claude Code, Codex from trycua/cua. It costs 94 tokens per session (1,476 once invoked), scanned A, original, MIT.

Tools for creating disposable Linux or macOS computers, either locally or in the cloud, and running commands or browsing inside them. A disposable computer is isolated from the main machine and can be deleted after use.

In plain words
What is it for?
Use it to run code safely, test an application or website, operate a desktop interface, browse the web, or fill in a web form.
Why use it?
It provides a separate environment for code, applications, websites, and desktop tasks without changing the main computer. It also makes cleanup easier when the work is finished.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to run code safely, test an application or website, operate a desktop interface, browse the web, or fill in a web form.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/trycua/cua/cua-sandboxes
About the project

trycua/cua is a toolkit for building and testing AI agents that operate computers by seeing screens, clicking controls, and typing across operating systems and virtual machines. It serves agent developers, benchmark authors, and teams generating training data for computer-use models. Catalogue add-ons provide ways to operate Cua drivers and related agent workflows.

trycua/cua · 33,274 stars · on GitHub · cua.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add trycua/cua --skill cua-sandboxes
Clone the repo
git clone --depth 1 https://github.com/trycua/cua

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cua-sandboxes

README.md
[![agentmods](https://agentmods.dev/badge/skills/trycua/cua/cua-sandboxes/github.svg)](https://agentmods.dev/skills/trycua/cua/cua-sandboxes)
Your own site
<a href="https://agentmods.dev/skills/trycua/cua/cua-sandboxes"><img src="https://agentmods.dev/badge/skills/trycua/cua/cua-sandboxes/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cua-sandboxes

Your own site · 80×15
<a href="https://agentmods.dev/skills/trycua/cua/cua-sandboxes"><img src="https://agentmods.dev/badge/skills/trycua/cua/cua-sandboxes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,476 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.01476
Opus 5.5 $0.00038 $0.00590
Sonnet 5.5 $0.00019 $0.00295
Haiku 4.5 $0.00009 $0.00148

Measured 1mo ago against content hash e952a8590a49, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cua-sandboxes scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

libs/cua/skills/cua-sandboxes/SKILL.md · 137 lines

How it starts

The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.

cua sandboxes

A sandbox is a disposable computer: a container or VM on this machine. The cua CLI and the cua SDK (Python, TypeScript, Swift, Kotlin, Rust) share one runtime and one list of sandboxes.

Before you start

cua --version            # the Rust cua CLI
cua config get default.on   # where sandboxes run without --on (local unless changed)
cua runtime doctor       # local runtimes (containers, gVisor, QEMU, Lume); read-only

Local sandboxes need no account. Delete them when you are done.

Create

cua sb create linux --name dev                 # local (default): a gVisor container
cua sb create linux --kind vm --name dev       # local Linux VM (QEMU)
cua sb create macos --name mac                 # local macOS VM (Apple silicon, Lume)
cua sb create ghcr.io/org/image:tag --name x   # any OCI image
cua sb create --on direct:127.0.0.1:3211 --token TOKEN --name mine   # an existing machine running cua-spacesd

--on is where (local, direct:<addr>), --kind what (auto, container, vm), --runtime which engine (auto, gvisor, runc, qemu, lume). An impossible combination fails with invalid placement and lists the valid values. Local runtimes are set up on first use (cua runtime setup does it explicitly). Omit --name for a generated name. cua sb ls prints each sandbox's ref (local:dev, direct:host:port); every NAME argument takes a ref or a bare name that is unique across locations (--local narrows it). Add --json to any command for machine-readable output. exec, shell, cp, screenshots and GUI control go through cua-spacesd, so use an image that ships it (the linux alias does). Plain images still get lifecycle, logs and port-forward.

Use

cua sb ls                          # every location (--local filters)
cua sb exec dev -- uname -a        # run a command
cua sb shell dev                   # interactive shell
cua sb screenshot dev              # save a screenshot
cua sb vnc dev                     # open the desktop in a browser

Read the full file on GitHub · 137 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 lines e952a8590a49
  2. 1mo ago Changed · -5 lines · -4 tokens per session f796ac48b73e
  3. 1mo ago First seen · 140 lines · 98 tokens per session scan A 792be84be21c

Subscribe to this mod's changes

cua-sandboxes is a skill published in the GitHub repository trycua/cua (33,274 stars, last pushed today), licensed MIT. It adds 94 tokens to every session and 1,476 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-02.

Related

cua-sandboxes compared with skills from other repositories

cua-sandboxes next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cua-sandboxestrycua/cuaSkill33ktodayMITA94Claude Code, Codex
apple-containersickn33/agentic-awesome-skillsSkill51kyesterdayMITA37Claude Code
peekabooopenclaw/PeekabooSkill5.6k8d agoMITA37Claude Code, Codex
vellum-browser-usevellum-ai/vellum-assistantSkill1.5k5d agoMITA15Claude Code, Codex
apple-notesmateaix/mateclawSkill1.2k3d agoApache-2.0A17Claude Code, Codex
asc-app-create-uirorkai/app-store-connect-cli-skillsSkill1.2k7d agoMITA39Claude Code
using-webctloaustegard/claude-skillsSkill421todayMITA44Claude Code