One thing not clear from readme: Will it detect if it's in a TTY or might it also trigger from commands triggered inside shell scripts?
Commands within a shell script won’t be handled by it.
Similarly cron jobs don’t typically run with a full user environment, unless you’ve gone out of your way to make them, so would be safe.