Using an XP pool to dump into skills


I would like to use skill points to unlock skills and use an xp pool to level up the skills. I know you need a Variable for Current XP and XP Pool as well as Needed XP for the level. I am not sure how to build the function for dump xp into your skills instead of skill points.