Skip to content

Codex CLI Hooks

Codex cli hooks - adding voice on each hook

Install

$git clone https://github.com/shanraisshan/codex-cli-hooks

Install command taken from the project's README or registry entry. Always review code before running it.

Codex CLI Hooks

Installation

   

Step 1. Start Codex CLI:

codex

Step 2. First run only — trust each hook. run /hooks

Step 3. Send a prompt (e.g., Hi) — you'll hear a sound on session start, tool use, prompt submit, and session stop.

Changelog

new hook addition changelogs only

Date Hooks Changes Codex CLI Version Demo
May 7, 2026 8 Added PreCompact and PostCompact v0.129.0
Apr 26, 2026 6 Added PermissionRequest v0.122.0
Mar 26, 2026 5 Added PreToolUse and PostToolUse v0.117.0
Mar 20, 2026 3 Added UserPromptSubmit v0.116.0
Mar 11, 2026 2 Added SessionStart and Stop v0.115.0

Links

       

Other Repos

Codex CLIBest Practice

Claude CodeHooks

Claude CodeBest Practice

Gemini CLIHooks

Gemini CLIBest Practice

Sponsor My Work

If you like my work, buy me a doodh patti 🍵 on

Polar

Similar plugs

Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies

Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro,…

Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…