Логотип Update Codex

Update Codex

СообществоПопулярное
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.

Обзор

Издательam-will
Репозиторийcodex-skills
Название навыкаupdate-codex
Звёзды
1K
Форки
60
Встроенные файлы
Только инструкции
Ссылки
  • Инструкции в формате Markdown

    Файл SKILL.md, который модель загружает по необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Опубликовано на GitHub: am-will. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Update Codex в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/am-will/codex-skills/tree/main/skills/update-codex
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Новый навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Update Codex в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Update Codex, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Update Codex не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими API-ключами.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

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.

Часто задаваемые вопросы

Что делает навык ИИ 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 в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Update Codex — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Update Codex в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/am-will/codex-skills/tree/main/skills/update-codex. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Update Codex?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Update Codex?

С любым количеством. Если модель поддерживает навыки, вы можете использовать с ней Update Codex: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama и другие — всё в TypingMind с вашими собственными ключами API.

Бесплатен ли навык ИИ Update Codex?

Навык опубликован на GitHub автором am-will. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это многоразовый набор инструкций, который объясняет модели ИИ, как выполнять конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты для вызова — код, который где-то выполняется и возвращает результат. Навык ИИ вместо этого даёт модели знания и порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇