Symlinking prompts to `~/codex/prompts` does not work

Resolved 💬 2 comments Opened Oct 10, 2025 by ArthurFlag Closed Oct 10, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.46.0

Which model were you using?

gpt-5

What platform is your computer?

Darwin 24.6.0 arm64 arm

What steps can reproduce the bug?

I symlinked my prompts from .github/prompts to ~/.codex/prompts:

find ./.github/prompts/ -type f -exec bash -c 'ln -s "$(realpath "{}")" "$HOME/.codex/prompts/$(basename "{}")"' \;

Then I start a new codex session, and try to run a prompt with / and none were found. When I create the same file without a symlink, it works as expected.

What is the expected behavior?

Supporting symlinks would be great to be able to share prompts from a repo.

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 10 months ago

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

  • #4383
  • #3637

Powered by Codex Action

linear[bot] · 10 months ago

from shijie.rao:

Duplicate of #4383 - will close this out and centralize conversation there.