shanraisshan/codex-cli-best-practice

from vibe coding to agentic engineering - practice makes codex perfect

978Stars on the repository
31Mods indexed here, across every type
2mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

PreToolUse

01

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs before the agent uses a tool, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 100% MIT

PermissionRequest

02

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs when the agent asks permission for an action, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 84% MIT

PostToolUse

03

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs after a tool call finishes, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 77% MIT

UserPromptSubmit

05

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 83% MIT

Notification

06

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs when the agent sends a notification, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 81% MIT

Stop

07

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs when the agent finishes a response, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 83% MIT

SubagentStop

09

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs when a subagent finishes, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 84% MIT

PreCompact

10

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs before the context is compacted, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 84% MIT

PostCompact

11

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs after the context is compacted, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 78% MIT

SessionEnd

13

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs when a session ends, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 80% MIT

Setup

14

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs once when the project is set up, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 100% MIT

TeammateIdle

15

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs on the TeammateIdle event, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 80% MIT

TaskCreated

16

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs on the TaskCreated event, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 83% MIT

TaskCompleted

17

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs when a task is marked completed, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 78% MIT

ConfigChange

18

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs on the ConfigChange event, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 81% MIT

Elicitation

22

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs when the agent asks you a question, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 88% MIT

StopFailure

24

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs on the StopFailure event, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

978 2mo ago A tokens not measured copy · 83% MIT