I'm assuming this was quite different from the normal white/yellowish urates (the white portion of the dropping) that reptiles and birds produce? If your skink is indeed male then what you found may have been a sperm plug. They tend to be yellowish and more formed, they become waxy as they dry. Owners of the somewhat larger male lizards like iguanas and beardeds often find these. Blue tongues produce them as well.