Reaction of the anhydrous compound with sodium cyclopentadienide gives cobaltocene . This 19-electron species is a good reducing agent, being readily oxidised to the yellow 18-electron cobaltocenium cation .