code analysis hooks

43 tagged code analysis, measured the same way as everything else here.

Browse within: code-intelligence 8ast 7call-graph 6

PreToolUse

01

optave/ops-codegraph-tool

Hook Claude Code

Runs before the agent uses a tool for Bash, Read and Grep tool calls, executing snapshot-pre-bash.sh, check-readme.sh, guard-git.sh, guard-pr-body.sh, commitlint-local.sh, pre-commit.sh, lint-staged.sh and enrich-context.sh with --show-toplevel (9 commands). From optave/ops-codegraph-tool.

92 3d ago A tokens not measured original Apache-2.0

PostToolUse

02

optave/ops-codegraph-tool

Hook Claude Code

Runs after a tool call finishes for Edit, Write and Bash tool calls, executing update-graph.sh, track-edits.sh, track-bash-writes.sh, track-moves.sh and post-git-ops.sh with --show-toplevel (5 commands). From optave/ops-codegraph-tool.

92 3d ago A tokens not measured copy · 94% Apache-2.0

PreToolUse

03

userFRM/rpg-encoder

Hook Claude Code

Runs before the agent uses a tool for Write and Edit tool calls, running an inline shell check. From userFRM/rpg-encoder.

33 3mo ago A tokens not measured original MIT

PostToolUse

04

userFRM/rpg-encoder

Hook Claude Code

Runs after a tool call finishes for Bash tool calls, running an inline shell check. From userFRM/rpg-encoder.

33 3mo ago A tokens not measured original MIT

Stop

05

userFRM/rpg-encoder

Hook Claude Code

Runs when the agent finishes a response, running an inline shell check. From userFRM/rpg-encoder.

33 3mo ago A tokens not measured original MIT

PreToolUse

06

MercurieVV/ScalaSemantic

Hook Claude Code

Runs before the agent uses a tool for Read, Grep, Glob and Bash tool calls, executing scala-semantic-guard.sh. From MercurieVV/ScalaSemantic.

22 2d ago A tokens not measured original MIT

PostToolUse

07

MercurieVV/ScalaSemantic

Hook Claude Code

Runs after a tool call finishes for Read, Edit, Write, MultiEdit, Grep, Glob and Bash tool calls, executing log-scala-interaction.py via python3. From MercurieVV/ScalaSemantic.

22 2d ago A tokens not measured original MIT

PreCompact

08

Loctree/loctree

Hook

Runs before the context is compacted, executing aicx-precompact.sh. From Loctree/loctree.

9 yesterday A tokens not measured

SessionStart

09

Loctree/loctree

Hook

Runs when a session starts on compact, executing aicx-postcompact.sh. From Loctree/loctree.

9 yesterday A tokens not measured

PreToolUse

10

PierreJanineh/TechDebtMCP

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing block-npm-publish.sh. From PierreJanineh/TechDebtMCP.

7 1mo ago A tokens not measured original MIT

PostToolUse

11

PierreJanineh/TechDebtMCP

Hook Claude Code

Runs after a tool call finishes for Edit and Write tool calls, executing check-tools-manifest-sync.sh. From PierreJanineh/TechDebtMCP.

7 1mo ago A tokens not measured original MIT

PreToolUse

12

MohmmedAshraf/symbiote

Hook

Runs before the agent uses a tool, executing symbiote-hook.sh via bash. From MohmmedAshraf/symbiote.

5 5mo ago A tokens not measured original MIT

PostToolUse

13

MohmmedAshraf/symbiote

Hook

Runs after a tool call finishes, executing symbiote-hook.sh via bash. From MohmmedAshraf/symbiote.

5 5mo ago A tokens not measured original MIT

PostToolUseFailure

14

MohmmedAshraf/symbiote

Hook

Runs when a tool call fails, executing symbiote-hook.sh via bash. From MohmmedAshraf/symbiote.

5 5mo ago A tokens not measured original MIT

UserPromptSubmit

15

rhi-zone/normalize

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing inject-orchestrator-rules.sh, inject-style-rules.sh, post-history.sh and plan-envelope-antibody.sh (4 commands). From rhi-zone/normalize.

5 3d ago A tokens not measured original Apache-2.0

PreToolUse

16

rhi-zone/normalize

Hook Claude Code

Runs before the agent uses a tool for Agent, SendMessage, Bash, Bash, Agent, Workflow and Agent tool calls, executing inject-subagent-identity-agent.sh, block-blocking-bash.sh, block-runaway-find.sh, enforce-cost-tier.sh, block-mainsession-exploration.sh and require-explicit-agent-type.sh (6 commands). From…

5 3d ago A tokens not measured copy · 41% Apache-2.0

SubagentStart

17

rhi-zone/normalize

Hook Claude Code

Runs when a subagent starts, executing subagent-context-start.sh. From rhi-zone/normalize.

5 3d ago A tokens not measured original Apache-2.0

UserPromptSubmit

18

semihkayan/codeweave-mcp

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing inject-base-rules.py. From semihkayan/codeweave-mcp.

4 3mo ago A tokens not measured original Apache-2.0

PreToolUse

19

semihkayan/codeweave-mcp

Hook Claude Code

Runs before the agent uses a tool for Agent and ExitPlanMode tool calls, executing inject-rules-into-subagent.py and plan-review-gate.py (2 commands). From semihkayan/codeweave-mcp.

4 3mo ago A tokens not measured original Apache-2.0

PostToolUse

20

semihkayan/codeweave-mcp

Hook Claude Code

Runs after a tool call finishes for ExitPlanMode and EnterPlanMode tool calls, executing implementation-router.py and init-plan-mode.py (2 commands). From semihkayan/codeweave-mcp.

4 3mo ago A tokens not measured original Apache-2.0

SessionStart

21

ch015/code-pentester

Hook

Runs when a session starts, executing session-start.js via node. From ch015/code-pentester.

4 13d ago A tokens not measured copy · 55% MIT

PreToolUse

22

ch015/code-pentester

Hook

Runs before the agent uses a tool for Read, Edit, Write, MultiEdit, NotebookEdit, Bash, Grep and Glob tool calls, executing pre-tool-use.js and report-gate-hook.js via node (11 commands). From ch015/code-pentester.

4 13d ago A tokens not measured original MIT

Stop

23

ch015/code-pentester

Hook

Runs when the agent finishes a response, executing on-stop.js via node. From ch015/code-pentester.

4 13d ago A tokens not measured original MIT

SessionStart

24

miltonian/cartographer

Hook

Runs when a session starts on startup, resume, clear and compact, executing session-context.sh. From miltonian/cartographer.

1 2mo ago A tokens not measured original MIT