ast grep hooks

6 tagged ast grep, measured the same way as everything else here.

PostToolUse

01

bhvbhushan/vibecop

Hook Claude Code

Runs after a tool call finishes for Edit, Write and MultiEdit tool calls, running npx vibecop scan --diff HEAD --format agent. From bhvbhushan/vibecop.

56 4mo ago A tokens not measured original MIT

PostToolUse

02

code-yeongyu/lazyclaudecode

Hook

Runs after a tool call finishes for ^(apply_patch, write, Write, edit, Edit, multi_edit, multiedit and MultiEdit)$ tool calls, executing cli.js via node. From code-yeongyu/lazyclaudecode.

18 3mo ago A tokens not measured original MIT

PreToolUse

03

mmnto-ai/totem

Hook Claude Code

Runs before the agent uses a tool for Write and Edit tool calls, executing PreWriteShield.cjs via node. From mmnto-ai/totem.

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

SessionStart

04

mmnto-ai/totem

Hook Claude Code

Runs when a session starts, executing session-context.mjs and SessionStart.cjs via node (2 commands). From mmnto-ai/totem.

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

PostCompact

05

mmnto-ai/totem

Hook Claude Code

Runs after the context is compacted, executing post-compact.sh via bash. From mmnto-ai/totem.

16 2d ago A tokens not measured copy · 48% Apache-2.0