If you do something by the skin of your teeth, you narrowly escape disaster. It has the same meaning as ‘narrowly’ and ‘barely’. He passed his English exam by the skin of his teeth. Bob’s your uncle ...