Convert 3dm to skp

Is there any python or javascript library that can help in converting 3dm to skp file?

Sure, there is file.io tools in Python.

There are classes for each file format.

It requires local rhino setup. Can it be made to work from external environment like AWS lambda?

Not lambda specifically. But AWS, yes.