There is no cheat code to unlock all skeletons in LEGO Battles: Ninjago.
The game has no cheat codes that directly unlock content. You must earn skeletons through gameplay:
The game is designed for strategic progression. The satisfaction of earning units through effort is the intended reward.