context-management hooks

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

Browse within: claude-code-plugin 69ai-tools 26LLM 22ai-memory 20coding-agents 19agentic-coding 13ai-coding 13hooks 12codex-cli 10cli 9mcp-server 8dag 7cli-plugin 6delegation 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

PreToolUse

02

ApexIQ/skillsmith

Hook Claude Code

One of 2 in settings.json

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From ApexIQ/skillsmith.

not rated 5 6mo ago A tokens not measured original MIT

SessionStart

03

Kolikkii/token-razor

Hook Claude Code

One of 6 in hooks.json

Runs when a session starts on startup, resume, clear and compact, executing hook.mjs via node. From Kolikkii/token-razor.

not rated 1 2mo 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: