npx skills add ...
npx skills add ifuryst/open-codex-computer-use --skill open-computer-use
Platform-neutral guidance for using Open Computer Use, the open-source Computer Use MCP server and CLI for macOS, Linux, and Windows. Use when an agent needs to install, verify, troubleshoot, configure, or operate Open Computer Use through its native CLI, stdio MCP server, or direct Computer Use tool calls.
npx skills add ifuryst/open-codex-computer-use --skill open-computer-use
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.
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.open-computer-use / ocu CLI or an explicit MCP config.get_app_state before using element_index; do not guess indexes across sessions or after large UI changes.set_value for editable controls. Use coordinate click, scroll, and drag only when the element tree does not expose a safer target.OPEN_COMPUTER_USE_ALLOW_GLOBAL_POINTER_FALLBACKS=1 unless the user explicitly requested click_method: "global", a drag that must drive a window-server drag session (window move, drag-select text, Finder drag-and-drop), or other diagnostic behavior that may move the real pointer. Without it drag reports Drag delivered via app_post and those operations have no effect; see references/usage.md for alternatives.For a short sequence that reuses state in one process:
For runtimes that can launch local MCP servers over stdio, use:
Read references/usage.md for JSON config examples, direct tool-call patterns, and platform notes.
open-computer-use call --calls '[
{"tool":"get_app_state","args":{"app":"TextEdit"}},
{"tool":"press_key","args":{"app":"TextEdit","key":"Return"}}
]'[mcp_servers.open_computer_use]
command = "open-computer-use"
args = ["mcp"]