manaflow-ai/cmux/cmux-cua
Claude Code and agent skill by manaflow-ai/cmux
- community
Checking that the SKILL.md file is still in the repository.
Use only after the user explicitly asks for cmux Computer Use through the cmux-cua skill: drive real macOS apps from a cmux agent session via the bundled engine (accessibility tree + screenshots, click/type/scroll/drag, branded cursor), or explain its user-directed permission setup. Reading or discovering this skill is not consent.
Install
npx vskill@latest install manaflow-ai/cmux/cmux-cuaSKILL.md
The same SKILL.md was published earlier as manaflow-ai/cmux/cmux-cua.
cmux-cua
cmux bundles a local computer-use engine (packaged as cmux Computer Use with the MCP proxy named cmux-cua, from a pinned build of the manaflow-ai/cmux-cua fork) and attaches it as an MCP tool server named cmux-cua to every agent session cmux launches (Claude Code, Codex). The agent can then perceive and operate real macOS apps: read the accessibility tree, take screenshots, and click / type / scroll / drag.
Everything runs locally through the bundled cmux Computer Use helper. The helper has its own TCC identity, so Accessibility and Screen Recording never belong to the main cmux app and granting Screen Recording never requires restarting cmux. Upstream telemetry and update checks are disabled at runtime.
Do not invoke this skill, start its helper, request permissions, or perform a GUI action when the user is only reading, asking about, quoting, or mentioning cmux Computer Use. Wait for a direct user request to use cmux Computer Use; missing tools or permissions are not a reason to begin setup automatically.
How it attaches
- The
cmux-claude-wrapperandcmux-codex-wrapperinjectcmux-cuaas an
MCP proxy using mcp --socket <cmux-owned socket> plus cursor-branding and state-dir env. Codex launches the exact tag-installed helper executable as its authenticated approval broker; Claude uses the bundled native-profile proxy client. The Codex wrapper additionally passes --codex-computer-use-compat; the Claude wrapper deliberately does not. Attachment availability is not user consent: merely starting an agent or discovering this skill is not a request to use it, and it must not open a permission window or perform GUI work.
- In Codex sessions launched by cmux, the wrapper disables Codex's native
computer_use provider. When the user says $cmux-cua, use only the namespaced cmux-cua MCP tools below. Never substitute Codex's built-in computer tool, another CUA connector, or a direct helper launch. If the cmux-cua tools are absent or unavailable, report that they are unavailable and stop; do not silently switch providers.
ComputerUseRuntimeServiceis the only helper lifecycle owner. It installs
the nested helper under the tag-scoped ~/Library/Application Support/cmux/cmux-cua/helper/<scope>/ directory and launches that explicit app URL through LaunchServices.
- The native daemon uses the tag-scoped
/tmp/cmux-cua-<uid>/<scope>/cmux-cua.sock; the Codex compatibility daemon uses cmux-cua-codex.sock beside it. Both fit Darwin's Unix-socket path limit and share the tag-scoped cmux Application Support state directory.
- Neither wrapper installs global skills or adds skill directories by default.
Use the agent's normal skill installer for a persistent user-owned installation. Alternatively, CMUX_COMPUTER_USE_INSTALL_GLOBAL_SKILL=1 requests an app-managed global link for that launch (~/.agents/skills/cmux-cua for Codex or ~/.claude/skills/cmux-cua for Claude). Export the flag to retain these links on future launches; they may also appear outside cmux. Unset or =0 removes only verified app-managed links. Project and user-owned skills take precedence, with no competing global install or automatic fallback. Codex 0.153 does not discover new paths from skills.config; no Claude projection or plugin fallback is used. Migration of the canonical and legacy cmux-computer-use / codex-cua links requires an existing cmux bundle ID, known install/build root, and root/current-user ownership. Unknown or dangling targets, real skill directories, unrelated symlinks, and project paths are preserved. CMUX_CUA_DIAGNOSTICS=1 identifies preserved paths blocking explicit install and verified managed links retired by the per-launch policy. Historical app-created and manually-created symlinks with identical verified targets cannot be distinguished retroactively; recognized app-bundle links are treated as cmux-managed, while unknown and dangling links are preserved.
- While Computer Use is enabled, the helper daemon starts quietly at cmux
startup with its internal permission gate disabled. Starting cmux or an agent never requests access or shows onboarding.
- Wrappers are pure forced proxies. They never copy or launch the helper and
never fall back to in-process computer use. cmux owns the onboarding window and opens the permanent macOS permission panes directly; it does not ask the helper to raise an intermediate native prompt. The proxy keeps its external-flow flag on so the first driving call waits for both helper grants before it is forwarded.
- An explicit functional
$cmux-cuarequest is the opt-in: if the saved
Computer Use toggle is off, cmux enables the runtime and opens onboarding automatically. The hard kill switch is CMUX_COMPUTER_USE_MCP_DISABLED=1 (or managed policy); turning the Settings toggle off only stops automatic helper startup until the next explicit request.
- Attaches only on cmux-launched, live-socket sessions (same authority bar as
cmux hooks); hooks-disabled and stale-socket sessions do not attach.
Permissions (one-time, granted to the helper)
Two macOS permissions are required and are owned by cmux Computer Use, not the main cmux app:
- Accessibility — inspect and drive app UI (
AXIsProcessTrusted). - Screen Recording — screenshots / vision (
CGPreflightScreenCaptureAccess).
When the user has asked for cmux Computer Use through this skill, the first functional tool call from a current cmux agent session opens setup automatically if setup is required. Opening setup does not grant access: the user still completes each permission step. Skill loading, prompt text, MCP discovery, check_permissions, cmux startup, and agent resume never open setup. Settings → cmux Computer Use also opens setup through Finish Setup…, Grant…, or Open System Settings and shows the two authoritative permission states; choosing Grant… for an ungranted permission opens that same permission step and its draggable helper-app recovery path. Each Allow action opens the matching permanent System Settings pane in one step and stays labeled Allow until the helper reports the grant; pressing it again simply reopens the same pane. If macOS has not listed the helper yet, drag or add the cmux Computer Use app tile to the list, then turn it on. cmux reads status from the helper over its Unix socket, advances beside System Settings to the next missing permission, and shows completion in place once both are granted. On macOS Tahoe a third confirmation follows Screen Recording: the system's direct-capture consent, an alert that says cmux Computer Use "is attempting to bypass the system private window picker". That alert is expected — it comes from onboarding's host-authenticated capture probe, onboarding explains it in place, and the user must allow it before setup completes. Never "fix" it by suppressing the probe; without that consent, agent screenshots on Tahoe fail. The consent follows the helper's code signature, so every rebuilt (ad-hoc signed) dev helper can require the direct-capture step again: cmux invalidates its cached direct-capture-ready flag whenever it replaces the installed helper build. Helper replacement stays quiet until the next functional Computer Use request or a deliberate Settings action. Do not invoke check_permissions {prompt:true} or any standalone helper while this flow is active: that creates the stray native permission dialogs this onboarding deliberately avoids. The main cmux process never calls a TCC API or executes the cmux-cua binary.
An unconfigured proxy waits for setup before forwarding its protected call. If setup is not finished before the bounded wait ends, it returns “cmux Computer Use onboarding is still in progress. Finish setup in cmux, then retry.” Retries do not repeatedly reopen a dismissed setup window. Resume a dismissed flow with Finish Setup… in Settings, then retry the requested tool. Never attempt to grant consent by calling a setup/status tool.
A TCC prompt naming Codex Computer Use (com.openai.sky.CUAService) is not from cmux. The codex CLI ships its own computer-use helper; when codex runs inside a cmux terminal and pokes that helper with an Apple Event, macOS attributes the request to the responsible parent — the cmux app — so the dialog reads as cmux asking to control "Codex Computer Use". Nothing in cmux or the cmux-cua engine references that service; denying the prompt does not affect cmux computer use.
If actions fail with a permission error, grant Accessibility to cmux Computer Use. If screenshots come back blank, grant Screen Recording to cmux Computer Use. The helper daemon refreshes/restarts to pick up the grant while cmux stays open. Retry the tool call after onboarding reports both grants.
Using the tools (agent-facing)
cmux already owns the MCP connection's session identity. Do not call start_session / end_session, and do not pass a custom session argument. The proxy binds every call to the originating cmux surface so the menu-bar item, cursor, recording cleanup, and background/focus controls stay attached to the right agent.
Codex profile
Codex gets the exact ten-tool Computer Use roster, in order:
list_apps, get_app_state, click, perform_secondary_action, set_value, select_text, scroll, drag, press_key, type_text.
Use it like the built-in Computer Use connector:
- Call
get_app_statewith the app name, full path, or unambiguous bundle id
before acting. It launches the app if needed and returns the logical-size JPEG screenshot plus the compact accessibility tree.
- Prefer the current snapshot's string
element_index; use screenshot-local
x/y coordinates only as fallback.
- Use xdotool-style key strings such as
super+lwithpress_key. - Operate controls with visible pointer clicks by default: the branded
cursor gliding to each button and clicking is the product experience, so requests like “click 100 + 105” mean literal button-by-button pointer interaction on Calculator's buttons. Reserve type_text for entering text into text fields (search boxes, forms, editors) — not as a shortcut around clicking on-screen controls. Only fall back to a single keyboard sequence when the user explicitly asks for speed over visibility or a control has no clickable element.
- Actions return a compact dispatch acknowledgement, not a screenshot or
accessibility tree. After one or more actions, call get_app_state before deciding what to do next. The returned screenshot/tree is the authoritative verification surface, matching the built-in Computer Use connector.
- Numeric
element_indexvalues belong only to the state that displayed them.
Re-snapshot before using an index that may have been renumbered by a layout change (Calculator's All Clear removes display nodes, for example). Multiple coordinate actions against a stable layout may be issued in one host turn; do not batch element-index actions across a state-changing step.
Do not expect native cmux extensions such as get_window_state, tokens, perform_actions, cursor controls, diagnostics, recordings, or browser/CDP in this profile. Their absence is required for Codex schema parity.
Claude/native cmux profile
Perceive, act in logical groups, then verify:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cmux-cua/SKILL.md
Popularity
- Repository stars
- 27,405
- Repository forks
- 2,410
- 7-day trend score
- 51
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/manaflow-ai/cmux/cmux-cua)