I really like the idea of playing a melody on the flute to the skeletons.
It also makes me wonder about states of confusion affecting PCs and NPCs in general—triggered, for instance, by bites from snakes, spiders, or scorpions.
Or perhaps in larger bandit or barbarian camps, there might be someone with hypnotic abilities or simply a really skilled flute player.