by the skin of your teeth
US /baɪ ðə skɪn əv jʊər tiθ/
UK /baɪ ðə skɪn əv jʊər tiθ/

1.
por los pelos, por un pelo
only just succeed in doing something
:
•
He escaped the accident by the skin of his teeth.
Escapó del accidente por los pelos.
•
We won the game by the skin of our teeth.
Ganamos el partido por los pelos.