This is an XT30 cap to prevent shorts when keeping LiPo batteries in a bag and to indicate charge. It's ribbed for easier removal, even with a tight fit.
Also included is an STL as a regular cap instead of a doubled one.
Pause the print at 7.5mm for the color change.
XT60 Version can be found here
The author hasn't provided the model origin yet.