codex cli hooks

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

Browse within: gemini-cli 36hooks 25claude-plugin 22agent-memory 18bun 18nodejs 18ai-memory 16codex-plugin 16copilot 15openai 15macos 13ai-routing 12cli-orchestrator 12knowledge-graph 12

PreToolUse

25

Borda/AI-Rig

Hook

Runs before the agent uses a tool for AskUserQuestion, Agent, Bash, Bash, Edit, Write and NotebookEdit tool calls, executing enforce-review-header.js, agent-router.js, sentinel-read-allow.js, blueprint-allow.js and write-guard.js via node (7 commands). From Borda/AI-Rig.

25 7d ago A tokens not measured original Apache-2.0

PreToolUse

26

sehoon787/my-codex

Hook

Runs before the agent uses a tool for Edit and Write tool calls, running an inline shell check. From sehoon787/my-codex.

25 3d ago A tokens not measured original MIT

PostToolUse

27

sehoon787/my-codex

Hook

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.

25 3d ago A tokens not measured original MIT

SubagentStop

28

sehoon787/my-codex

Hook

Runs when a subagent finishes, executing session-sync.js via node (3 commands). From sehoon787/my-codex.

25 3d ago A tokens not measured original MIT

SessionStart

29

qwerfunch/cladding

Hook

Runs when a session starts, executing clad.js via node. From qwerfunch/cladding.

14 3d ago A tokens not measured original MIT

PreToolUse

30

qwerfunch/cladding

Hook

Runs before the agent uses a tool for Edit, Write and MultiEdit tool calls, executing clad.js via node. From qwerfunch/cladding.

14 3d ago A tokens not measured copy · 83% MIT

PostToolUse

31

qwerfunch/cladding

Hook

Runs after a tool call finishes for Edit, Write, MultiEdit and Bash tool calls, executing clad.js via node. From qwerfunch/cladding.

14 3d ago A tokens not measured original MIT

UserPromptSubmit

32

Magnifico4625/locus

Hook

Runs when you submit a prompt, before the agent sees it, executing user-prompt.js via node. From Magnifico4625/locus.

14 2mo ago A tokens not measured original MIT

Stop

33

Magnifico4625/locus

Hook

Runs when the agent finishes a response, executing stop.js via node. From Magnifico4625/locus.

14 2mo ago A tokens not measured original MIT

PostToolUse

34

Magnifico4625/locus

Hook

Runs after a tool call finishes for Read, Write, Edit, Bash, Glob, Grep and NotebookEdit tool calls, executing post-tool-use.js via node. From Magnifico4625/locus.

14 2mo ago A tokens not measured original MIT

SessionStart

35

Dokkabei97/all-agents-mcp

Hook

Runs when a session starts on startup, executing check-setup.sh via bash. From Dokkabei97/all-agents-mcp.

14 5mo ago A tokens not measured copy · 55% MIT archived

SessionStart

36

OthmanAdi/MDDesign

Hook

Runs when a session starts on startup, clear and compact, executing preamble.ps1. From OthmanAdi/MDDesign.

13 4mo ago A tokens not measured original Apache-2.0

UserPromptSubmit

37

OthmanAdi/MDDesign

Hook

Runs when you submit a prompt, before the agent sees it, executing enforce.ps1. From OthmanAdi/MDDesign.

13 4mo ago A tokens not measured original Apache-2.0

PreToolUse

38

OthmanAdi/MDDesign

Hook

Runs before the agent uses a tool for Write and Edit tool calls, executing gate.ps1. From OthmanAdi/MDDesign.

13 4mo ago A tokens not measured original Apache-2.0

Stop

39

HyperAITeam/CLITrigger

Hook Claude Code

Runs when the agent finishes a response, executing commit-session.sh. From HyperAITeam/CLITrigger.

13 7d ago A tokens not measured original MIT

SessionStart

40

HyperAITeam/CLITrigger

Hook Claude Code

Runs when a session starts on startup, executing load-recent-changes.sh. From HyperAITeam/CLITrigger.

13 7d ago A tokens not measured original MIT

PreToolUse

41

DorShaer/Husk

Hook

Runs before the agent uses a tool for Bash, Skill, Agent, AskUserQuestion, Bash, Write, Edit and MultiEdit tool calls, executing ContextReduction.hook.sh, AgentInvocation.hook.ts, TabState.hook.ts and PreToolGuard.hook.ts (4 commands). From DorShaer/Husk.

12 5d ago A tokens not measured

PostToolUse

42

DorShaer/Husk

Hook

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.

12 5d ago A tokens not measured

SessionEnd

43

DorShaer/Husk

Hook

Runs when a session ends, executing WorkCompletionLearning.hook.ts, SessionCleanup.hook.ts, UpdateCounts.hook.ts, MemoryHealthGate.hook.ts, DocIntegrity.hook.ts and IntegrityCheck.hook.ts (6 commands). From DorShaer/Husk.

12 5d ago A tokens not measured

UserPromptSubmit

44

susomejias/rembric

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, running an inline shell check. From susomejias/rembric.

12 6d ago A tokens not measured original MIT

SessionStart

45

susomejias/rembric

Hook

Runs when a session starts on startup, resume, clear, fork and compact, executing session-start.sh and post-compact.sh (2 commands). From susomejias/rembric.

12 6d ago A tokens not measured original MIT

PostCompact

46

susomejias/rembric

Hook

Runs after the context is compacted, executing post-compaction.sh. From susomejias/rembric.

12 6d ago A tokens not measured original MIT

SessionStart

47

rlacombe/switchback-running

Hook Claude Code

Runs when a session starts, executing auto-update.sh. From rlacombe/switchback-running.

11 6d ago C tokens not measured original MIT

SessionStart

48

qwedsazxc78/devops-ai-skill

Hook

Runs when a session starts, executing session-start-repo-detect.sh via bash. From qwedsazxc78/devops-ai-skill.

10 2mo ago A tokens not measured