Spatial location and coordination environment determines the electrocatalytic activity and stability of single-atom catalysts. Guided by theoretical prediction, Yonghui Zhang, Lihua Gong, Jian Liu et al. report a universal sub-nanoreactor strategy in their Research Article (e202308091) for the synthesis of yolk–shell MoS2-supported single-atom electrocatalysts with dual–anchored microenvironment of vacancy-enriched MoS2 and intercalated carbon for robust hydrogen-evolution catalysis.