Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides installing, configuring, and operating Open Computer Use's CLI and stdio MCP server on macOS, Linux, and Windows.
45% 100%+55 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 10 of 22 without it.
This test ran on v3. v6 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Open Computer Use exposes Computer Use as a local CLI and stdio MCP server. It is not Codex.app-specific; adapt the commands and MCP config to the agent runtime you are operating in.
The macOS runtime requires macOS 14.0 or later. Windows and Linux use their own platform runtimes and are not subject to this macOS minimum.
It supports the same core tool surface across macOS, Linux, and Windows:
list_apps, get_app_state, click, perform_secondary_action, scroll,
drag, type_text, press_key, and set_value.
The macOS runtime additionally implements select_text, which selects the given text inside a text
element or places the text cursor before / after it (selection: text, cursor_before,
cursor_after). Pass text exactly as it appears in the accessibility tree, plus prefix /
suffix when it is not unique; an ambiguous target fails closed instead of silently selecting the
first match. JavaScript exposes app.selectText(elementIndex, text, options?). Unreadable or mismatched range verification throws, including when full action read-back is off. Windows and Linux runtimes do not implement this tool yet.
macOS additionally exposes query: a targeted accessibility lookup that finds
controls by text and/or role without rendering a tree or taking a screenshot.
On macOS and Windows, list_windows lists a running app's windows with their window_id.
Pass an ID to get_app_state as window_id to read and act on that window.
See references/usage.md.
sw_vers -productVersion before invoking the CLI and require macOS 14.0 or later. On older versions, explain that the runtime cannot launch; do not recommend doctor or permission changes as a fix for binary incompatibility.open-computer-use -h or ocu -h. If installation or setup is missing, read references/installation.md.open-computer-use doctor before the first real GUI task. If permissions are missing, ask the user to approve Accessibility and Screen Recording in the onboarding UI.open-computer-use call list_apps.open-computer-use call get_app_state --args '{"app":"TextEdit"}'. The default state is usually enough for UI operation.get_app_state with text_limit: 1000 or text_limit: "max".get_app_state with a larger max_tree_nodes or max_tree_depth.element_index from the latest get_app_state result.open-computer-use call --calls '<json-array>' so one process can reuse the latest element index mapping.open-computer-use mcp or ocu mcp and call the exposed Computer Use tools directly. Read references/usage.md.ocu capabilities and then use one-shot ocu js or persistent ocu repl. Read references/usage.md.Next to this one in the catalogue, plus more from the same author.