chen0416ccc-cpu/codex-windows-fast-patch-skill

此skills用于指导智能体在 Windows 上恢复 Codex Desktop 升级后失效的本地补丁和能力开关。(Computer Use,插件,破限,codex强制汉化,fast mode,手机远控,会话消失等问题)支持每次使用前自动将skills更新到最新版。/These skills are designed to guide the agent in restoring local patches and feature toggles that have been disabled or invalidated following a Codex Desktop upgrade on Windows. Supports auto-updating translations.

What it solves

This project provides a set of automated repair tools and scripts to fix common functional failures in the Windows version of Codex Desktop after updates. It specifically addresses issues where advanced features—such as Fast Mode, specific AI models, plugin markets, built-in browsers, and Computer Use capabilities—become disabled, hidden, or broken due to software updates or configuration drift.

How it works

The project is implemented as an "Agent Skill," allowing AI agents to execute a series of PowerShell and JavaScript scripts to patch the application. It works by:

  • MSIX/ASAR Patching: Modifying the application's package structure and Electron ASAR bundles to re-enable hidden features or fix logic errors.
  • Helper Management: Installing and patching specific version-locked helpers (like @oai/sky) to fix Computer Use bugs, such as screenshot deadlocks on Windows 10 or execution context errors.
  • Configuration Syncing: Aligning local session metadata and provider history to restore missing chat sessions after changing API configurations.
  • Native Replacements: Building patched versions of native components (e.g., for mobile remote control) using Rust when standard patches are insufficient.
  • State Management: Providing backup and restore functionality for critical Codex configurations, skills, and plugin markets.

Who it’s for

Windows users of Codex Desktop who encounter broken features after an update, specifically those using third-party API providers or those needing advanced automation capabilities like Computer Use and browser control.

Highlights

  • Comprehensive Fixes: Resolves issues with Fast Mode, language settings, plugin installation, and mobile remote control.
  • Computer Use Optimization: Fixes specific Windows 10 screenshot errors and node_repl context losses.
  • Automated Workflow: Designed to be used by AI agents to diagnose and apply the correct patch based on the machine's current state.
  • Safe Recovery: Includes built-in backup and restore scripts for config.toml and other critical state files.
  • Version-Aware: Uses precise file hashes to ensure patches are only applied to compatible versions, preventing system instability.

Related

  • Project
  • Project
  • Project
  • Project
  • Dispatch