这个牛逼,把codex 的computer use 能力赋予给其他harness.
实测在我自己的xharness 里也可以使用codex 的computer use 了,速度和准确率的确要比cua-driver的要好用。
原帖是在claude code里使用codex的computer use, 提示词:
```
"Set up Codex's computer use as an MCP server for you on my Mac. Find the "cua_repl" entry in ~/.codex/plugins/cache/openai-bundled/unified-computer-use/<newest version>/.mcp.json and register it as a user MCP server called "codex-cu" with the same command, args and env. Then test it by using Calculator in the background to work out 12 × 12."
```
everyone thinks codex computer use only works inside codex
it doesn't, it's a local mcp server in the chatgpt mac app and claude code can just call it, even headless with claude -p
same 8-task test: opus 5.5 on codex's engine got 6/8, codex itself got 6/8, cua driver got 3-4/8 at 4x the cost
cua's background mode on mac only goes through accessibility, so canvases and drags just don't land
codex's engine sends real clicks and drags to the app without touching my cursor
no hover though, and it's unofficial, so enjoy it until a chatgpt update breaks it
give this to your claude:
"Set up Codex's computer use as an MCP server for you on my Mac. Find the "cua_repl" entry in ~/.codex/plugins/cache/openai-bundled/unified-computer-use/<newest version>/.mcp.json and register it as a user MCP server called "codex-cu" with the same command, args and env. Then test it by using Calculator in the background to work out 12 × 12."