Nanwenzi 南文子 was an advisor of Duke Chu of Wei 衛出公 (r. 476-456). The king of Jin 晉 once presented Duke Chu with a white jade and four hundred horses. Everybody at the court acclaimed, but Nanwenzi was the only person perceiving that Jin planned to attack Wey. He suggested the king to make ready his troops of border defense and was thus able to forestall a surprise attack by Jin.