The details and cost of the so-called green-jobs program are still unclear, but a senior Obama aide, speaking on the condition of anonymity to discuss a work in progress, said it would probably include the weatherizing of hundreds of thousands of homes, the installation of “smart meters” to monitor and reduce home energy use, and billions of dollars in grants to state and local governments for mass transit and infrastructure projects.