This can also be applied to perks, but I'm not sure if there's already one out there that does it?
Auto Perk Stats Level (mods/3198) is the one I used to use which does do perks, could be worth checking out.
You can disable each part as you like and it is very configurable, the .ini might give you some ideas for your own implimentation.
My only real issue with it as an auto HMS mod was that I failed to find a good config balance for using Elys Uncapper and keeping it viable at low levels.
I think you should pick values that ensure you are viable at lower levels and not worry too much about whether that makes characters stronger at a theoretical level 100, as by that point balance is self imposed anyway.
I'm assuming this will be dynamic as the skills change?
Can you use floating point values for this?
eg. if a magicka skill could give .3 health and .7 magicka, block might want to give .5 each to health and stamina, archery .7 stamina .3 health, etc.
Edit: The example numbers being ratios rather than actual values as I think they would need to be quite a lot lower.
Edit2: Or higher, therein lies the balance
