Been looking around for a while and so far I've found:
Player.GetAV Smithing
but I haven't been able to find a way to add in perks and equipment modifiers. For instance, if I was trying to get my smithing skill for daedric equipment when I have the perk and a 25% smithing increase on my gloves.
guidance greatly appreciated