The caseinolytic protease (ClpP) is part of a highly conserved proteolytic complex whose disruption can lead to antibacterial activity but for which few specific inhibitors have been discovered. Specialized metabolites produced by bacteria have been shaped by evolution for specific functions, making them a potential source of selective ClpP inhibitors. Here, we describe a target-directed genome mining strategy for discovering ClpP-interacting compounds by searching for biosynthetic gene clusters that contain duplicated copies of ClpP as putative antibiotic resistance genes. We identify a widespread family of ClpP-associated clusters that are known to produce pyrrolizidine alkaloids but whose connection to ClpP has never been made. We show that previously characterized molecules do not affect ClpP function but are shunt metabolites derived from the genuine product of these gene clusters, a reactive covalent ClpP inhibitor. Focusing on one such cryptic gene cluster from Streptomyces cattleya, we identify the relevant inhibitor, which we name clipibicyclene, and show that it potently and selectively inactivates ClpP. Finally, we solve the crystal structure of clipibicyclene-modified Escherichia coli ClpP. Clipibicyclene's discovery reveals the authentic function of a family of natural products whose specificity for ClpP and abundance in nature illuminate the role of eco-evolutionary forces during bacterial competition. Targeted-directed genome mining identified a widespread family of bacterial ClpP-associated clusters whose active products previously eluded detection. One of these clusters from Streptomyces cattleya produces clipibicyclene that selectively inactivates ClpP and may play a role in bacterial competition.