Organosulfur compounds enable uniform lithium plating and long-term battery cycling stability.