Unable to start custom pet creation in Codex desktop app

Open 💬 4 comments Opened Aug 10, 2026 by Shubhamuttekar
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the Codex App are you using (From “About Codex” dialog)?

Current version: 1.2026.190

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What issue are you seeing?

Summary

Creating a custom pet fails in the Codex desktop app.

Steps to reproduce

  1. Open Codex desktop app on Windows.
  2. Go to Settings → Pets.
  3. Click Create.

Expected behavior

The custom pet creation screen should open.

Actual behavior

A red error message appears:

Unable to start pet creation

Built-in pets can be selected, but custom pet creation never opens.

What I tried

  • Refreshed the Pets page
  • Restarted Codex
  • Checked the OpenAI status page

The problem still happens.

Environment

  • OS: Windows
  • App: Codex desktop app
  • Codex version: [add version from Settings → General]

Screenshot

Attach the screenshot showing the error.

What steps can reproduce the bug?

Summary

Creating a custom pet fails in the Codex desktop app.

Steps to reproduce

  1. Open Codex desktop app on Windows.
  2. Go to Settings → Pets.
  3. Click Create.

Expected behavior

The custom pet creation screen should open.

Actual behavior

A red error message appears:

Unable to start pet creation

Built-in pets can be selected, but custom pet creation never opens.

What I tried

  • Refreshed the Pets page
  • Restarted Codex
  • Checked the OpenAI status page

The problem still happens.

Environment

  • OS: Windows
  • App: Codex desktop app
  • Codex version: [add version from Settings → General]

Screenshot

Attach the screenshot showing the error.

What is the expected behavior?

Summary

Creating a custom pet fails in the Codex desktop app.

Steps to reproduce

  1. Open Codex desktop app on Windows.
  2. Go to Settings → Pets.
  3. Click Create.

Expected behavior

The custom pet creation screen should open.

Actual behavior

A red error message appears:

Unable to start pet creation

Built-in pets can be selected, but custom pet creation never opens.

What I tried

  • Refreshed the Pets page
  • Restarted Codex
  • Checked the OpenAI status page

The problem still happens.

Environment

  • OS: Windows
  • App: Codex desktop app
  • Codex version: [add version from Settings → General]

Screenshot

Attach the screenshot showing the error.

Additional information

<img width="834" height="297" alt="Image" src="https://github.com/user-attachments/assets/73a54901-66df-4acf-a308-e5db89e09979" />

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 17 days ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #37691

Powered by Codex Action

marcosrocha85 · 13 days ago

Are you using this configs?
Agent environment: Windows Subsystem for Linux
Integrated terminal shell: WSL

Just in case your environment is close to mine.

Hadeanyolo · 8 days ago

I can reproduce this on Windows Desktop 26.814.5517.0 specifically when WSL backend is enabled, and the Desktop logs expose a concrete filesystem-path failure.

Environment (sanitized):

Codex Desktop: OpenAI.Codex 26.814.5517.0
platform: win32 (Electron main process)
WSL backend: enabled
CODEX_HOME: C:\Users\<USER>\.codex

Clicking Create Pet sends an install-recommended-skill IPC request for the bundled hatch-pet skill:

hostId = local
skillId = hatch-pet
source = bundled
repoPath = skills/.curated/hatch-pet
installRoot = null
forceReinstall = true

Tracing the shipped app.asar shows the installer computes the destination using:

getCodexHome({ preferWsl: false })
  -> C:\Users\<USER>\.codex

executionHost.platformPath()
  -> path.posix

So the install root begins as:

path.posix.join("C:\\Users\\<USER>\\.codex", "skills")
-> C:\Users\<USER>\.codex/skills

The destination is then passed through POSIX resolve() and the local execution-host filesystem-path conversion. In the failing run, Desktop logs:

Failed to install recommended skill
EPERM: operation not permitted, mkdir '\\wsl$\Ubuntu\Program Files'

This error repeats after a full app restart.

The exact runtime origin of the Program Files segment is not logged, so I am not claiming that last transformation is fully proven. However, the following points are confirmed in the current bundle:

  • CODEX_HOME is a Windows drive path.
  • the installer uses path.posix because the local execution host is marked as running inside WSL.
  • file operations ultimately execute in the Windows Electron main process via native Node fs.
  • POSIX absolute paths are converted by the local host into \\wsl$\Ubuntu\... paths.
  • the visible failure is the resulting EPERM during recommended-skill installation.

This looks like the same shared Windows/WSL path-abstraction problem as the existing custom-pet discovery issue (#20730), though not necessarily the same specific function.

Expected behavior: Create Pet should install/prepare the bundled hatch-pet skill using one consistent path representation for the selected filesystem host, without constructing a protected/invalid WSL UNC target.

No files, permissions, configuration, or application bundle were modified during this investigation.

naipi11 · 8 days ago

This failure appears tied to the WSL agent environment. A temporary method is:

  1. In Codex settings, switch the Agent environment from WSL to Windows.
  2. Fully quit the desktop app, then reopen it.
  3. Open Settings > Pets and choose Create again.
  4. Verify that the pet-creation screen opens and the new pet can be selected.

Limitation: switching the Agent environment back to WSL may reintroduce the separate custom-pet loading/path problem. This only bypasses the mixed Windows/WSL path during creation; it is not the underlying fix.