I've resorted to physically labeling them with a Brother label printer.
For MacOS, here's a terminal snippet to determine the current charging capacity of a cable.
/usr/sbin/system_profiler SPPowerDataType | grep Wattage
This will tell you the charging capacity of your current cable+charger combo. In other words, a 100W charger + 100w cable will return "Wattage (W): 100". A 100W charger + 15W cable will return "Wattage (W): 15". A 15W charger + 100W cable will return "Wattage (W): 15".So, you kinda need a charger that meets or exceeds the power delivery of the cable you're testing. And I believe this relies on the cable's self-identified capacity via the e-chip or whatever, so it could be fraudulent if you have some dodgy cable from an unknown manufacturer? But it's better than nothing.
There is a lot of info in `/usr/sbin/system_profile`, not sure if there's other bits related to identifying USB-C cable capacity. I'm sure there has to be something.