cli plugin hooks

14 tagged cli plugin, measured the same way as everything else here.

Browse within: context-management 6

PreToolUse

01

egorfedorov/claude-context-optimizer

Hook

Runs before the agent uses a tool for Read tool calls, executing read-cache.js and context-shield.js (2 commands). From egorfedorov/claude-context-optimizer.

102 7d ago A tokens not measured original MIT

PostToolUse

02

egorfedorov/claude-context-optimizer

Hook

Runs after a tool call finishes for Edit, Write, Bash, Read, Edit, Write, Glob, Grep, Agent and mcp__.* tool calls, executing read-cache.js and tracker.js (2 commands). From egorfedorov/claude-context-optimizer.

102 7d ago A tokens not measured original MIT

PreCompact

03

egorfedorov/claude-context-optimizer

Hook

Runs before the context is compacted, executing read-cache.js and tracker.js (2 commands). From egorfedorov/claude-context-optimizer.

102 7d ago A tokens not measured original MIT

PreToolUse

04

lgbarn/shipyard

Hook Claude Code

Runs before the agent uses a tool for Edit and Write tool calls, running an inline shell check. From lgbarn/shipyard.

65 1mo ago A tokens not measured original MIT

PostToolUse

05

lgbarn/shipyard

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check. From lgbarn/shipyard.

65 1mo ago A tokens not measured original MIT

TaskCompleted

06

lgbarn/shipyard

Hook

Runs when a task is marked completed, executing task-completed.sh. From lgbarn/shipyard.

65 1mo ago A tokens not measured original MIT

UserPromptSubmit

07

ww-w-ai/super-token-saver

Hook

Runs when you submit a prompt, before the agent sees it, executing cache-expiry-check.sh. From ww-w-ai/super-token-saver.

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

SessionStart

08

ww-w-ai/super-token-saver

Hook

Runs when a session starts on compact, executing statusline-version-check.sh, git-context-lite.sh and s-continue-after-compact.sh (4 commands). From ww-w-ai/super-token-saver.

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