“He only passed the exam by the skin of his teeth.”
In this sentence, by the skin of his teeth most nearly means:
All Flashcard Sets for the ACCUPLACER Test are now available as downloadable PDFs