# cmux-cua

Drives real macOS apps from a cmux agent session: accessibility tree, screenshots, clicks, typing and scrolling. Runs only after the user explicitly asks for it.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 987 installs · ★ 28491
- Author: manaflow-ai
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/manaflow-ai/cmux/tree/HEAD/skills/cmux-cua/SKILL.md
- Updated: 2026-10-25
- HTML: https://affpapa.org/en/nevibecode/skills/cmux-cua

## What it does

The skill attaches a local computer-use engine to every agent session that cmux launches. The agent gets MCP tools under the `cmux-cua` namespace: reading the accessibility tree, taking screenshots, clicking, typing, scrolling and dragging. The engine ships inside a separate helper called **cmux Computer Use**, so macOS permissions are granted to that helper rather than to cmux itself. Screen Recording can be turned on without restarting cmux.

A direct request like `$cmux-cua` acts as the opt-in. If the Computer Use toggle is off, cmux turns the runtime on and opens onboarding. The first functional tool call from a current session also opens setup when permissions are missing. Setup never grants anything by itself — the user still completes each macOS permission step manually.

In Codex sessions launched by cmux, the native `computer_use` provider is disabled. Use only the namespaced `cmux-cua` tools, never Codex's built-in `computer` tool or a direct helper launch. The hard kill switch is `CMUX_COMPUTER_USE_MCP_DISABLED=1`. The skill attaches only to live cmux-launched sessions; hook-disabled and stale-socket sessions do not get it.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add manaflow-ai/cmux --skill cmux-cua -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/cmux-cua/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/cmux-cua/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add manaflow-ai/cmux --skill cmux-cua -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/cmux-cua/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add manaflow-ai/cmux --skill cmux-cua -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/cmux-cua/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install manaflow-ai/cmux cmux-cua
```

2. **Manually: put the files in place**
- File: `.github/skills/cmux-cua/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add manaflow-ai/cmux --skill cmux-cua -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/manaflow-ai/cmux --path skills/cmux-cua
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/cmux-cua/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add manaflow-ai/cmux --skill cmux-cua -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/manaflow-ai/cmux/tree/HEAD/skills/cmux-cua/SKILL.md

## When to use it
- read the accessibility tree of a macOS app
- click, type or scroll in a real application window
- capture a screenshot for the agent to analyze
- grant Accessibility and Screen Recording to the helper, not to cmux itself
- disable native Codex computer use inside cmux sessions

## Example prompts
- Open Safari via $cmux-cua and read the page accessibility tree.
- Take a screenshot of the current window and tell me what it shows.
- Click the Save button in the app preferences.

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

From the same set: [manaflow-ai/cmux](https://affpapa.org/en/nevibecode/by/manaflow-ai/cmux.md) — 24 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
