Some suggestions:
You can change this:
add player's uuid to {toggle::*} if {toggle::*} doesn't contain player's uuid
remove player's uuid from {toggle::*} if {toggle::*} contains player's uuid
To this:
add player's uuid to {toggle::*} if {toggle::*} doesn't contain player's uuid, else remove player's uuid from {toggle::*}
Skript has built in permissions for commands:
command example:
permission: example
trigger:
else if would have no effect here:
else if arg-1 = "remove":
as you have a stop in the if statement.
Cool skript though!
MineResetLite can be used to reset the ores.
A permissions plugin can be used to make prefixes and ranks. (Permissions EX or LuckPerms)
Alternatively, you can use the plugin Skript for both.