I wrote a quick little script that will use a chamois, and abort if it fails. You can add it to your mood (triggering on gaining Coated in Slime), with this command:
if coated in slime < X; call chamois.ash
(Obviously, X is the minimum number of turns of Coated in Slime that you can survive.)