Some CoreItems.xml have modifiers such as these
<GameModifier>
<ModType>Unit</ModType>
<Attribute>UseSpell</Attribute>
<StrVal>Escape_Ability</StrVal>
<Provides>Allows the unit to cast Escape, which allows you army to escape from tactical combat to your capital</Provides>
</GameModifier>
I never tried using them inside a spell but its worth a try.