This study advances melanoma diagnostics and BRAF mutation prediction by employing a data-efficient framework that integrates the Prov-GigaPath foundation model with a gradient-boosting (XGBoost) classifier. This evidence concerns the gene BRAF and melanoma.