bm25 hooks

29 tagged bm25, measured the same way as everything else here.

Browse within: clean-architecture 6code-graph 6code-intelligence 6embeddings 6knowledge-management 6context-management 5context-retrieval 5hooks 5llm-tools 5

UserPromptSubmit

01

Madhan230205/token-reducer

Hook

Runs when you submit a prompt, before the agent sees it, executing userprompt_guard.py via python. From Madhan230205/token-reducer.

44 4mo ago A tokens not measured original MIT

PreToolUse

02

sagarmk/beacon-plugin

Hook

Runs before the agent uses a tool for Grep and Bash tool calls, executing grep-intercept.js via node. From sagarmk/beacon-plugin.

43 12d ago A tokens not measured original MIT

SessionStart

03

sagarmk/beacon-plugin

Hook

Runs when a session starts, executing ensure-deps.js, sync.js and session-context.js via node (3 commands). From sagarmk/beacon-plugin.

43 12d ago A tokens not measured original MIT

PostToolUse

04

sagarmk/beacon-plugin

Hook

Runs after a tool call finishes for Write, Edit, MultiEdit and Bash tool calls, executing embed-file.js and gc.js via node (2 commands). From sagarmk/beacon-plugin.

43 12d ago A tokens not measured original MIT

SessionEnd

05

XBlueSky/cortexes

Hook

Runs when a session ends, executing session-end-record.sh via bash. From XBlueSky/cortexes.

20 26d ago A tokens not measured copy · 86% Apache-2.0

SessionStart

06

XBlueSky/cortexes

Hook

Runs when a session starts, executing session-start-inject.sh via bash. From XBlueSky/cortexes.

20 26d ago A tokens not measured copy · 55% Apache-2.0

SessionStart

07

memtomem/memtomem

Hook

Runs when a session starts, running uv. From memtomem/memtomem.

13 2d ago A tokens not measured original Apache-2.0

UserPromptSubmit

08

memtomem/memtomem

Hook

Runs when you submit a prompt, before the agent sees it, running uv. From memtomem/memtomem.

13 2d ago A tokens not measured original Apache-2.0

PostToolUse

09

memtomem/memtomem

Hook

Runs after a tool call finishes for Write and Edit tool calls, running uv. From memtomem/memtomem.

13 2d ago A tokens not measured original Apache-2.0

UserPromptSubmit

10

teimurjan/lethe

Hook

Runs when you submit a prompt, before the agent sees it, executing refresh-index.sh via bash. From teimurjan/lethe.

11 1mo ago A tokens not measured copy · 61% MIT

Setup

11

pluto2060/CTX

Hook

Runs once when the project is set up, executing get-pip.py via bash with --upgrade and --quiet. From pluto2060/CTX.

9 3mo ago A tokens not measured original MIT

SessionStart

12

pluto2060/CTX

Hook

Runs when a session starts, executing vec-daemon.py via bash. From pluto2060/CTX.

9 3mo ago A tokens not measured original MIT

UserPromptSubmit

13

pluto2060/CTX

Hook

Runs when you submit a prompt, before the agent sees it, executing chat-memory.py, bm25-memory.py and memory-keyword-trigger.py with --rich (3 commands). From pluto2060/CTX.

9 3mo ago A tokens not measured original MIT

PreToolUse

14

cdeust/ai-architect-mcp-codebase

Hook Claude Code

Runs before the agent uses a tool for Bash, Bash, Bash, Edit, Write, Edit and Write tool calls, executing pre-commit-zetetic.sh, pre-push-review.sh, pre-push-provenance.sh, pre-edit-layer-check.sh and pre-tool-claim-gate.sh (5 commands). From cdeust/ai-architect-mcp-codebase.

4 2d ago A tokens not measured original MIT

PostToolUse

15

cdeust/ai-architect-mcp-codebase

Hook Claude Code

Runs after a tool call finishes for Bash, Bash, Edit, Write, WebFetch and WebSearch tool calls, executing post-commit-difficulty.sh, post-commit-lab-notebook.sh, post-edit-balance.sh and post-research-provenance.sh (4 commands). From cdeust/ai-architect-mcp-codebase.

4 2d ago A tokens not measured original MIT

SessionStart

16

cdeust/ai-architect-mcp-codebase

Hook Claude Code

Runs when a session starts, executing session-start.sh and session-start-research.sh (2 commands). From cdeust/ai-architect-mcp-codebase.

4 2d ago A tokens not measured original MIT

UserPromptSubmit

17

albedoweb/agmem

Hook

Runs when you submit a prompt, before the agent sees it, executing agmem-hook.sh. From albedoweb/agmem.

2 1mo ago A tokens not measured copy · 64% Apache-2.0

SessionStart

18

Reikor-Arg/inmemory

Hook

Runs when a session starts on startup, resume, clear and compact, executing run.sh via sh. From Reikor-Arg/inmemory.

1 1mo ago A tokens not measured original MIT

UserPromptSubmit

19

Reikor-Arg/inmemory

Hook

Runs when you submit a prompt, before the agent sees it, executing run.sh via sh. From Reikor-Arg/inmemory.

1 1mo ago A tokens not measured original MIT

PreToolUse

20

Reikor-Arg/inmemory

Hook

Runs before the agent uses a tool for Skill, Read, Edit, Write and NotebookEdit tool calls, executing run.sh via sh (2 commands). From Reikor-Arg/inmemory.

1 1mo ago A tokens not measured original MIT