Renewable energy-based multigeneration systems for power, hydrogen, and ammonia production suffer from intermittency issues and high production costs. On the other hand, conventional fossil-fuel-based systems yield high levels of CO2 emissions. Thus, to eliminate the intermittency issue with low production costs and near zero CO2 emissions, a novel integrated, efficient, compact, and interactive system for power, hydrogen (H2), and ammonia (NH3) production is developed and investigated in this study. A direct oxy-combustion supercritical carbon dioxide (DOC-sCO2) power plant is integrated with a water electrolyzer (WE) and Haber-Bosch process (HBP) system for the cogeneration of power, H2, and NH3, respectively. The power consumption of the air separation unit (ASU) of the DOC-sCO2 cycle is significantly reduced by the utilization of the oxygen produced from the WE system. Moreover, the cost of ammonia production is minimized by the internal utilization of the nitrogen gas produced by the ASU. Furthermore, the feedwater of the WE system is supplied internally from the DOC-sCO2 power block. In addition, the CO2 emissions of the system are captured to realize near-zero emissions to the ambiance. Based on these features, thorough energy, exergy, economic, and environmental (4E) analyses were performed to evaluate the performance of the proposed system. The obtained results showed an impressive levelized cost of electricity of 3.72¢/kWh, levelized cost of hydrogen of 1.162$/kgH2, and ammonia of 0.197$/kgNH3 at an overall energy and exergy efficiencies of 44.09 %, and 63.6 %, respectively. The system has no emissions of nitrogen oxides (NOx) and reduces the CO2 emissions of the H2 production by 49.6 % and of the NH3 production by 48.8 % compared to the conventional gasification, SMR, and HBP systems, respectively. This research work also provides insights into wet versus dry cooling, part load operation, and the advantages over renewable-based systems in terms of stability, reliability, and economic feasibility.