Skip to content
Agent Orchestration
Hook

Hooks

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

From plugin
hoyeon
17337 skills29 agents7 hooks
Install
> /plugin marketplace add team-attention/hoyeon
> /plugin install hoyeon@team-attention-dev

Ships with hoyeon. Installing the plugin gets these hooks.

What fires, and when

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.

  • ${CLAUDE_PLUGIN_ROOT}/scripts/cli-version-sync.sh
  • Matchescompact${CLAUDE_PLUGIN_ROOT}/scripts/session-compact-hook.sh

PreToolUse

  • MatchesSkill${CLAUDE_PLUGIN_ROOT}/scripts/skill-session-init.sh${CLAUDE_PLUGIN_ROOT}/scripts/rulph-init.sh
  • MatchesEdit|Write${CLAUDE_PLUGIN_ROOT}/scripts/skill-session-guard.sh${CLAUDE_PLUGIN_ROOT}/scripts/ralph-dod-guard.sh

PostToolUse

  • MatchesTask|Skill${CLAUDE_PLUGIN_ROOT}/scripts/validate-output.sh
  • MatchesGrep|Glob|WebFetch|Bash${CLAUDE_PLUGIN_ROOT}/scripts/tool-output-truncator.sh

PostToolUseFailure

  • MatchesEdit|Write${CLAUDE_PLUGIN_ROOT}/scripts/edit-error-recovery.sh
  • MatchesRead${CLAUDE_PLUGIN_ROOT}/scripts/large-file-recovery.sh
  • ${CLAUDE_PLUGIN_ROOT}/scripts/tool-failure-tracker.sh

Stop

  • ${CLAUDE_PLUGIN_ROOT}/scripts/ultrawork-stop-hook.sh${CLAUDE_PLUGIN_ROOT}/scripts/skill-session-stop.sh${CLAUDE_PLUGIN_ROOT}/scripts/rv-validator.sh${CLAUDE_PLUGIN_ROOT}/scripts/rulph-stop.sh${CLAUDE_PLUGIN_ROOT}/scripts/ralph-stop.sh

SessionEnd

  • ${CLAUDE_PLUGIN_ROOT}/scripts/skill-session-cleanup.sh

UserPromptSubmit

Fires before Claude sees each prompt you send. A plugin can use it to inject context, so the same instruction reaches the model every turn instead of only at session start.

  • ${CLAUDE_PLUGIN_ROOT}/scripts/ultrawork-init-hook.sh${CLAUDE_PLUGIN_ROOT}/scripts/skill-session-init.sh${CLAUDE_PLUGIN_ROOT}/scripts/rv-detector.sh
Read hooks/hooks.json
Ships withhoyeon

All you need is requirements. A Claude Code plugin that derives requirements from your intent, verifies every derivation, and delivers traced code — without you writing a plan. AI can build anything. The hard part is knowing what to build — precisely.

Get the whole plugin