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.
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.
npx skills add trycua/cua --skill cua-sandboxesgit clone --depth 1 https://github.com/trycua/cuaWrote 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.
[](https://agentmods.dev/skills/trycua/cua/cua-sandboxes)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
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.
- 1mo ago Changed · +2 lines e952a8590a49
- 1mo ago Changed · -5 lines · -4 tokens per session f796ac48b73e
- 1mo ago First seen · 140 lines · 98 tokens per session scan A 792be84be21c
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.
cua-sandboxes compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cua-sandboxestrycua/cua | Skill | 33k | today | MIT | A | 94 | Claude Code, Codex |
| apple-containersickn33/agentic-awesome-skills | Skill | 51k | yesterday | MIT | A | 37 | Claude Code |
| peekabooopenclaw/Peekaboo | Skill | 5.6k | 8d ago | MIT | A | 37 | Claude Code, Codex |
| vellum-browser-usevellum-ai/vellum-assistant | Skill | 1.5k | 5d ago | MIT | A | 15 | Claude Code, Codex |
| apple-notesmateaix/mateclaw | Skill | 1.2k | 3d ago | Apache-2.0 | A | 17 | Claude Code, Codex |
| asc-app-create-uirorkai/app-store-connect-cli-skills | Skill | 1.2k | 7d ago | MIT | A | 39 | Claude Code |
| using-webctloaustegard/claude-skills | Skill | 421 | today | MIT | A | 44 | Claude Code |