shanraisshan

209 mods across 7 repositories, 67k stars between them.

StopFailure

97

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

CwdChanged

98

shanraisshan/codex-cli-best-practice

Hook Claude Code

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

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

FileChanged

99

shanraisshan/codex-cli-best-practice

Hook Claude Code

Runs on the FileChanged event for .envrc, .env and .env.local tool calls, executing hooks.py via python3. From shanraisshan/codex-cli-best-practice.

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

commit

106

shanraisshan/claude-code-hooks

Command Claude Code

Commit changes with auto-generated message showing command context, timestamp, and change count.

531 +1 2mo ago A 15 tokens original MIT

PreToolUse

109

shanraisshan/claude-code-hooks

Hook Claude Code

Runs before the agent uses a tool, executing hooks.py via python3. From shanraisshan/claude-code-hooks.

531 +1 2mo ago A tokens not measured copy · 100% MIT

PermissionRequest

110

shanraisshan/claude-code-hooks

Hook Claude Code

Runs when the agent asks permission for an action, executing hooks.py via python3. From shanraisshan/claude-code-hooks.

531 +1 2mo ago A tokens not measured copy · 84% MIT

PostToolUse

111

shanraisshan/claude-code-hooks

Hook Claude Code

Runs after a tool call finishes, executing hooks.py via python3. From shanraisshan/claude-code-hooks.

531 +1 2mo ago A tokens not measured copy · 77% MIT

PostToolUseFailure

112

shanraisshan/claude-code-hooks

Hook Claude Code

Runs when a tool call fails, executing hooks.py via python3. From shanraisshan/claude-code-hooks.

531 +1 2mo ago A tokens not measured copy · 83% MIT

PostToolBatch

113

shanraisshan/claude-code-hooks

Hook Claude Code

Runs after a batch of tool calls, executing hooks.py via python3. From shanraisshan/claude-code-hooks.

531 +1 2mo ago A tokens not measured copy · 84% MIT

UserPromptSubmit

114

shanraisshan/claude-code-hooks

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing hooks.py via python3. From shanraisshan/claude-code-hooks.

531 +1 2mo ago A tokens not measured copy · 83% MIT

UserPromptExpansion

115

shanraisshan/claude-code-hooks

Hook Claude Code

Runs to expand your prompt before the agent sees it, executing hooks.py via python3. From shanraisshan/claude-code-hooks.

531 +1 2mo ago A tokens not measured copy · 80% MIT

Notification

116

shanraisshan/claude-code-hooks

Hook Claude Code

Runs when the agent sends a notification, executing hooks.py via python3. From shanraisshan/claude-code-hooks.

531 +1 2mo ago A tokens not measured copy · 81% MIT

MessageDisplay

117

shanraisshan/claude-code-hooks

Hook Claude Code

Runs when a message is displayed, executing hooks.py via python3. From shanraisshan/claude-code-hooks.

531 +1 2mo ago A tokens not measured copy · 88% MIT

Stop

118

shanraisshan/claude-code-hooks

Hook Claude Code

Runs when the agent finishes a response, executing hooks.py via python3. From shanraisshan/claude-code-hooks.

531 +1 2mo ago A tokens not measured copy · 83% MIT

SubagentStart

119

shanraisshan/claude-code-hooks

Hook Claude Code

Runs when a subagent starts, executing hooks.py via python3. From shanraisshan/claude-code-hooks.

531 +1 2mo ago A tokens not measured copy · 86% MIT

SubagentStop

120

shanraisshan/claude-code-hooks

Hook Claude Code

Runs when a subagent finishes, executing hooks.py via python3. From shanraisshan/claude-code-hooks.

531 +1 2mo ago A tokens not measured copy · 84% MIT