LLM hooks

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

Browse within: Multi-Agent 37agent-memory 27context-management 23knowledge-graph 22local-first 22ai-memory 21coding-agents 20knowledge-base 20markdown 18embeddings 14sqlite 14long-term-memory 13agentic-workflow 12knowledge-management 12

UserPromptSubmit

97

0xhimanshu/governor

Hook

Part of governor

Runs when you submit a prompt, before the agent sees it, executing governor.py via python3. From 0xhimanshu/governor.

133 2mo ago A tokens not measured original MIT

PostToolUse

98

0xhimanshu/governor

Hook

Part of governor

Runs after a tool call finishes, executing governor.py via python3. From 0xhimanshu/governor.

133 2mo ago A tokens not measured original MIT

SessionStart

99

benseverndev-oss/goldenmatch

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, executing session-start.sh. From benseverndev-oss/goldenmatch.

129 4d ago A tokens not measured copy · 52% MIT

SessionStart

100

qbit-ai/qbit

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, executing session-start.sh. From qbit-ai/qbit.

127 5mo ago A tokens not measured

PostToolUse

101

gmickel/gno

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, running bun run lint. From gmickel/gno.

109 3d ago A tokens not measured copy · 100% MIT

SessionStart

102

Xiaoyangy/novel-studio

Hook

One of 5 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing story_codex_hook.py. From Xiaoyangy/novel-studio.

98 +1 1mo ago A tokens not measured original Apache-2.0

PreToolUse

103

Xiaoyangy/novel-studio

Hook

One of 5 in hooks.json

Runs before the agent uses a tool for Bash, apply_patch, Edit, Write and Bash tool calls, executing story_codex_hook.py (2 commands). From Xiaoyangy/novel-studio.

98 +1 1mo ago A tokens not measured copy · 81% Apache-2.0

PostCompact

104

Xiaoyangy/novel-studio

Hook

One of 5 in hooks.json

Runs after the context is compacted for manual and auto tool calls, executing story_codex_hook.py. From Xiaoyangy/novel-studio.

98 +1 1mo ago A tokens not measured original Apache-2.0

SessionEnd

105

lxinfei5/research-os

Hook Claude Code

One of 2 in settings.json

Runs when a session ends, executing social_mcp_daemon.sh via bash. From lxinfei5/research-os.

97 4d ago A tokens not measured original MIT

SessionStart

106

frankchu91/mindbase-llm-wiki

Hook

Part of mb

Runs when a session starts on startup, clear and compact, running an inline shell check. From frankchu91/mindbase-llm-wiki.

91 +2 9d ago A tokens not measured copy · 72% MIT

PostToolUse

107

Tako-Research/TakoVM

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, executing lint.sh. From Tako-Research/TakoVM.

87 8d ago A tokens not measured original Apache-2.0

SessionStart

108

tmonk/mcp-stata

Hook

Part of mcp-stata

Runs when a session starts on startup, resume, clear and compact, executing install.sh. From tmonk/mcp-stata.

81 3mo ago C tokens not measured AGPL-3.0

SessionStart

109

kurikomi-labs/komi-learn

Hook

Part of komi-learn

Runs when a session starts, running python -m komi.adapters.claude_code.hook_recall. From kurikomi-labs/komi-learn.

79 2mo ago A tokens not measured original MIT archived

Stop

110

kurikomi-labs/komi-learn

Hook

Part of komi-learn

Runs when the agent finishes a response, running python -m komi.adapters.claude_code.hook_distill. From kurikomi-labs/komi-learn.

79 2mo ago A tokens not measured original MIT archived

PostCompact

111

kurikomi-labs/komi-learn

Hook

Part of komi-learn

Runs after the context is compacted, running python -m komi.adapters.claude_code.hook_compact. From kurikomi-labs/komi-learn.

79 2mo ago A tokens not measured original MIT archived

SessionStart

112

genai-io/san

Hook

Part of test-plugin

Runs when a session starts, running echo 'test-plugin: SessionStart hook triggered' >> /tmp/test. From genai-io/san.

75 6d ago A tokens not measured original Apache-2.0

PostToolUse

113

willdady/platypus

Hook Claude Code

One of 2 in settings.json

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check. From willdady/platypus.

69 yesterday A tokens not measured original MIT

SessionStart

114

matteing/opal

Hook Claude Code

One of 2 in settings.json

Runs when a session starts, executing session-start.sh. From matteing/opal.

59 +1 22d ago A tokens not measured copy · 52% MIT

SessionStart

115

zdt1013/ai-git-commiter

Hook Claude Code

One of 5 in settings.json

Runs when a session starts on startup, resume, clear and compact, running node. From zdt1013/ai-git-commiter.

54 27d ago A tokens not measured original MIT

UserPromptExpansion

116

zdt1013/ai-git-commiter

Hook Claude Code

One of 5 in settings.json

Runs to expand your prompt before the agent sees it for spec-plan tool calls, running node. From zdt1013/ai-git-commiter.

54 27d ago A tokens not measured original MIT

PreToolUse

117

zdt1013/ai-git-commiter

Hook Claude Code

One of 5 in settings.json

Runs before the agent uses a tool for Write, Edit and MultiEdit tool calls, running node. From zdt1013/ai-git-commiter.

54 27d ago A tokens not measured original MIT

SessionStart

118

janbjorge/rekal

Hook

Part of rekal-skills

Runs when a session starts, running uvx --from rekal==3.4.0 rekal hook session-start. From janbjorge/rekal.

53 8d ago A tokens not measured original MIT

UserPromptSubmit

119

janbjorge/rekal

Hook

Part of rekal-skills

Runs when you submit a prompt, before the agent sees it, running uvx --from rekal==3.4.0 rekal hook user-prompt-submit. From janbjorge/rekal.

53 8d ago A tokens not measured original MIT

PreToolUse

120

janbjorge/rekal

Hook

Part of rekal-skills

Runs before the agent uses a tool for Edit, Write and Read tool calls, running uvx --from rekal==3.4.0 rekal hook block-memory-writes (2 commands). From janbjorge/rekal.

53 8d 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: