Excess CO2, and the impacts on human cognition from it, are the great threat to civilization. We need geoengineering to strip CO2 out of the atmosphere. Iron seeding* and global Carbon Taxes seem like the best options.
During the Permian extinction CO2 was 3000 ppm - weathering rocks is how it was fixed back then. We just need to accelerate that natural process.