First you should create the curve in the skeleton to be able to set it inside the control rig and use it externally in the ABP etc. :
Once you’ve set the curve you want, go into the control rig and reimport the skeleton (because the curve you just created is not included yet). Once you do that you’ll be able to choose your curve in the dropdown list:
And now you’ll be able to call your value somewhere else: