Update Codex logo

Update Codex

CommunityPopular
am-will
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.

Overview

Publisheram-will
Repositorycodex-skills
Skill nameupdate-codex
Stars
1K
Forks
60
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by am-will on GitHub. Read the source before you install it.

Installation

Install the Update Codex AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/am-will/codex-skills.git /tmp/codex-skills
mkdir -p .claude/skills
cp -r /tmp/codex-skills/skills/update-codex .claude/skills/update-codex
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Update Codex in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Update Codex on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Update Codex is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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 versioned Codex-darwin-arm64-<version>.zip rather than a DMG.
  • Verify latest version/build against https://persistent.oaistatic.com/codex-app-prod/appcast.xml.
  • Refresh desktop/recovered/app-asar-extracted from the downloaded artifact's Contents/Resources/app.asar using --app-asar, or from a DMG using --dmg when 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, tag v<version>, and wait for .github/workflows/linux-release.yml to publish assets.

Workflow

  1. Download and verify:

    • Download appcast.xml and 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.plist CFBundleShortVersionString/CFBundleVersion and app.asar hash.
  2. Refresh recovered bundle:

    • For current zip artifacts, extract Codex.app/Contents/Resources/app.asar and run desktop/scripts/refresh-recovered-from-dmg.mjs --app-asar <path-to-app.asar> --output ./recovered/app-asar-extracted from desktop.
    • For DMG artifacts, run desktop/scripts/refresh-recovered-from-dmg.mjs --dmg ../Codex.dmg --output ./recovered/app-asar-extracted from desktop.
    • 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.
  3. Verify patch preservation:

    • node --check desktop/scripts/assemble-codex-runtime.mjs
    • npm test -- --runInBand tests/linux/recovered-bundle.red.test.ts
    • npm run test:linux
    • npm run test:linux:codex-package
  4. Build and install:

    • Build with desktop/scripts/build-codex-linux-runtime.mjs into desktop/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.desktop and ~/.config/autostart/codex-desktop.desktop launch 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's desktopTemplate setting in desktop/forge.config.ts.
  5. Verify installed app:

    • readlink -f ~/.local/opt/codex-desktop/current
    • Read installed resources/app.asar package metadata and confirm version/build.
    • Search installed app.asar for 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.
  6. Release when requested:

    • Commit with a Conventional Commit, usually chore: refresh linux port to <version>.
    • Push main.
    • Create and push annotated tag v<version>.
    • Watch the Linux release workflow to success.
    • Verify release assets include:
      • codex-app-linux-x64-v<version>.AppImage
      • codex-app-linux-x64-v<version>.deb
      • codex-app-linux-x64-v<version>.rpm
      • codex-app-linux-arm64-v<version>.deb

Notes

  • The repo currently has no Arch-package release lane. Do not claim one shipped unless the workflow has been extended and verified.
  • Downloaded upstream artifacts, desktop/tmp, and desktop/out are generated inputs/outputs; do not commit them unless the repo policy changes.
  • If GitHub says release not found immediately after tag push, watch the workflow. The release is created by the tag-driven workflow after artifacts publish.

Frequently asked questions

What does the Update Codex AI skill do?

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.

Why use Update Codex on TypingMind?

Because you install it once and use it with any model. Update Codex is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Update Codex in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/am-will/codex-skills/tree/main/skills/update-codex. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Update Codex?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Update Codex?

As many as you like. As long as a model supports skills, you can use Update Codex with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Update Codex AI skill free?

It is published on GitHub by am-will. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇