Greeting message hook
Open 💬 2 comments Opened Apr 12, 2026 by tom-huntington
What variant of Codex are you using?
CLI
What feature would you like to see?
I would like a hook that runs git status after I open codex or run /new, to remind me if I have forgotten to commit my changes (Getting two sets of changes mixed up, is a real pain because you can't restore with git).
SessionStart runs only after the prompt is submitted, and its stdout is added to the context. I want the hook's stdout printed to the terminal (and not added to the model's context). I want the hook to run before I prompt.
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗