update-codex
БесплатноБез исполняемых скриптовНе проверенUse when updating this codex-app Linux port from the latest upstream Codex Mac DMG, preserving local Linux patches, installing the refreshed desktop app, and…
от am-will★ 1 045 звёзд на GitHubОб этом скилле
Update Codex
Use this skill only from /home/amwill/Applications/codex-app.
Contract
- Fetch the latest official upstream Mac artifact from the newest enclosure in
https://persistent.oaistatic.com/codex-app-prod/appcast.xml; current feeds may provide a versionedCodex-darwin-arm64-<version>.ziprather than a DMG. - Verify latest version/build against
https://persistent.oaistatic.com/codex-app-prod/appcast.xml. - Refresh
desktop/recovered/app-asar-extractedfrom the downloaded artifact'sContents/Resources/app.asarusing--app-asar, or from a DMG using--dmgwhen the feed/source provides one. - Preserve Linux behavior patches in
desktop/scripts/assemble-codex-runtime.mjs, especially:- Linux hidden titlebar/titlebar overlay path.
- Linux native menu hide/remove behavior.
- Linux external browser routing for auth and plugin/app flows.
- Linux open-in target registry and browser-session launcher.
- Linux pet/avatar overlay stability patches, including the X11/XWayland
desktop launch contract required for reliable dragging and always-on-top
behavior under GNOME Wayland sessions. The top-enforcement timer must not
call
showInactive()while the pet window is focused, or the pet reply input can lose keyboard focus. On Linux the pet window must remain focusable and treat an active reply editor as keyboard-interactive, so keystrokes go to the pet instead of the previously focused app. - Linux pet/avatar overlay hit testing: drag must start only from the
[data-avatar-mascot="true"]target. Do not use Linux pointer passthrough for the pet window; on this Electron/X11 path it prevents hover/click state from reaching the pet, hiding reply controls and breaking drag. - Linux pet/avatar activity bubble sizing: preserve the enlarged tray layout,
padding, compact message wrapping, and taller compact body height in the
current
avatar-overlay-page-*bundle. Do not merge or replay old one-off PR bundle edits over the current recovered bundle; keep this as a first-class assembler patch.
- Install the rebuilt runtime to
~/.local/opt/codex-desktop/<version>-<build>and repoint~/.local/opt/codex-desktop/current. - If the user asks to ship/release, commit, push
main, tagv<version>, and wait for.github/workflows/linux-release.ymlto publish assets.
Workflow
Download and verify:
- Download
appcast.xmland use the first item as the newest arm64 release. - Download that item's full enclosure URL, usually a versioned
Codex-darwin-arm64-<version>.zip. - Extract or inspect the artifact enough to confirm
Info.plistCFBundleShortVersionString/CFBundleVersionandapp.asarhash.
- Download
Refresh recovered bundle:
- For current zip artifacts, extract
Codex.app/Contents/Resources/app.asarand rundesktop/scripts/refresh-recovered-from-dmg.mjs --app-asar <path-to-app.asar> --output ./recovered/app-asar-extractedfromdesktop. - For DMG artifacts, run
desktop/scripts/refresh-recovered-from-dmg.mjs --dmg ../Codex.dmg --output ./recovered/app-asar-extractedfromdesktop. - Update
desktop/package.json,desktop/package-lock.json, and tests that pin version/build metadata. - If minified bundle shapes drift, add new patch alternatives without removing older supported shapes.
- For current zip artifacts, extract
Verify patch preservation:
node --check desktop/scripts/assemble-codex-runtime.mjsnpm test -- --runInBand tests/linux/recovered-bundle.red.test.tsnpm run test:linuxnpm run test:linux:codex-package
Build and install:
- Build with
desktop/scripts/build-codex-linux-runtime.mjsintodesktop/out/Codex-linux-x64-codex-<version>-<build>. - Copy that staged runtime to
~/.local/opt/codex-desktop/<version>-<build>. - Update
~/.local/opt/codex-desktop/current. - Validate desktop entries and refresh the desktop database.
- Confirm
~/.local/share/applications/codex-desktop.desktopand~/.config/autostart/codex-desktop.desktoplaunch through/usr/bin/env ELECTRON_OZONE_PLATFORM_HINT=x11 ... --ozone-platform=x11. - Confirm packaged Linux launchers keep that same X11 contract:
desktop/assets/linux/codex-deb.desktop.ejs,desktop/assets/linux/codex-appimage.desktop, and the RPM maker'sdesktopTemplatesetting indesktop/forge.config.ts.
- Build with
Verify installed app:
readlink -f ~/.local/opt/codex-desktop/current- Read installed
resources/app.asarpackage metadata and confirm version/build. - Search installed
app.asarfor preserved Linux patch markers. - After relaunch, inspect the live process and confirm the Codex command line
includes
--ozone-platform=x11; this is required before judging pet drag or z-order behavior.
Release when requested:
- Commit with a Conventional Commit, usually
chore: refresh linux port to <version>. - Push
main. - Create and push annotated tag `v
- Commit with a Conventional Commit, usually
Установить update-codex в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл update-codex?
Use when updating this codex-app Linux port from the latest upstream Codex Mac DMG, preserving local Linux patches, installing the refreshed desktop app, and publishing the tag-driven Linux release artifacts.
Как установить скилл update-codex?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл update-codex запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic