How create passive skill

How i can create a passive skill that is acquired upon leveling up, appears in the menu, and actually affects the character?

MZ skills can’t hold traits on their own, so a learned skill can’t change the character without a plugin. The one I’d use is VisuStella’s Skills and States Core, which adds a notetag that makes a skill apply a state for as long as the actor has learned it: Skills and States Core VisuStella MZ - Yanfly.moe Wiki

The setup would be something like this:

  1. Make a State that holds the effect in its Traits, like Attack at 110%
  2. Database > Types, add a Skill Type called Passive
  3. Make the skill, set its Skill Type to Passive and its Occasion to Never so it can’t be used, and put this in its Note box with your state’s ID:
    <Passive State: 15>
  4. In the Class, add the skill to Skills to Learn at whatever level it should unlock
  5. Give the Class the trait Add Skill Type: Passive so the Passive list shows in the Skill menu

Learning it from a level up counts as learned, so the state turns on by itself once they hit that level.