Custom Accuracy Formula for Skills

Hey, not sure if there's already a combination of plugins that would allow me to do this but I don't think so.  I'm looking for something where I could notetag a skill like:

example 1:

<100 - b.agi>     (if the target has 40 agility, the accuracy of the skill is 60%)

example 2:

<a.atk - b.def>  (if the user of the skill has 100 atk and the target has 30 def, the accuracy of the skill is 70%)
https://victorenginescripts.wordpress.com/rpg-maker-mv/hit-formula/

Original thread: https://forums.rpgmakerweb.com/threads/custom-accuracy-formula-for-skills.54285/