The command /give @p skeleton_spawn_egg{EntityTag:{NoAI:1}} should let you spawn skeletons that have no AI, but instead they behave like normal skeletons. The same thing happens with other spawn eggs and other tags. But interestingly, if the id tag exists, the spawn egg spawns nothing.
Linked issues
is duplicated by 2
Comments 6
No, it may be different... since this bug says modifying the spawned entity does not work, but the other one says that the tag overwrites the spawned entity ID.
I personally think it's related because this bug took place right after that bug was patched, so it seems like this bug resulted from the fix to that bug. Also both bugs have to do with EntityTag and more specifically the id tag.
Possibly related to MC-130242.