cua

cua is a skill for Claude Code from SunflowersLwtech/sunkit. It costs 261 tokens per session (1,885 once invoked), scanned A, original, Apache-2.0.

A routing skill for operating graphical interfaces, including desktop apps, web browsers, dialogs, phones, and simulators. It sends each request to the more specific tool that can handle it.

In plain words
What is it for?
Opening pages, filling forms, taking screenshots, controlling desktop apps, automating browsers, installing phone apps, and checking mobile logs.
Why use it?
It avoids choosing and repeating different automation tools for each kind of screen-based task. It also directs tasks to an official API or command-line tool first when one is available.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cua plugin — 3 skills shipped together

Good fit Opening pages, filling forms, taking screenshots, controlling desktop apps, automating browsers, installing phone apps, and checking mobile logs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sunflowerslwtech/sunkit/cua
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 SunflowersLwtech/sunkit --skill cua
Clone the repo
git clone --depth 1 https://github.com/SunflowersLwtech/sunkit

Made for: Claude Code.

Or install cua, the plugin that ships this one along with the rest of its 3 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/sunflowerslwtech/sunkit/cua/github.svg)](https://agentmods.dev/skills/sunflowerslwtech/sunkit/cua)
Your own site
<a href="https://agentmods.dev/skills/sunflowerslwtech/sunkit/cua"><img src="https://agentmods.dev/badge/skills/sunflowerslwtech/sunkit/cua/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sunflowerslwtech/sunkit/cua"><img src="https://agentmods.dev/badge/skills/sunflowerslwtech/sunkit/cua.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 261 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,885 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00261 $0.01885
Opus 5.5 $0.00104 $0.00754
Sonnet 5.5 $0.00052 $0.00377
Haiku 4.5 $0.00026 $0.00188

Measured 19d ago against content hash 6c19e7c5b085, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cua scanned grade A with 1 finding 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 19d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

(「查一下这个接口返回什么」→ curl/xh), and not for terminal/worktree/agent
plugins/cua/skills/cua/SKILL.md · 80 lines

How it starts

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

CUA — 统一入口

唯一职责:把「操作界面」的请求指派给正确的成员 skill,然后退出。每条规则的细节、 失效模式、账号处理都在成员 skill 里,别在路由层重学一遍。

第 0 步:先查有没有官方 API。 任务落在某个外部服务上(读信或收验证码、查用量、 建 key、看审核状态……)时,先找官方 API / CLI / SDK 或现成的已授权接口,能用就 直接调。GUI 是最后手段,只有确实只能 GUI 的那一步才进下表。

路由表

任务形态 用哪个
公开网页取数据 不进 GUI——先 curl / xh 等 HTTP 手段;被反爬挡或必须 JS 渲染再回来
默认:打开网页、填表、截图、QA、已登录的站点、多账号并行 浏览器自动化 CLI(下方「第三方工具」:agent-browser 或 browser-harness)
Electron 应用(VS Code、Slack、Figma、Notion 等 Chromium 内壳)里的页面 同上,给 app 带 --remote-debugging-port 重启(见「通用边界」)
应用弹出的原生打开/保存面板、浏览器外的窗口与对话框、OS 级输入、不能抢焦点 / PID 定向输入 / Apple Events macos-harness(本插件带文档,CLI 见下方第三方表)
后台输入但要驱动回读验证(effect confirmed / refused)、跨 OS、VM/沙箱 fleet、轨迹录制 cua-driver(第三方,见下)
桌面应用走系统无障碍树,macOS / Windows / Linux 一套流程 agent-desktop(第三方,见下)
手机相关全部:安卓模拟器 / adb、iOS 模拟器、真机、云真机、投屏、按元素点击、中文输入、双指缩放、截图录屏、装包与日志、深链、移动端 QA phone-use(本插件)

macOS 桌面 App 里怎么选:页面内容在 Chromium 内核里 → CDP;窗口、菜单、原生面板、 跨 app → macos-harness(无障碍 + Apple Events);要驱动回读证据或轨迹录制 → cua-driver。

第三方工具(本插件不带,按上游安装)

工具 上游 / 许可 安装与接入
agent-browser vercel-labs/agent-browser,Apache-2.0 npm i -g agent-browser && agent-browser install;用法用 agent-browser skills get core 从 CLI 现取(内容随安装版本走,不会过期)
browser-harness browser-use/browser-harness,MIT 按上游 install.md 安装;它附在用户自己跑着的 Chrome/Chromium 上复用已登录会话,不另起实例、不克隆 profile
macos-harness browser-use/macos-harness,MIT uv tool install --python 3.12 --from git+https://github.com/browser-use/[email protected] macos-harness(钉在 v0.1.x:上游 v0.2.0 重写了接口,六动词只在 v0.1.x 有);本插件带的 macos-harness skill 是它的说明文档加本地新写的章节,出处见该目录的 UPSTREAM.md 与 LICENSE
agent-desktop vercel-labs/agent-desktop,Apache-2.0 按上游 README 安装;agent-desktop skills get platform 取当前平台的用法
cua-driver trycua/cua,MIT 按上游文档装 CLI 或 MCP server;随发行版分发的 skill 包不要手改

Read the full file on GitHub · 80 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. 19d ago First seen · 80 lines · 261 tokens per session scan A 6c19e7c5b085

Subscribe to this mod's changes

cua is a skill published in the GitHub repository SunflowersLwtech/sunkit (15 stars, last pushed yesterday), licensed Apache-2.0. It adds 261 tokens to every session and 1,885 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-12.

Related

cua compared with skills from other repositories

cua next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cuaSunflowersLwtech/sunkitSkill15yesterdayApache-2.0A261Claude Code
android-do-not-mockchromium/chromiumSkill25ktodayBSD-3-ClauseA96Claude Code, Codex
android-unit-testchromium/chromiumSkill25ktodayBSD-3-ClauseA36Claude Code, Codex
java-memory-leakschromium/chromiumSkill25ktodayBSD-3-ClauseA22Claude Code, Codex
android-test-batchingchromium/chromiumSkill25ktodayBSD-3-ClauseA60Claude Code, Codex
loadlinechromium/chromiumSkill25ktodayBSD-3-ClauseA47Claude Code, Codex
public-transitchromium/chromiumSkill25ktodayBSD-3-ClauseA53Claude Code, Codex