• Two distinct states of CD8+ T cells were defined by clustering and associated with patient tumor regression or progression; • TCF7 was visualized within CD8+ T cells in fixed tumor samples and predicted positive clinical outcome. Here, CD8A is linked to neoplasm.