Assuming they offer APIs to do this.
As universities offer two types of 4-year degrees, B.S. and B.A., it might make sense to have high schools do something similar. I know many schools have a separate college prep path, but maybe the split needs to be more nuanced as college becomes more common for all students. Or maybe at least common core standards need to reflect what most educational institutions already say some people are better at Mathematics and some are better at Language, Maybe graduates needs to do 2 years equivalent of both and 4 of one or the other. Though all students should have the option of doing 4 of both if they want.
A law class should be a mandatory part of the high school civics curriculum. I find it peculiar that politicians are always pushing more STEM into the curriculum, when many can participate in society just fine with little understanding of science behind what you do. But understanding the law is required for everyone in an "ignorance of the law is no excuse" system. You would think as lawyers they would understand that better than anyone. The conspiracy theorist in me would say it has something to do with their job security or manipulating the masses. Maybe the class could cover actually interacting with some bureaucracy for the experience. In the states that require it, maybe get a firearms ID so they can see exactly how easy it is to legally obtain a firearm. Or maybe come up with a half dozen permits and they can choose what to apply for. Maybe have them to learn some portion of the local penal code.
Right now the closest thing in most students take is probably Driver's Ed.
Formal logic should be taught to grammar school students as part of English class. Most of the base concepts involve simple words that children use everyday. There is no reason children can't introduced to a fuller understanding of conditional expressions, the use of 'and' and 'or', the difference between exclusive and inclusive or, common fallacies and arguments. Start at a section formally defining all these terms they use every day( "if", "when", "then", "until", "and", "or", "but", "only", "not") then end the section just brushing up against the concepts of philosophy.
Depending on how you feel about drivers that load firmware.
This is very open source:
You can also just not install many of the firmwares if you don't want the feature.
"Oh what wouldn't I give to be spat at in the face..." -- a prisoner in "Life of Brian"