LLM hooks

270 tagged LLM, measured the same way as everything else here.

Browse within: claude-code-plugin 47Multi-Agent 35agent-memory 35knowledge-graph 35model-context-protocol 35context-management 23local-first 23knowledge-base 22ai-memory 21embeddings 20markdown 18coding-agents 14sqlite 14long-term-memory 13

TeammateIdle

145

hanselhansel/context-cli

Hook Claude Code

One of 7 in settings.json

Runs on the TeammateIdle event, executing teammate-idle-gate.sh. From hanselhansel/context-cli.

not rated 4 5mo ago A tokens not measured copy · 47% MIT

SessionStart

146

retospect/precis-mcp

Hook Claude Code

One of 6 in settings.json

Runs when a session starts, executing session-start-lock.sh, heal-primary-branch.sh, code-search-up.sh and memory-nudge.sh via bash with --for-hook (9 commands). From retospect/precis-mcp.

not rated 3 4d ago A tokens not measured GPL-3.0

PreToolUse

147

retospect/precis-mcp

Hook Claude Code

One of 6 in settings.json

Runs before the agent uses a tool for Edit, Write, MultiEdit, NotebookEdit, Read, Bash, Grep, mcp__precis__put, mcp__precis__edit, mcp__precis__delete and mcp__precis__tag tool calls, executing guard-worktree-path.py, guard-sealed-migration.py, rca-triage-nudge.py, guard-secret-read.py, guard-commit-on-main.py…

not rated 3 4d ago A tokens not measured GPL-3.0

PostToolUse

148

retospect/precis-mcp

Hook Claude Code

One of 6 in settings.json

Runs after a tool call finishes for Write tool calls, executing map-staleness-reminder.py and session-size-nudge.py via python3 (2 commands). From retospect/precis-mcp.

not rated 3 4d ago A tokens not measured GPL-3.0

PostToolUse

149

Sahil170595/Chimeraforge

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit, Write and MultiEdit tool calls, executing lint_on_edit.py via python. From Sahil170595/Chimeraforge.

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

UserPromptSubmit

150

djerok/glm-mcp

Hook

Runs when you submit a prompt, before the agent sees it, executing glm_router_hook.mjs via node. From djerok/glm-mcp.

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

PreToolUse

151

Lengros/bennu

Hook Claude Code

One of 5 in settings.json

Runs before the agent uses a tool for Write, Edit and NotebookEdit tool calls, executing guard.sh. From Lengros/bennu.

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

Stop

152

Lengros/bennu

Hook Claude Code

One of 5 in settings.json

Runs when the agent finishes a response, executing scan-secrets-stop.sh and learn-nudge.sh (2 commands). From Lengros/bennu.

not rated 2 1mo ago A tokens not measured copy · 52% MIT

SessionStart

153

Lengros/bennu

Hook Claude Code

One of 5 in settings.json

Runs when a session starts, executing session-start.sh. From Lengros/bennu.

not rated 2 1mo ago A tokens not measured copy · 52% MIT

PreToolUse

154

njfio/rs-agent-code-utility

Hook Claude Code

One of 6 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing rts-nudge.sh. From njfio/rs-agent-code-utility.

not rated 2 2mo ago A tokens not measured

PostToolUse

155

njfio/rs-agent-code-utility

Hook Claude Code

One of 6 in settings.json

Runs after a tool call finishes for Write, Edit and MultiEdit tool calls, executing rts-verify.sh. From njfio/rs-agent-code-utility.

not rated 2 2mo ago A tokens not measured

SessionStart

156

njfio/rs-agent-code-utility

Hook Claude Code

One of 6 in settings.json

Runs when a session starts, executing session_start.sh. From njfio/rs-agent-code-utility.

not rated 2 2mo ago A tokens not measured

SessionStart

157

carlxien-blip/kaerai-orchestrator

Hook Claude Code

One of 4 in settings.json

Runs when a session starts, executing canonical-sync.sh. From carlxien-blip/kaerai-orchestrator.

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

UserPromptSubmit

158

carlxien-blip/kaerai-orchestrator

Hook Claude Code

One of 4 in settings.json

Runs when you submit a prompt, before the agent sees it, executing canonical-sync.sh. From carlxien-blip/kaerai-orchestrator.

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

PreToolUse

159

carlxien-blip/kaerai-orchestrator

Hook Claude Code

One of 4 in settings.json

Runs before the agent uses a tool for Write tool calls, executing canonical-write-guard.sh. From carlxien-blip/kaerai-orchestrator.

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

Stop

160

jeromeetienne/okforge

Hook Claude Code

One of 2 in settings.json

Runs when the agent finishes a response, running npx okforge nudge. From jeromeetienne/okforge.

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

PreToolUse

161

maxencebernardhub/ai-engineering-labs

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Read, Edit, Write and Bash tool calls, executing block_env_access.sh via bash. From maxencebernardhub/ai-engineering-labs.

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

PreToolUse

162

ns408/agentic-lab

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, executing pre-git-guard.sh. From ns408/agentic-lab.

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

SessionStart

163

subkoks/BEST-Self-Enhancement-Learning-AI

Hook Claude Code

One of 2 in settings.json

Runs when a session starts on startup and resume, executing cloud-setup.sh via bash. From subkoks/BEST-Self-Enhancement-Learning-AI.

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

SessionStart

164

kostya-pakhomov/graphmind

Hook

One of 3 in hooks.json

Runs when a session starts, executing graphmind-session-start.mjs via node. From kostya-pakhomov/graphmind.

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

PostToolUse

165

kostya-pakhomov/graphmind

Hook

One of 3 in hooks.json

Runs after a tool call finishes for edit_file and edit_files tool calls, executing graphmind-post-tool-use.mjs via node. From kostya-pakhomov/graphmind.

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

Stop

166

kostya-pakhomov/graphmind

Hook

One of 3 in hooks.json

Runs when the agent finishes a response, executing graphmind-session-stop.mjs via node. From kostya-pakhomov/graphmind.

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

PostToolUse

167

tripplemay/aigcgateway

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Write and Edit tool calls, executing validate-pending-gate.sh via bash. From tripplemay/aigcgateway.

not rated 2 27d ago A tokens not measured

PreCompact

168

weill-labs/hgm

Hook Claude Code

One of 3 in settings.json

Runs before the context is compacted, running bd prime. From weill-labs/hgm.

not rated 2 3mo ago A tokens not measured copy · 100% 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: