Well, the answer to this one is very easy. You don't. You'll have to find another way out of the dungeon.
There really isn't much of a way to explain this without giving you an exact answer. If you don't want one, my only advice is that you try everything and take note of what works and what doesn't.
Start by having Magician "spell" the skeleton. A bone falls on the ground.