I probably won't be of any help, but there's a primitive way to do something like this with events.
What you can do is make an item called "Skill Point". Random enemies can drop one each, while you use events to make scripted battles give more. Then you can exchange them for abilities somewhere.
But that's probably not what you want. But if no one helps you, you can use this idea.