Phosphine coordination to a cobalt diimine-dioxime catalyst increases stability during light-driven H2 production.