Looks great! Thanks so much for coding this up. I hope it makes it into the codebase soon.
One minor point - would it be possible to exclude the badges such as “First Mention,” which are normally granted automatically as opposed to manually?
Also, if possible, order the badge list by the count of manual grants for each badge (most commonly-granted badges at the top of the list)?