N-doping can endow carbon materials with high electrochemical activity. Besides the widely validated sp2-hybridized nitrogen doping, sp-hybridized nitrogen (sp-N) atoms are also expected to be new active sites. However, both sp-N atoms and cyano (CN)…