codex-computer-use
用于修复 Windows 版 Codex Desktop 的 Computer Use、Any App 和 Chrome 控制问题。内置诊断流程,可自动修复插件缓存、native host、Profile 不匹配和 WindowsApps 受保护文件复制失败等典型故障。
An unofficial repair skill for OpenAI's Codex Desktop on Windows that diagnoses and fixes broken Computer Use and Chrome control features, covering corrupted caches, native messaging failures, Chrome profile mismatches, and permission issues.
This repository is a skill for OpenAI's Codex Desktop application on Windows, written to diagnose and fix a specific set of problems related to its Computer Use and Chrome control features. The README is in Chinese. The project was made by a community member, not by OpenAI, and is clearly labeled as an unofficial repair tool.
The problems it targets are cases where the Computer Use or Any App controls inside Codex Desktop appear in the interface but do not actually work. Common causes include a corrupted or missing plugin cache, a broken native messaging connection between Codex and the Chrome browser, a mismatch between the Chrome profile that Codex expects and the one where the extension is actually installed, and Windows permission issues when Codex is installed as a Store app that blocks certain file copy operations.
To install the skill, you clone this repository into a specific folder inside your user profile directory where Codex Desktop looks for skills. After restarting Codex, you can type a natural-language request asking it to check and fix the Computer Use and Chrome control problems, and Codex will follow the skill's diagnostic steps automatically. The skill checks the Codex package version, the local configuration file, the plugin cache, the native messaging manifest and registry entries, and whether the Chrome profile assignment is consistent before deciding what to fix.
For users who prefer running commands directly, the repository also includes PowerShell scripts you can execute manually. One script verifies the Computer Use setup without making changes, another runs the full repair, and a third handles Chrome control specifically. A separate flag on the Chrome repair script opens the extension installation page directly in the browser.
The skill avoids aggressive actions by default: it does not touch the protected WindowsApps folder, does not uninstall or reinstall Codex, and backs up the configuration file before modifying it. More invasive patching steps are available as a last resort only.
Where it fits
- Fix Codex Desktop's Computer Use feature when it appears in the interface but doesn't actually work on Windows.
- Repair the native messaging connection between Codex Desktop and Chrome when Chrome control is broken.
- Run a diagnostic check on your Codex setup to identify whether the issue is a corrupted cache, a profile mismatch, or a permission problem.
- Apply targeted repairs to Codex's plugin cache and Chrome extension settings without reinstalling Codex or touching protected system folders.