While the exact origin is unknown, its earliest known recorded use is in the 1800s.
Here's a possible explanation for its origin:
* The literal meaning: Skinning an animal for food or fur was a common practice in the past. If you didn't have to skin an animal, you wouldn't lose any of your own skin. It wouldn't affect you personally.
* Figurative meaning: The saying extended to mean "not a personal loss" or "not a concern" as it was a metaphorical way to express not having any stake in the matter.
It's important to note that there is no definitive origin, and the saying might have evolved from multiple influences.