Simply rub those avocado peels that still have a little fruit left in them over your grilled or boiled corn, and sprinkle on some salt to bring out more flavor.
You could also set aside some extra mashed avocado and guacamole for your corn on the cob or make avocado butter with mashed avocado, softened butter, and lime juice.