context optimization hooks

6 tagged context optimization, measured the same way as everything else here.

Browse within: sqlite 5summarization 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

PostToolUse

02

JubaKitiashvili/context-mem

Hook

Runs after a tool call finishes for Bash, Read, Write, Edit, Grep and Glob tool calls, executing activity-journal.js, context-mem-hook.js and proactive-inject.js via node (3 commands). From JubaKitiashvili/context-mem.

18 4mo ago A tokens not measured original MIT

UserPromptSubmit

03

JubaKitiashvili/context-mem

Hook

Runs when you submit a prompt, before the agent sees it, executing user-prompt-hook.js via node. From JubaKitiashvili/context-mem.

18 4mo ago A tokens not measured original MIT

PreCompact

04

JubaKitiashvili/context-mem

Hook

Runs before the context is compacted, executing context-mem-precompact.js via node. From JubaKitiashvili/context-mem.

18 4mo ago A tokens not measured original MIT