I was tired of struggling to unplug my XT90 antispark loopkey and decided to design one which allowed me to grip it easily.
Solderup the XT90 as thinly as possible as per the photograph. Here I soldered using a 12AWG wire (without silicone).
Print the holder parts, shove the XT90 in as far as it goes, it should be almost flush. Check to see that the lid will close properly, if not either melt the lid slightly or adjust the loopkey wire.
An M3x20 screw prevents the XT90 from sliding backwards when inserting the plug. The M3x20 should NOT touch the metal parts of the XT90.
I then filled the cavity with hotglue and covered it up with the lid.
For the enclosure side, it's more straightforward, just print out the necessary parts, cut the hole into the enclosure and screw it altogether.