The printed timing window is “After another player moves ships into a system that contains 1 of your command tokens.”
Xuange is the Empyrean commander. Resolve the ability only in that window, and only if any other printed conditions are met. The commander must be unlocked.
Prophecy of Kings component; use the cited printing.