Is it safe to eat an onion with small dots of blue mold on the skin?

It is not recommended to consume an onion with small dots of blue mold on the skin. Blue mold can produce toxins that can cause health issues such as respiratory problems and gastrointestinal issues. It's best to discard any onions that have visible mold growth and avoid consuming them even if the spots appear small or superficial.