Skip to content

Add a startup deprecation warning for custom prompts#15076

Merged
etraut-openai merged 1 commit intomainfrom
etraut/warn-about-deprecated-custom-prompts
Mar 18, 2026
Merged

Add a startup deprecation warning for custom prompts#15076
etraut-openai merged 1 commit intomainfrom
etraut/warn-about-deprecated-custom-prompts

Conversation

@etraut-openai
Copy link
Collaborator

@etraut-openai etraut-openai commented Mar 18, 2026

Summary

  • detect custom prompts in $CODEX_HOME/prompts during TUI startup
  • show a deprecation notice only when prompts are present, with guidance to use $skill-creator
  • add TUI tests and snapshot coverage for present, missing, and empty prompts directories

Testing

  • Manually tested

@etraut-openai etraut-openai marked this pull request as ready for review March 18, 2026 18:57
Comment on lines +6 to +7
Detected 1 custom prompt in `$CODEX_HOME/prompts`. Use the `$skill-creator` skill to convert each custom prompt into
a skill.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about making this have a directly copy paste-able prompt? ($skill-creator turn ~/.codex/prompts/foobar.md into a skill)

@etraut-openai etraut-openai force-pushed the etraut/warn-about-deprecated-custom-prompts branch from 56dd638 to 3c62fb0 Compare March 18, 2026 20:55
@etraut-openai etraut-openai merged commit e5de136 into main Mar 18, 2026
33 checks passed
@etraut-openai etraut-openai deleted the etraut/warn-about-deprecated-custom-prompts branch March 18, 2026 21:21
@github-actions github-actions bot locked and limited conversation to collaborators Mar 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants