Skip to content
Skills Library
AI & agents · Automation

codex-computer-use

/codex-computer-use

Use the installed official OpenAI macOS Computer Use runtime from Pi to inspect native app accessibility state, capture screenshots, and perform background clicks, typing, and scrolling. Use when the user requests Codex Computer Use or background interaction with a native Mac app. Websites use a separately configured browser.

Licence
MIT
Last repository change
30.10.2026

Assessment and security

95/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content30 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
2
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 30.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 2 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/launch.mjs, scripts/session-approvals.mjs

What it does and when to use it

Use the installed official OpenAI macOS Computer Use runtime from Pi to inspect native app accessibility state, capture screenshots, and perform background clicks, typing, and scrolling. Use when the user requests Codex Computer Use or background interaction with a native Mac app. Websites use a separately configured browser.

Original author description

Use the installed official OpenAI macOS Computer Use runtime from Pi to inspect native app accessibility state, capture screenshots, and perform background clicks, typing, and scrolling. Use when the user requests Codex Computer Use or background interaction with a native Mac app. Websites use a separately configured browser.

How it works

  1. Start with one observation
  2. Operate from current state
  3. Consent
  4. Websites and limitations
Original SKILL.md headings · 61 lines, 609 words
SKILL.md preview
---
name: codex-computer-use
description: Use the installed official OpenAI macOS Computer Use runtime from Pi to inspect native app accessibility state, capture screenshots, and perform background clicks, typing, and scrolling. Use when the user requests Codex Computer Use or background interaction with a native Mac app. Websites use a separately configured browser.
license: MIT
compatibility: macOS, legitimately installed signed OpenAI Computer Use runtime, Node.js 22+, and a stdio MCP host with form elicitation support.
---

# Codex Computer Use

Use the `codex_computer_use` MCP server backed by this skill's `scripts/launch.mjs`. Discover the exact JavaScript execution and reset tool names exposed by the host; some hosts expose `codex_computer_use_js` and `codex_computer_use_js_reset` directly. This skill supplies instructions and a bridge, not its own desktop backend. The official signed runtime must already be installed and authenticated.

If the server is missing, explain the setup requirement. Do not install a desktop driver, modify native authentication or app policy, or substitute a foreground automation tool. For setup and consent details, read [references/integration.md](references/integration.md).

## Start with one observation

On the first invocation in a fresh or reset CUA session, execute exactly one entry call, optionally assigning its result. Do not include another API call, logging, waiting, or a snapshot in that invocation. Read the documentation and initial state returned by the tool before continuing.

For an app named by the user, use its name or bundle ID:

```javascript
var app = await cua.getApp("<bundle-id>");
```

For an inventory:

```javascript
await cua.getState();
```

These are alternatives. Never run both in the first invocation. Use only APIs documented by the installed runtime. Do not invent methods from another automation library.

## Operate from current state

Read the current accessibility state before choosing action targets. Prefer element identifiers from that state, and observe again after an action before choosing the next target. Use screenshot coordinates only when necessary and supported by the returned API documentation.

The following are individual examples to check against the runtime's returned documentation, not a sequence to execute blindly:

```javascript
await app.getAXState();
await app.getAXStateAndScreenshot();
await app.click(42);
await app.setValue(42, "example");
await app.typeText("example");
await app.pressKey("super+w");
await app.scroll(42, "down", 1);
```

Prefer background accessibility operations. Do not activate apps, move the physical mouse, or switch to foreground automation as a fallback. If an app does not expose the needed state or action, report the specific obstruction.

Confirm the active window or document title before closing a tab or applying document-specific changes. A background document may not be reachable through the exposed window API. Stop and inspect save prompts or unexpected dialogs. Newlines in typed text can submit forms or send messages; follow the user's authorization and the observed UI state.

Report success only after observing the requested result. A launch, file-open request, or tool call completing is not by itself proof of the app's final state.

## Consent

Let the host present genuine app-access forms. The bridge caches accepted forms by app, risk level, and warning. Default acceptance uses `always` only if the runtime offers it; explicit `session` stays within this connection. High and critical risk never persist. `CUA_ALWAYS_ALLOW=off` disables persistent grant reads and writes.

Persistent records live in local user state, by default `$HOME/.local/state/codex-computer-use/approved.json`. Never claim that grants exist only in memory. Changed risk or warning asks again for normal grants. The `allow` CLI command is broader explicit local preauthorization, not an answer to a runtime consent prompt; do not invoke it merely to avoid asking the user.

Declines, cancellations, and unrelated forms do not grant access. Native authentication and `getAppPolicy` remain enforced; cached consent cannot lift `denied` or `forbidden` policy. Revoking a local record cannot guarantee revocation of a grant already cached by the native service or the current connection.

## Websites and limitations

This launcher enables only the `computer` surface. Use a separately configured isolated browser for websites and web debugging. No browser tool or driver is bundled here.

Treat available windows, tabs, screenshots, input methods, and sandbox file access as runtime- and app-specific. Inspect returned documentation and current state instead of assuming support from another installation. Use ordinary authorized file tools outside the CUA sandbox when the task requires file editing.
Files in this package (4)
  • SKILL.md 5 KB
  • references/integration.md 4 KB
  • scripts/launch.mjs 4 KB
  • scripts/session-approvals.mjs 13 KB

Versions

RepositoryScoreLicence
This page · RUIIIOVO/codex-computer-use95MIT
starpia-forge/codex-delegate100MIT
PracticalSwan/agent-skills100MIT

Database snapshot: 13.11.2026 · package version f5d1e4d24726 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100host-computer-use
    Beta desktop control through the connected A0 CLI host. Use for the user's host/local computer screenshots, screen inspection, menus, native app UI, OS-level clicking, scrolling, typing, or checking computer_use_remote status. Use instead of linux-desktop for host/local machine…
  • 100computer-use
    Use Orca's computer-use CLI to inspect and operate local desktop app windows through accessibility trees, screenshots, and safe UI actions. Use for desktop app interaction: list apps/windows, get app state, read visible UI, click controls, type, press keys, scroll, drag, set…
  • 100computer-use
    Drives the GUI of a visible local app window through `orca computer`: accessibility tree, clicks, typing, menus, dialogs, and screenshots in native apps and external browser windows (Chrome, Edge, Safari) or webviews. Prefer a programmatic path (shell, filesystem, git, HTTP,…
  • 100computer-use
    Hand a GUI task on this Mac (click, type, read a window, move through an app) to Codex Computer Use, one bounded subtask at a time, and get back a result the runner has checked against what actually happened. Use when a task needs a desktop app driven or read and no API, CLI, or…
  • 100computer-use
    Drives the GUI of a visible local app window through `manta computer`: accessibility tree, clicks, typing, menus, dialogs, and screenshots in native apps and external browser windows (Chrome, Edge, Safari) or webviews. Prefer a programmatic path (shell, filesystem, git, HTTP,…
  • 90driving-agent-desktop
    Drive a macOS desktop through the agensis-cu computer-use tools — screenshot, click, type, key, scroll, launch_app — reliably and without disrupting a human. Use this whenever you are about to use computer-use or screen-control tools on a Mac, are working in an agent's own macOS…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.