Normally, skin to skin requires a break in the skin - herpes certainly would, for example, but monkeypox doesn't require that.
All you need to do is come into contact with monkeypox rash, scabs, or body fluids from a person with monkeypox. It also spreads from respiratory secretions, and on surfaces.
If you are high risk, you might talk to your doctor about getting the vaccine for it.