Knocking down or overexpressing SPP1 correspondingly alters M2 gene expression in macrophages.<h4>Conclusions</h4>This study establishes a pan-skin cancer immune remodelling framework, providing a foundation for biomarker discovery and the development of new immunotherapy strategies. This evidence concerns the gene SPP1 and skin neoplasm.