potato peelings can provide this when the buds in the eyes of potato skins grow into potato plants. to ensure that the peelings don't sprout, bury them well down in the compost and ensure that you turn the heap regularly. if you do this, it is fine to compost the peelings.