Greeting message hook

Open 💬 2 comments Opened Apr 12, 2026 by tom-huntington
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 4 months ago

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

  • #14814

Powered by Codex Action

oxysoft · 3 months ago

Indexed this hook ticket in the umbrella tracker: #21753

Goal: collect the scattered Codex hook requests and bugs into one parity matrix for Full Claude Code Hook Parity (29+), while preserving this issue as the detailed thread for its specific behavior.