Kosmo was Minister of Defence from 1993 to 1997 and Minister of Labour and Government Administration from 2000 to 2001. Kosmo was in 2004 appointed County Governor of Telemark, but could not take over the position while he was member of parliament. From 1979 to 1985 he was member of the municipal council of Horten, the last 2 years as mayor.