Genes steadily associated with prognosis define conserved mitotic and immune programs that robustly predict cancer patient survival and therapeutic resistance across tumor types.