Skip to content
Development
Hook

Hooks

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

From plugin
loopcraft
34 skills1 agent3 hooks
Install
> /plugin marketplace add hiphapis/loopcraft
> /plugin install loopcraft@loopcraft

Ships with loopcraft. 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.

  • bash "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/session-start.sh"

Stop

  • bash "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/stop-gate.sh"

PreCompact

  • bash "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pre-compact.sh"
Read hooks/hooks.json
Ships withloopcraft

Loop engineering plugin for Claude Code — instead of steering the model with ever-longer prompts, design loops where it self-corrects from environment feedback and accumulates memory across sessions.

Get the whole plugin
Stats
3
Stars
0
Forks
Maintained
Maintenance
Shell
Language
2mo ago
Last commit
2mo ago
Created

Repo: hiphapis/loopcraft