really easy, make a skill, make it so it doesn't do anything , doesn't target any1.
make 1 of those skills for every hero you have or will have in your party that might use it.
for each of those skills make a common event and do -hp and +sp stat change inside the common event damaging and healing the respective user of the skill
and then of course link the skills to the common events.