
Codex Windows Fast Patch
Reapply the Windows Codex Desktop MSIX patch after Store upgrades so Fast Mode, plugins, locale, browser use, and Computer Use gates work again.
Install
npx skills add https://github.com/chen0416ccc-cpu/codex-windows-fast-patch-skill --skill codex-windows-fast-patchWhat is this skill?
- Windows-only workflow: Appx layout, ASAR integrity repair, makeappx, signtool, and reinstall patched Codex Desktop
- Restores Fast Mode request/UI gates and wire verification after Store upgrades
- Re-enables plugin UI gates and registers local marketplace openai-curated-local
- Chrome/browser_use and Windows Computer Use availability gates plus Goal command gates
- Covers locale i18n persistence, Connections auth loops, and SDK cleanup steps
Adoption & trust: 1 installs on skills.sh; 376 GitHub stars; 0/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
Recommended Skills
Journey fit
Operate is the canonical shelf because this skill maintains a production-like local agent environment after vendor updates break custom patches. Infra subphase matches MSIX repackaging, signing, install registration, and SDK cleanup—not feature coding in your app repo.
Common Questions / FAQ
Is Codex Windows Fast Patch safe to install?
skills.sh reports 0 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Codex Windows Fast Patch
# Codex Windows Fast Patch Use this skill when the user says Codex Desktop was upgraded and the Fast Mode / Plugins / Goal patch disappeared, asks to repatch Codex on Windows, asks to verify whether Fast Mode is really being sent, asks to restore/register the local plugin marketplace, or asks to enable Chrome browser use or Windows Computer Use in Codex Desktop. Also use it when the language/locale setting reverts after restart, browser or plugin entries are hidden by availability gates, the Computer Control settings page shows "Any App" / "任意应用" as disabled by organization or unavailable in the current region, or the Connections / Codex mobile remote-control setup flow drops into an auth error loop on Windows. ## Platform Compatibility This skill is Windows-only. It depends on the Windows Store/MSIX package layout, PowerShell, `Get-AppxPackage`, `makeappx.exe`, `signtool.exe`, Windows user environment variables, and Windows Computer Use helper paths. Do not run this skill on macOS. A macOS adaptation needs a separate workflow for the Codex `.app` bundle, ASAR extraction and repacking, macOS code signing or quarantine handling, shell scripts, and macOS-specific Computer Use availability. ## Self-Update Preflight Before doing substantive work with this skill, run the bundled self-update helper once, then reload this `SKILL.md` if it reports an update: ```powershell powershell -NoProfile -ExecutionPolicy Bypass -File "$env:USERPROFILE\.codex\skills\codex-windows-fast-patch\scripts\update-skill-from-github.ps1" ``` The helper checks `chen0416ccc-cpu/codex-windows-fast-patch-skill` on GitHub and synchronizes only the skill allowlist: `SKILL.md`, `agents`, `scripts`, `references`, and `assets`. 如果无法更新到最新版,则不要中断当前任务;继续使用本机已安装的当前版本完成工作,并在结果中说明未能更新。 If the normal workflow does not explain a restriction, plugin gate, Computer Use failure, or Codex mobile entry failure, read `references/restriction-debug-cases.md` before editing scripts or repatching. ## Config Backup Rule Before any action that can modify, regenerate, or overwrite `$env:USERPROFILE\.codex\config.toml`, create one timestamped backup of the current file for the task. This applies whether the agent uses bundled scripts, writes TOML manually, runs another helper, registers a marketplace, changes MCP servers, or repairs Computer Use. The bundled scripts already back up an existing `config.toml` once per script run before their first write. If not using those scripts, do the backup explicitly before touching the file: ```powershell $config = Join-Path $env:USERPROFILE '.codex\config.toml' if (Test-Path -LiteralPath $config -PathType Leaf) { $backupDir = Join-Path (Split-Path -Parent $config) 'backups\config' New-Item -ItemType Directory -Force -Path $backupDir | Out-Null $backup = Join-Path $backupDir ('config.toml.' + (Get-Date -Format 'yyyyMMdd-HHmmss-fff') + '.manual.bak') Copy-Item -LiteralPath $config -Destination $backup -Force Write-Host "config.toml backup before overwrite: $backup" } ``` Do not proceed with a config write if the backup of an existing config fails. After writing, validate TOML syntax with `tomllib` when Python is available. ## Default Workflow 1. If the task may modify `config.toml`, skills, marketplaces, or MCP server settings, create a state snapshot first: ```powershell powershell -NoProfile -ExecutionPolicy Bypass -File "$env:USERPROFILE\.codex\skills\codex-windows-fast-patch\scripts\manage-codex-backups.ps1" -Action Backup ``` 2. Inspect current package status: ```powershell Get