Taken together, our spatial transcriptomics analysis supported that the XCL1+ CD8+ T cells could communicate with NK and myeloid cells to play an anti-tumor immunity role in HCC. Here, CD8A is linked to hepatocellular carcinoma.