Hello Michael,
I am also new to hook and I am also wondering how to use hook in shell. From Brett (@ttscoff) there is a command line interface to hook’s apple script:
A Hook CLI for Terminal goodness - Showcases and Use Cases - Hook Productivity Forum
In vim then for example :!hook find something
.
You might be able to build on that.