context-window hooks

4 tagged context-window, measured the same way as everything else here.

Browse within: agentskills 13claude-code-skill 13token-optimization 13token-usage 13context-compression 10claude-code-plugin 9ai-coding 7ast 7hooks 7observability 7ai-agent-tools 6ai-tools 6cli 6codex-plugin 6

PreToolUse

01

hehee9/codex-compressor

Hook Claude Code

One of 4 in hooks.json

Runs before the agent uses a tool for ^new_context$ tool calls, executing launch.py via python3. From hehee9/codex-compressor.

not rated 10 1mo ago A tokens not measured original Apache-2.0

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: