how to add Curves on a skeletal mesh programatically

how to add curves here on skeletal mesh or skeleton asset with python.