context compaction hooks

11 tagged context compaction, measured the same way as everything else here.

Browse within: agent-framework 7agent-memory 7

UserPromptSubmit

01

soolaugust/vMem

Hook

Runs when you submit a prompt, before the agent sees it, executing prompt_budget_guard.py, parallel_hint.py, writer.py and retriever_wrapper.sh via python3 (4 commands). From soolaugust/vMem.

5 1mo ago A tokens not measured

PostToolUse

02

soolaugust/vMem

Hook

Runs after a tool call finishes for Bash, Read, Grep, Glob, Write, Edit, MultiEdit, Agent, WebFetch, WebSearch, Bash, Read, Grep, Glob, Write, Edit, MultiEdit and Agent tool calls, executing posttool_guard.py, tool_profiler.py, task_result_collector.py and posttool_observers.js via python3 (4 commands). From…

5 1mo ago A tokens not measured

Stop

03

soolaugust/vMem

Hook

Runs when the agent finishes a response, executing extractor.py, output_governor.py, derive_rules.py and stop_coalesced.js via python3 (4 commands). From soolaugust/vMem.

5 1mo ago A tokens not measured

PreCompact

04

kenimo49/compact-ops

Hook

Runs before the context is compacted, executing precompact-backup.sh and precompact-state.sh via bash (2 commands). From kenimo49/compact-ops.

3 27d ago A tokens not measured copy · 59% MIT

PostCompact

05

kenimo49/compact-ops

Hook

Runs after the context is compacted, executing postcompact-reset.sh via bash. From kenimo49/compact-ops.

3 27d ago A tokens not measured original MIT

SessionStart

06

kenimo49/compact-ops

Hook

Runs when a session starts on compact and resume, executing sessionstart-recovery.sh via bash. From kenimo49/compact-ops.

3 27d ago A tokens not measured original MIT