by Aleksandra Otwinowska, Janusz Koszucki, Vyshakh R. Panicker, Jade Leconte, Sebastian Olejniczak, Kathryn E. Holt, Edward J. Feil, Eduardo P. C. Rocha, Bogna Smug, Barbara Maciejewska, Zuzanna Drulis-Kawa, Rafal J. Mostowy Virulent bacteriophages infecting Klebsiella pneumoniae often show capsule-driven host tropism due to the presence of capsule-specific depolymerases. Yet for temperate phages the genetic and functional basis of such capsular specificity remains less well understood. Depolymerases appear unexpectedly rare in prophage genomes, raising unresolved questions about which prophage genes mediate capsular specificity, whether this apparent scarcity reflects biological or ecological differences versus annotation limitation, and whether prophage-encoded receptor-binding proteins (RBPs) are functionally active. To address these questions, we analysed 3,900 Klebsiella genomes from diverse ecological niches to identify prophage-encoded proteins mediating capsular specificity. We