Please rewrite the following text to remove grammatical errors:
A secret agent works undercover, so his most important quality is possessing great skill in lying.
A secret agent works undercover, so his most important quality is possessing great skill at lying.