Prussian blue analogues (PBAs) have the advantages of stable electrochemical performance and long service life when used as energy storage materials due to their face‒centered cubic structure. Here, Ni‒Co Prussian blue analogue (PBA) nano units have been utilized as precursor to prepare corresponding metal sulfide derivatives, which inherited the structural properties of the precursor. This unique structural exposes more reaction sites and the generation of a small amount of nitrogen-doped carbon that enhances charge transfer. This cube structure has a buffer effect on the stress of the active substance during charging and discharging. The CoS2/Ni3S4‒N‒C provides a capacitance of 817 C g‒1 at 3 A g‒1 and there is still 556 C g‒1 at 20 A g‒1. Furthermore, CoS2/Ni3S4‒N‒C electrode yields outstanding cycle stability (98.2% capacitance retention at 10,000 cycles). An asymmetric supercapacitor (ASC) device consisting of CoS2/ Ni3S4‒N‒C and activated carbon electrodes have an energy density of 40 Wh kg‒1, and a retention rate of 103.7% for 10,000 cycles at 10 A g‒1, presenting excellent cycle stability. The electron properties of Co2NiO4 and CoS2/Ni3S4 − N−C are compared by density functional theory (DFT). CoS2/Ni3S4 − N−C detects more DOS near the Fermi level, leading to larger charge accumulation, indicating that the electron conductivity of the heterojunction is much higher than that of the oxide, and eventually faster reaction kinetics can be obtained.