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.
Install
$ npx -y skills add hiphapis/loopcraft --agent claude-codeShips 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.
- Runs session-start.sh".
Stop
- Runs stop-gate.sh".
PreCompact
- Runs pre-compact.sh".
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, auto-invoked

