The correct syntax for that script call should be
if your actor has the id #1.
Code:
$gameActors.actor(1).initSkills()
$gameActors.actor(1).initSkills()
Original thread: https://forums.rpgmakerweb.com/threads/class-changes-but-skills-wont.92542/