When your send script works for local LAN clients, but does not work for remote clients, the main difference is lag. So that's where you should look for the problem.

Maybe you send the skills already when the client_id of the entities on the remote clients is not yet set. You can check if this is the reason by sending the skills later.