One of the alleged masterminds of an attack by a Pakistani separatist group on the Chinese Consulate in Karachi last month has been killed in Afghanistan along with five associates, the insurgent group that claimed the attack said on Wednesday.