Skip to content
Development
Hook

Hooks

What hi-vibe runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
hi-vibe
36 skills2 agents10 commands6 hooks
Install
> /plugin marketplace add jx-hxxx/hi-vibe
> /plugin install hi-vibe@hi-vibe-marketplace

Ships with hi-vibe. Installing the plugin gets these hooks.

What fires, and when

PreToolUse

  • MatchesBashpython3 "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pre_commit_gate.py"

PostToolUse

  • MatchesWrite|Edit|MultiEditpython3 "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/post_write_guard.py"

SessionStart

Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.

  • Matchesstartup|resume|compact|clearpython3 "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/session_start.py"

PreCompact

  • Matchesmanual|autopython3 "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pre_compact.py"

SessionEnd

  • Matchesclear|prompt_input_exit|resume|logoutpython3 "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/session_end.py"

Stop

  • python3 "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/stop_nudge.py"python3 "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/answer_gate.py"
Read hooks/hooks.json

In the plugin's words

How hi-vibe describes its own hook set.

hi-vibe: compact 직전·/clear·세션 종료 시 handover 자동 기록, 세션 시작 컨텍스트 주입, 에러 삼킴 감지, 리뷰 안 받은 변경 자동 리뷰, 커밋 직전 설계 검토, 답변 말투·비유·근거 검사
Ships withhi-vibe

The vibe-coding seatbelt for Claude Code — catches AI coding mistakes · 바이브코딩 안전벨트, AI 코딩 실수를 막는 플러그인

Get the whole plugin, auto-invoked