Maybe someone will be able to offer you more direct help, but to help you work through part of the heavy lifting on this, you would want to build this system into a common event and then apply that common event to ever skill/item.
NOTE: There are a few problems with this method by itself, which is where you might need to do some googling (or maybe another user may be able to help you work around this.
- Most importantly is the way the game handles common events during battle when applied to skills. By default the common event is run after the skill is executed, which for adlib "Hiyah!" quotes would seem to have misplaced timing.
- Applying the common event to items and non-combat skills (field skills) will have the common event run regardless of whether the player is using it in the field or in combat. This might be okay depending on what the text says, but it could also be an unwanted behavior. So, in order to bypass that, you'd need to create a check within the common event to see if the player is in battle or not.
- It's also worth considering the gameplay value this adds. A lot of gamers nowadays find turn-based combat rather slow, and that mostly has to do with all the text, menuing, and waiting for animations to play. Adding additional unnecessary information that will slow the game down even further may be perceived as a nuisance by some gamers. At the very least, if you feel this should be part of your game, I would make sure to either reduce the frequency of these text events and/or providing an option in the menu to disable them entirely.
Create your common event
You can use the "Control Variables..." command to create random behavior. JS wizards might be able to clean this up a little, but for an event solution here is how you would do that:
Set a variable to "RanVar" (or any name that is easy for you to remember it's purpose. The name isn't particularly important other than for remembering and organizing). Put the operation to "Set" (which is the default operation when using variable control) and select the "Random" option from Operand the list below.
It's best to start the RanVar at 0 unless you have a 0 state. I'm going to assume you don't have a 0 state, so in this case, our RanVar will be indexed (meaning 0 is going to be the first entry and 5 will be our sixth entry).
Now at the start of the common event, the game will roll a random variable number between 0 and whatever the maximum you set.
Next create conditional branches for each possible roll. So "If RanVar = 0, do this." "If RanVar = 1, do this." etc...
Inside each conditional, you can set what ever text gets displayed.
For creating custom adlib shouts, you can save text input into a variable string. Then in the text box use the \v[varNumber] to show that string that has been saved to a variable.
One last part to this tutorial, which is on cleaning it up:
First, if you plan to create an option for players to disable this feature (which I highly recommend), at the very tippy-top of this common event you need to set up a conditional.
First, have a switch set up and name it first with exactly <Global Meta>, after the "global meta" tag, you can name the switch whatever you want. So it might look like "<Global Meta> BattleShouts"
You will need to download Olivia's meta controls in order to make this work (without it, the <Global Meta> tag won't work)
I have a tutorial on setting up options in your game that I will link here, but since that's outside the scope of this post, let's just get your common event set up for options later (You can always add the options to your game at a later point, let's just make sure we set the object up to be turned off/on properly)
Now At the top of the common event set the conditional "If <Global Meta> BattleShouts is turned on, ..."
Within this conditional you will build out the logic for the random battle shouts.
To reduce the frequency at which battle shouts happen in battle (so that it doesn't annoy players), you can have the RanVar roll higher than your available options. So let's say, for this example, you want 3 shouts. Let's roll the RanVar 0 - 5 (6 options)
"If RanVar = 0, shout"
"If RanVar = 1, shout"
"If RanVar = 2, shout"
And that's it. If RanVar rolls 3 or higher, there is no logic associated with those higher values effectively bypassing all of the shouts, therefore making shouts only happen 50% of the time.
You technically can create all of this within a single common event, but it's going to be much easier to manage if you build a common event for each type: physical attacks, magic attacks, and items.
You can then attach the common event in the skill/item properties.
So, basically, in order to execute this, you just need to find a plugin that moves when the common event activates when using skills. Surely that must exist already

Although, technically you don't need to that either. If you want to get creative, instead of it being a shout "as the actor executes the skill" it could instead be a cheeky one-line after the attack executes. So instead of "Hiyah!"
slash! it is instead:
slash! "You didn't see that coming, did you? heh, heh, heh."
(but then there's the problems of checking whether the player missed their hit or not...it's never that simple.)
Spoiler: The TL;DR GPT Summary
To add random battle shouts to your RPG Maker game, you can create a common event and use the "Control Variables" command to set a random variable number. Then create conditional branches for each possible roll and set the text to be displayed within each conditional. You can also save text input into a variable string for custom adlib shouts. To prevent annoying players, you can reduce the frequency of battle shouts by having the variable roll higher than the number of available options. It's best to create a common event for each type of attack and attach it to the skill/item properties. However, you may need to do some research to work around some issues, such as the default timing of common events during battle and applying them to non-combat skills. Additionally, consider the gameplay value and provide an option to disable the feature.
edit:
Small edit, added link to my YEP Options tutorial (took me awhile to find it...)