Possible to make a check/inspect/spy action?

Hello,
I was wondering if it's possible to create a skill in RMMV that can list an enemies stats or their weaknesses, similar to Jeff's Spy ability from EarthBound. I tried attaching a common event to the skill, but how should the script go from there?

I've moved this thread to MV Support. Thank you.

Check this out.

Original thread: https://forums.rpgmakerweb.com/threads/possible-to-make-a-check-inspect-spy-action.119668/