‎

‎
You can give your Actors the Trait "Auto-Battle" in the Database. This makes them use their skills automatically but at random. For the percentages I think it's the easiest to use a plugin, for example Yanfly's Battle AI Core and Auto Battle AI (not sure if they are still free though).
If you don't want to use Plugins you can accomplish something similar with skill restricting states, but that would be a lot more complicated.

EDIT: The easiest way to have them use a powerful skill just rarely is probably giving it a high TP cost.
Alternativle if you want just simple control over your AI battler, you can use Yanfly's Cooldown plugin. The Vanilla AI will always use their most powerful skills as much as they can afaik. So you can finaggle some cooldowns into their skills and voila you got a more well thought out battler without having too much hassle.
‎

Original thread: https://forums.rpgmakerweb.com/threads/158328/