made it by the skin of my teeth

If someone says they made it by the skin of their teeth, they mean to say they just barely made it or made it by the smallest margin possible. There is very thin skin on your teeth, so this phrase is referring to the very smallest amount. The phrase is usually said in response to barely making it past the finish line in a race or barely finishing a project or job that had a certain deadline, of which they almost missed.