Recent years have seen the emergence of conditionally activated diagnostics and therapeutics that leverage protease-cleavable peptide linkers to enhance their specificity for cancer. However, due to a lack of methods to measure and localize protease activity directly within the tissue microenvironment, the design of protease-activated agents has been necessarily empirical, yielding suboptimal results when translated to patients. To address the need for spatially resolve d protease activity profiling in cancer, we developed a new class of in situ probes that can be applied to fresh-frozen tissue sections in a manner analogous to immunofluorescence staining. These activatable zymography probes (AZPs) detected dysregulated protease activity in human prostate cancer biopsy samples, enabling disease classification. We then leveraged AZPs within a generalizable framework to design conditional cancer diagnostics and therapeutics, and demonstrated the power of this approach in the Hi-Myc mouse model of prostate cancer, which models features of early pathogenesis. Multiplexed screening against barcoded substrates yielded a peptide, S16, that was robustly and specifically cleaved by tumor-associated metalloproteinases in the Hi-Myc model. In situ labeling with an AZP incorporating S16 revealed a potential role of metalloproteinase dysregulation in proliferative, pre-malignant Hi-Myc prostatic glands. Last, we incorporated S16 into an in vivo imaging probe that, after systemic administration, perfectly classified diseased and healthy prostates, supporting the relevance of ex vivo activity assays to in vivo translation. We envision AZPs will enable new insights into the biology of protease dysregulation in cancer and accelerate the development of conditional diagnostics and therapeutics for multiple cancer types.