Auto-translated
It would be possible to introduce a certain coefficient to determine the strength of an ability.
For example, something like this:
(([cost] + [base increase]) x [number of resources in the cost, if there are none - do not multiply]) x [creature tier x 2]
And, for example, then make calculations (I'll take a non-existent one now, because I don't remember the specific numbers).
Monks have the Fireball spell.
One monk costs 500, the base increase is 5. There are 0 resources. The tier of monks is 5 (6 paladins, 7 archangels).
5 x 500 = 2500 x (5 x 2) = 25000.
Cave demons cost 620, the increase is 4, the tier is 7.
[620 x 4] = 2480 x 14 = 34720
And assign, for example, such coefficients:
For every 5000 units - +10 to the base damage per creature.
If the coefficient is <15,000, then there is no skill.
From 15 to 20 - basic skill.
From 20 to 30 - advanced skill.
From 30 and above - expert skill.
I just sketched this out, there may be inaccuracies, but I think I was able to convey the general concept.