Making an "Echo" Actor

Hello, everyone! I had an interesting idea for an actor in the party and wanted to figure out how to get it to work.

Basically, I want an actor who is an "echo" of one of the other party members who automatically copies any skill they use after they use them (think Pontiff Sulyvahn in Dark Souls 3 or [Final Boss Spoilers] in Devil May Cry 5).

I've been trying to get something to work based off of the stuff in this thread, but no luck so far. I'm just not sure about the right combination of states and timing necessary to pull it off consistently. Any and all help would be appreciated!
I wonder if you could force the actor to use the skill by removing all of his skills and adding only the one you used every turn.
Would the echo always copy the same character and would the echo need to worry about having enough MP/TP to copy the skill? Do they always copy the character or is it a skill they would use?

You could maybe do the start of this by intercepting the BattleManager.selectNextCommand function and changing the status of the echo to 'waiting' - pretty sure you could grab the queued up action of the other character from within the BattleManager as well, but it depends what you want to achieve...

Original thread: https://forums.rpgmakerweb.com/threads/making-an-echo-actor.127794/