A groupoid is a category where every morphism is an isomorphism. Taking its skeleton throws the baby with the water, as you are left with a category where the only morphismsthere are the identities of theno morphisms between different objects, i.e., a bunch of groups or a diagonal groupoid.