run(writer, repo, target_sha) function into ~/.auryn/hooks/. No packaging needed.
Hooks only ever load from your home folder, never from a repository, so ingesting code you don’t trust can’t run one. The worked example is in
docs/authoring-a-hook.md in the Auryn repository.