Coding

Launch Codex Unpacked

Try it

Launch unpacked Codex Desktop builds with debug ports and optional SSH host autostart using launch_codex_unpacked.sh. Use when asked to run Codex from extrac...

What it does

Use this skill when the task is to run Codex Desktop from unpacked with controlled debug settings.

The skill document

Launch Codex Unpacked

Use this skill when the task is to run Codex Desktop from unpacked app.asar with controlled debug settings.

Primary Script

  • ./launch_codex_unpacked.sh

Preflight

Run these checks before launch:

test -x ./launch_codex_unpacked.sh
test -d /Applications/Codex.app

Tooling note:

  • The launcher auto-installs missing node/npx via Homebrew by default.
  • Set AUTO_INSTALL_TOOLS=0 to disable auto-install behavior.

If a custom app path is provided, verify it contains:

  • /Contents/Resources/app.asar
  • /Contents/Resources/codex

Common Launch Recipes

Default launch (inspect + remote debugging enabled):

./launch_codex_unpacked.sh

Custom ports:

./launch_codex_unpacked.sh --inspect-port 9330 --remote-debug-port 9333

Disable one or both debug channels:

./launch_codex_unpacked.sh --no-inspect
./launch_codex_unpacked.sh --no-remote-debug

Launch against a different Codex.app:

./launch_codex_unpacked.sh --app "/Applications/Codex.app"

Preserve extracted temp app for analysis:

./launch_codex_unpacked.sh --keep-temp

Use a fixed Chromium profile/user data directory:

./launch_codex_unpacked.sh --user-data-dir "/tmp/codex-user-data"

SSH host autostart mode:

./launch_codex_unpacked.sh --ssh-host "user@host"

What SSH mode does:

  • Performs non-interactive SSH preflight (BatchMode + timeout).
  • Updates ~/.codex/.codex-global-state.json (electron-ssh-hosts).
  • Patches unpacked main bundle so startup opens the first saved SSH host.

Argument Pass-through

Append app arguments after --:

./launch_codex_unpacked.sh -- --some-codex-flag value

Output You Should Report

After launch, report:

  • App dir path
  • User data dir path
  • final Command line
  • whether SSH host mode was enabled

Troubleshooting

  • Missing app.asar or Missing codex binary: wrong --app path.
  • SSH autostart patch anchor not found: Codex bundle changed; script patch target must be updated.
  • SSH preflight warning: app can still launch, but remote host connection may fail in UI.

Related skills

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván559 installs18 stars

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván855 installs69 stars

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai22 installs8 stars

Run Git operations — commits, branches, merges, rebases, conflict resolution, and recovery — with safety rules enforced.

by Iván535 installs31 stars

More from ivansslo

Browse all skills

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

by Ivan Ssl3 installs

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requi...

by ivansslo1 installs

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requi...

by ivansslo1 installs

Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

by ivansslo1 installs

Use when creating new skills, editing existing skills, or verifying skills work before deployment

by ivansslo1 installs

Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technic...

by ivansslo