Here's one I wrote a few years back, that I'm quite fond of. It turns any arbitrary directory tree with individual executables into a "git [X] [Y]" style shell command.
https://github.com/Mister-Meeseeks/subcmd/blob/master/subcmd
https://github.com/Mister-Meeseeks/subcmd/blob/master/subcmd