The hidden advantage is what each person gives up

A cobbler and a tailor do not need to be equally talented, or equally productive, for trade to help them. What matters is opportunity cost: the value of the work each must forgo to make something else. If an hour spent sewing costs the cobbler more shoe production than it costs the tailor, sewing is relatively more expensive for the cobbler—even if the cobbler can sew competently.

That difference gives each craft a natural direction. The cobbler focuses on shoes; the tailor focuses on clothes. By concentrating on one task, each can build skill and avoid repeatedly switching tools, materials, and techniques. They then exchange some of what they make.

Why both can come out ahead

The exchange works when each person gives up less of their own preferred output than they would have to produce the other good themselves. A tailor can obtain shoes without diverting much time from clothing; a cobbler can obtain clothes without pausing shoe work. If the agreed trade falls between what each would sacrifice to make the other item alone, both receive something worth more to them than what they surrendered.

This is the logic of comparative advantage: specialize in the activity with the lower opportunity cost, not necessarily the one you perform best in absolute terms. It helps explain why trade can benefit people with unequal skills, not just people who are equally matched.

Specialization is not a guarantee of a good deal: the terms of exchange matter, and each person must be able to find someone willing to trade. But the basic gain is simple: neither has to spend scarce time becoming a passable second-best maker when that time can produce more of their stronger craft.