Rim your glass with Tajín or spicy salt and fill with ice.
Add mango, lime juice, and agave to a cocktail shaker.
Muddle until the mango breaks down and becomes juicy.
Add Cointreau, mezcal (or tequila), and ice.
Shake hard until chilled.
Double strain into your prepared glass.
Garnish and enjoy.