Skip to content
Back to skills

Codex Browser

ASecurity

Use the installed Codex Browser Use (`node_repl`) and Computer Use (`cua_repl`) native runtimes for browser tabs and desktop applications.

  • 30 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 24, 2026
ai-agentsnodedocumentation

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add DeliciousBuding/codex-browser-bridge --skill codex-browser --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codex Browser?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Codex Browser
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/deliciousbuding-codex-browser/badge)](https://www.skillsdirectory.com/skills/deliciousbuding-codex-browser)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: codex-browser
description: Use the installed Codex Browser Use (`node_repl`) and Computer Use (`cua_repl`) native runtimes for browser tabs and desktop applications.
---

# Codex Browser and Computer Use

Tool prefixes depend on the MCP host. Use the selected service’s advertised names for `js`, `js_reset`, and, when available, `turn_ended`.

- **Browser Use (`node_repl`)**: Use the `codex-browser` MCP service. Run `codex-browser-bridge --mode discover` once if needed to read `browser_client_url` (`file:///...`), then bootstrap in `js` via `const { setupBrowserRuntime } = await import("<browser_client_url>"); const agent = await setupBrowserRuntime();` (never `import "browser-client"`, and never paste raw Windows backslashes into JS strings). Keep REPL handles in `const`/`let` bindings, never `globalThis`.
- **Browser selection order**: Follow the installed Codex convention—when the user names a browser, call `agent.browsers.get("iab" | "chrome" | "edge" | "dot" | "extension")` and do not fall back if unavailable; when a URL is known, call `agent.browsers.getForUrl(url)`; otherwise call `agent.browsers.getDefault()`. Reserve `agent.browsers.list()` for troubleshooting (`agent.documentation.get("bootstrap-troubleshooting")` / `get("chrome-troubleshooting")`). Read `browser.documentation()` once without truncation.
- **Computer Use (`cua_repl`)**: Use the `codex-computer` MCP service. This unified runtime can also operate browser tabs. On the first `js` call (and after `js_reset`), execute exactly one native entry call, optionally assigning its result. Use `cua.getState()` when you need inventory; use the matching tab, browser, URL, or window entry when the target is known. Read the returned documentation and initial state before further calls; see [entry selection](references/native-computer-use.md#computer-use-cua_repl).
- **Efficiency, approvals & lifecycle**: Batch independent actions inside one `js` cell when intermediate results are not needed. Present native elicitation/approval requests to the user and respect their decision. Observe after input and never replay an action with an unknown outcome. Send `js` with only `completion_summary` once the CUA outcome is observed, when the installed schema exposes it. If exposed, call `turn_ended` at the host's actual turn boundary; completion summaries and `js_reset` do not replace this hook.
- **Tabs**: Follow the selected browser's native cleanup documentation. Only mark deliverable or handoff tabs (`markDeliverable` / `markHandoff`); marks are turn-scoped and must be re-applied when needed in a later turn. Unmarked agent-created tabs close on turn end; claimed user tabs are released and left open. Existing persistent IAB/Dot tabs stay open unless explicitly closed.

See [native runtime setup](references/native-computer-use.md) for bootstrap, troubleshooting, and CLI batch usage.

Files in this skill

  • SKILL.md4.7 KB
  • references/cli.md4.2 KB
  • references/dom-input-capture.md4 KB
  • references/network-session.md2.4 KB
  • references/official-parity.md4.6 KB
  • references/recovery-safety.md1.7 KB
  • references/tabs-navigation.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.