Please link to the scripts you're using, because no one can help you without knowing how you created those passive skills and how you modified the battle commands.
Err, sorry. Yanfly's direct links are dead still. Here is the
GITHUB.
I'm using, for purposes of the passive skills:
Yanfly Engine Ace - Learn Skills Script
Yanfly Engine Ace - Battle Command List
CP Passive Skills Script
I've removed Battle Command List since it wasn't doing what I needed it to do.
Basically, using an example, I set up a [sTATE] called [increased Fortitude] and gave it the parameter of [MHP*110%]
I then created a skill called [Max HP Increase] with the a note directing it to "launch" the [increased Fortitude] state.
I created a skill group called PASSIVES and chucked all the passive skills/feats into it.
Now when I open up the menu in game, I can learn the skill, but in battle it shows PASSIVES as an available battle command.
When I tried to remove it using Battle Command List, following the header instructions, all it did was leave the PASSIVES box empty instead of having the PASSIVE command hidden. I tried using the function to use a custom battle command (also using header information in the script) and it did remove the command from battle, but it also removed it from the main menu.