SkillAgentSearch skills...

codex-cu

Control the user's signed-in Brave browser and Mac apps from Claude Code through Codex Computer Use (the codex-cu MCP tools)

Install / Use

npx skills add davidondrej/skills --skill codex-cu

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

82/100

Supported Platforms

Claude Code
OpenAI Codex

Our assessment of codex-cu

codex-cu scores 82/100 on our quality scale, 704th of 956 AI & Machine Learning skills we index.

Its SKILL.md is 3.5 KB long, split into 5 sections and no code examples: a solid amount of guidance for an agent.

With 4,079 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
26/30
Structure
11/20
Description
15/15
Adoption
15/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated about 2 months ago, so codex-cu is actively maintained.
  • Our last check on 2026-11-27 found the source still online.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.

Automated pattern scan on 2026-11-26. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

codex-cu compared with similar skills

All 4 of these similar skills score higher than codex-cu; compare them before choosing.

SkillScoreStarsUpdatedFormat
codex-cu (this skill)by davidondrej824.1k2mo agoSKILL.md
claude-memby thedotmack100120.2ktodayCLAUDE.md
Agent-Reachby Panniantong100115.4k3d agoCLAUDE.md
archifyby tt-a1i100101.0ktodayCLAUDE.md
Understand-Anythingby Egonex-AI10094.7k3d agoCLAUDE.md

Frequently asked questions

How do I install codex-cu?
Run npx skills add davidondrej/skills --skill codex-cu. The install tabs above show the steps for each supported agent.
Which AI agents does codex-cu work with?
It is written for Claude Code and OpenAI Codex, as a SKILL.md file. Other agents that read the same format can often use it too.
Is codex-cu safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is codex-cu still maintained?
The repository was last updated about 2 months ago, so codex-cu is actively maintained.

name: codex-cu description: Control the user's signed-in Brave browser and Mac apps from Claude Code through Codex Computer Use (the codex-cu MCP tools). Use when a Claude Code task needs real browser or desktop UI work via codex-cu, or when codex-cu is missing or broken.

codex-cu

Claude Code's bridge to Codex Computer Use from the ChatGPT app. Claude Code only; Codex has its own native version.

Tools

  • mcp__codex-cu__js runs JavaScript with the cua API.
  • mcp__codex-cu__js_reset clears the JS session. Tabs and apps stay as they are.

If they are deferred, load them with ToolSearch select:mcp__codex-cu__js,mcp__codex-cu__js_reset.

Use

  1. Make the first call exactly one API call, nothing else. It returns the full API docs. Read them.
    await cua.getState();  // browsers, tabs, apps
    // or open a tab directly:
    let tab = await cua.createBrowserTab(browserId, url, { sessionName: "🔎 Task" });
    
  2. Take browser IDs from getState(); don't hardcode them. The user's browser is Brave with the Codex extension.
  3. Print text with nodeRepl.write(...). cua calls print their own output.
  4. Finish browser work within one reply. When your reply ends, the Stop hook ends the turn and closes tabs you opened.
    • tab.markDeliverable() keeps a tab the user should see.
    • tab.markHandoff() keeps a tab you will continue in a later turn.
  5. Site permission prompts are the user's call. Never approve them on the user's behalf.
  6. Don't run while a Codex agent drives the same browser.

How it works

Files live in <codex-cu-dir>/; its README has status and commands.

  • User MCP codex-cu in ~/.claude.json runs proxy.mjs with the ChatGPT app's node, in front of Codex's cua-repl.mjs.
  • The proxy adds _meta["x-codex-turn-metadata"] (session_id, turn_id) to every tool call. The browser side rejects calls without it.
  • It hides the internal turn_ended and js_add_node_module_dir tools.
  • It remembers the apps you allow in this Claude session and answers repeat "Allow Computer Use to use X?" prompts itself. Codex only remembers approvals for its own conversations.
  • It listens on ~/.claude/codex-cu/<claude pid>.sock.
  • stop-hook.sh, a Stop hook in ~/.claude/settings.json, walks up parent PIDs to that socket and sends turn_ended. The proxy calls the turn_ended tool, which releases this session's tabs, and starts a new turn_id.

Troubleshooting

  • No codex-cu tools: the session started before setup, or the entry is gone. Check jq '.mcpServers["codex-cu"]' ~/.claude.json, then start a new session.
  • "Missing required Codex turn metadata": the entry bypasses the proxy. Its args must start with the path to proxy.mjs.
  • Broken after a ChatGPT app update: re-register from the newest plugin version. If the folder is missing, ask the user to restart the ChatGPT app.
    d=$(ls -d ~/.codex/plugins/cache/openai-bundled/unified-computer-use/*/ | sort -V | tail -1)
    json=$(jq -c --arg proxy "<codex-cu-dir>/proxy.mjs" '.mcpServers.cua_repl | {type:"stdio", command, args: ([$proxy, .command] + .args), env}' "$d/.mcp.json")
    claude mcp remove codex-cu -s user && claude mcp add-json codex-cu "$json" -s user
    
  • Tabs never close: the Stop hook is missing from ~/.claude/settings.json.
  • Test without a new session. This runs the js, fires the Stop hook, and shows the turn_id before and after:
    cd <codex-cu-dir> && /Applications/ChatGPT.app/Contents/Resources/cua_node/bin/node test-client.mjs run 'await cua.getState();'
    

Related Skills

View on GitHub
GitHub Stars4.1k
CategoryAI
Updated2mo ago
Forks601

Languages

Shell

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions
codex-cu — Claude Code Skill: Install & Safety Check | SkillAgent