<i>shameless plug</i> I have been working on a similar thing in the last few days: <a href="http://github.com/lehmannro/commithero" rel="nofollow">http://github.com/lehmannro/commithero</a><p>It's based on the commit history rather than local actions and should work on Git, Subversion, Mercurial, and Bazaar. I am still low on achievements (about half a dozen implemented) but tried to make the API for third-party achievements <i>as easy as possible</i>; patches welcome!