How do you add a skill that boosts the power of another skill but resets after battle

I am working on a game and have run into an issue. An possible party member has a skill that is supposed to boost the power of another skill (fine, easy enough). However, I need the counter to reset at the end of battle since otherwise someone could grind the counter on weak enemies and then instakill a boss (also it makes more sense for the energy to be lost after battle). I cant use TP for this since I am already using it for something else currently.
Well you can make the boost skill boost a specific element, the offensive skill's attack element in this case which would reset after battle and if you want them to be mutually exclusive you can make up a new attack element only for that skill.

The other route is in case the boost skill "stacks" its boost, in which case you will need a variable that adds up on the boost skill use and then you use that variable as part of your damage calculation on the offensive skill (how is up to you), you can even do so that the offensive skill sets the variable back to 0 after use, common events run after skill execution so its a good place to put the reset on.
There are some scripts that have extra parameters.
You could maybe use one to specify the boost stat and have the skill get boosted (multiplied) by the stat. Then you would just need to use a bit of code to reset the stat at the end of battle, but that shouldn't be too hard.
Just run an end-of-battle event on each encounter that resets the buff. My ACE guide (linked in signature) shows how to get there, only requiring to set up the base system.
I'm not sure how to add an end of battle event (other than making every future encounter event reset the variable after the battle, which is hard and annoying). Also in reference to what @BK-tdm said, the skill does in fact already reset in power when used. I am just worried about a player getting it really high against random enemies and then dealing like 1000 damage to a boss.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-you-add-a-skill-that-boosts-the-power-of-another-skill-but-resets-after-battle.156296/