Feature Request: Add SlashCommand tool-style auto invocation to Codex CLI

Resolved 💬 1 comment Opened Sep 26, 2025 by alexx-ftw Closed Jan 14, 2026

What feature would you like to see?

What changed

Why

How to try locally

  1. Place a command such as write-unit-test.md into ~/.codex/prompts/, restart Codex, and confirm it appears in the / menu. (https://tech-bridge-log.com/blog/codex-cli-latest-gpt5)
  2. In a session, tell Codex "please run /write-unit-test before touching tests" and observe that it echoes the text instead of invoking the command. (https://github.com/openai/codex/issues/3641)
  3. Compare against Claude Code, which auto invokes custom commands through the SlashCommand tool when instructions mention /name. (https://docs.claude.com/en/docs/claude-code/slash-commands)

Flags removed or added

  • None.

Safety limits

Fallback behavior

Related issues

Are you interested in implementing this feature?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗