I'm by no means an expert with Data but I may be able to help you.
From what I understand you want an ability that is unlocked through an upgrade on the Templar Archives, much like Psi Storm works. Simply give the ability to the unit and have the upgrade unlock it via have/learn requirements. For the ability, just use a buff behavior to apply the stat bonuses, and have it drain energy under the vital regen bonus scaled section under the Units tab of the behavior (use a negative number to drain vitals). Then use have energy/can use energy validators tagged to the behavior. I'm not really sure how to put the unit at 1HP but it's probably very simple.
Regarding the green glow, just use an animation style one shot event.
Remember you can always look at how similar default abilities are made and "reverse engineer" them. You can copy how Stimpack was made for the stat increase, then look up Ghost Cloaking to find out how to drain energy. Look up Blink for the upgrade/unlocking ability as well as ability animation method.