Martial Mastery #Microfeats
Martial Mastery. Prereq: Base attack bonus +1, Knowledge (local) 1 rank. Once per round as a free action you may make a Knowledge (local) check regarding a creature you have seen take an attack or full attack action. The DC for this check is equal to the Knowledge DC to identify it. If you succeed you learn 1 combat feat possessed by the target. For every 2 by which you make the check, you learn 1 additional combat feat possessed by the target.
Additionally, when determining prerequisites for feats, you treat your ability scores as being higher by an amount equal to your base attack bonus. #Microfeats