Skip to content

Custom prompts in ~/.codex/prompts no longer appear after updating to codex-cli 0.117.0 #15941

Description

@zhouzhendiao

What version of Codex CLI is running?

codex-cli 0.117.0

What subscription do you have?

plus

Which model were you using?

codex-cli 0.117.0

What platform is your computer?

Linux

What terminal emulator and version are you using (if applicable)?

VSCode

What issue are you seeing?

Custom prompts in ~/.codex/prompts no longer appear in the slash-command menu after updating Codex.

This worked before the update. After updating to codex-cli 0.117.0, the prompt is not discoverable anymore, even after restarting Codex.

What steps can reproduce the bug?

  1. Create a custom prompt file at ~/.codex/prompts/commit.md
  2. Use content like:
---
description: Auto add and commit changes based on session history and current git status.
---
# Commit

Auto add and commit changes.

Based on the session history, decide whether to:
- add and commit only the files related to the session, or
- add all changed files and commit them.

3. Fully restart Codex
4. Open the slash command menu
5. Try to invoke the prompt with /prompts:commit

### What is the expected behavior?

The custom prompt should appear in the slash command menu and be invokable as /prompts:commit.

### Additional information


The custom prompt should appear in the slash command menu and be invokable as /prompts:commit.

### What do you see instead?

The prompt does not appear at all.

### Additional information

- The file definitely exists at ~/.codex/prompts/commit.md
- I also tested plain markdown and markdown with YAML frontmatter
- I restarted Codex after editing the file
- My ~/.codex/config.toml does not appear to disable custom prompts
- This worked before I updated Codex, so this looks like a regression

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions