I will commonly just superglue my screwdriver/Allen key into stripped screws, then remove and soak the glued on screw and tip of the tool in a small container of rubbing alcohol to remove it from the end of the tool.
Just be careful to put a small drop on the very tip of the tool and carefully slide it into the screw without touching anything else with it. Too much glue and it can spread around and get into the
threads and, and the whole deck or post would need soaked in alcohol to clean up the threads.