We constructed a new predictive nomogram incorporating KLRG1 of CD8<sup>+</sup> Tcm and PD-1 of CD8<sup>+</sup> Tnaive as key variables, which can enhance the predictive value for AF recurrence in patients after CBA surgery. The gene discussed is CD8A; the disease is atrial fibrillation.