codex-cli hooks

95 tagged codex-cli, measured the same way as everything else here.

Browse within: gemini-cli 40claude-code-plugin 36ai-coding 30cli 28codex-plugin 26hooks 25ai-memory 23agent-memory 18bun 18nodejs 18agents 17cursor 17copilot 15openai 13

SessionStart

01

maxritter/pilot-shell

Hook Claude Code

One of 10 in hooks.json

Runs when a session starts on startup, resume, clear, compact, startup, startup, resume, clear, compact, startup, resume, clear, compact, clear and compact, executing license_check.py, licensed_assets_sync.py, codex_skill_sync.py, cc_skill_sync.py and run_if_licensed.py via uv with --no-project, --python and --exec…

not rated 2.1k +7 changed 28d ago A tokens not measured

Stop

02

100yenadmin/Lossless-Codex-Orchestrator-LCO

Hook Claude Code

Runs when the agent finishes a response, executing thread-title-finalize.mjs via node. From 100yenadmin/Lossless-Codex-Orchestrator-LCO.

not rated 33 1mo ago A tokens not measured

PostToolUse

03

sehoon787/my-codex

Hook Claude Code

One of 7 in hooks.json

Runs after a tool call finishes for Agent, Edit, Write, WebSearch and WebFetch tool calls, executing session-sync.js via node (3 commands). From sehoon787/my-codex.

not rated 29 2d ago A tokens not measured original MIT

SessionStart

04

tractorjuice/arckit-codex

Hook Claude Code

One of 6 in hooks.json

Runs when a session starts on startup, resume and clear, executing arckit-codex-hook.mjs. From tractorjuice/arckit-codex.

not rated 17 3d ago A tokens not measured

PostToolUse

05

DorShaer/Husk

Hook Claude Code

One of 11 in hooks.json

Runs after a tool call finishes for Agent, WebFetch, WebSearch, AskUserQuestion, Write, Edit and MultiEdit tool calls, executing AgentInvocation.hook.ts, Safety.hook.ts, TabState.hook.ts, ISASync.hook.ts, CheckpointPerISC.hook.ts and EventLogger.hook.ts (11 commands). From DorShaer/Husk.

not rated 14 +1 4d ago A tokens not measured

PreToolUse

06

hehee9/codex-compressor

Hook Claude Code

One of 4 in hooks.json

Runs before the agent uses a tool for ^new_context$ tool calls, executing launch.py via python3. From hehee9/codex-compressor.

not rated 10 1mo ago A tokens not measured original Apache-2.0

BeforeTool

07

Benknightdark/neo-skills

Hook Claude Code

Runs on the BeforeTool event, executing secret-guard.js via node. From Benknightdark/neo-skills.

not rated 7 4d ago A tokens not measured original MIT

SessionStart

08

benediktkraus/dreviho

Hook Claude Code

One of 6 in hooks.json

Runs when a session starts, executing bootstrap-runtime.mjs via node. From benediktkraus/dreviho.

not rated 6 4mo ago A tokens not measured

SessionEnd

09

nikuscs/codex-multitask

Hook Claude Code

One of 2 in hooks.json

Runs when a session ends for startup and resume tool calls, executing session-lifecycle-hook.mjs via node with --show-toplevel. From nikuscs/codex-multitask.

not rated 4 5mo ago A tokens not measured original MIT

SessionStart

10

assimovt/trce-cli

Hook Claude Code

One of 10 in hooks.json

Runs when a session starts, running trce spool --harness codex-cli --event SessionStart. From assimovt/trce-cli.

not rated 3 1mo ago A tokens not measured original MIT archived

PreToolUse

11

KiwiGaze/codex-status-bar

Hook Claude Code

One of 6 in hooks.json

Runs before the agent uses a tool, executing update.js via node. From KiwiGaze/codex-status-bar.

not rated 3 3mo ago A tokens not measured original MIT

SessionStart

12

phenomenoner/Chatgpt-Codex-App-Plus

Hook Claude Code

One of 3 in hooks.json

Runs when a session starts on ^(startup, resume, clear and compact)$, executing context_canvas.py via python3. From phenomenoner/Chatgpt-Codex-App-Plus.

not rated 2 25d ago A tokens not measured original MIT

PreToolUse

13

fusengine/codex

Hook Claude Code

One of 7 in hooks.json

Runs before the agent uses a tool for Bash, apply_patch, spawn_agent and multi_agent_v1.spawn_agent tool calls, executing bin.mjs via bun (3 commands). From fusengine/codex.

not rated 2 +1 3d ago A tokens not measured

SessionStart

14

igovet/codex-cortex-orchestrator

Hook Claude Code

One of 11 in hooks.json

Runs when a session starts on ^(resume and compact)$, executing cortex_hook.py via python3. From igovet/codex-cortex-orchestrator.

not rated 2 changed 1mo ago A tokens not measured original MIT

SessionStart

15

Kolikkii/token-razor

Hook Claude Code

One of 6 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing hook.mjs via node. From Kolikkii/token-razor.

not rated 1 2mo ago A tokens not measured original MIT

SessionStart

16

lastmindforever36/agent-grounded-infrastructure

Hook Claude CodeCodex

One of 3 in hooks.json

Runs when a session starts on startup and resume, executing session_start_autonomy.py via python3. From lastmindforever36/agent-grounded-infrastructure.

not rated 1 2mo ago A tokens not measured original MIT

Stop

17

tkumata/AGENTS.md

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, executing verify_pipeline.sh. From tkumata/AGENTS.md.

not rated 1 7d ago A tokens not measured original MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: