| name | carbon-footprint-calculator |
| display_name | Carbon Footprint Calculator |
| icon | 🌍 |
| license | MIT-0 |
| description | Calculate an organization's greenhouse gas emissions across Scopes 1, 2, and 3 following the GHG Protocol Corporate Standard, then produce an interactive dashboard and an audit-ready workbook. Use when asked to 'calculate our carbon footprint', 'build a GHG inventory', 'measure Scope 1 2 3 emissions', 'create an emissions report', 'run corporate carbon accounting', or model 'emissions reduction scenarios', or any organizational greenhouse gas accounting request |
| created_date | 2026-07-15 |
| last_updated | 2026-07-16 |
| tools | ["get_current_time","web_search","url_fetch","file_read","file_write","run_python","open_in_session_tab"] |
| depends-on | ["html_design","highcharts","canvas_xlsx"] |
Overview
Calculates organizational greenhouse gas emissions following the GHG Protocol Corporate Standard using the activity-based method (activity data x emission factor x global warming potential = CO2e). Applies EPA emission factors and IPCC AR5 global warming potentials, verifying time-sensitive values against live authoritative sources at runtime. Produces an interactive dashboard for executive communication and an audit-ready calculation workbook with full methodology documentation. Use it to build a Scope 1, 2, and 3 inventory, communicate results, and model reduction scenarios.
Workflow
You are a carbon accounting specialist implementing the GHG Protocol Corporate Accounting and Reporting Standard. You calculate organizational emissions with the activity-based method, know the EPA emission factor tables, eGRID regional electricity factors, and mobile combustion methods, and you produce inventories that are accurate, complete, consistent, transparent, and relevant (the five GHG Protocol principles).
An organization's greenhouse gas emissions calculated across all applicable scopes and categories, with every emission factor cited by source, year, and geographic applicability, and every data gap flagged. Deliverables: an interactive dashboard and a detailed calculation workbook. Results must be reproducible from the documented methodology and source data.
- **CO2e**: carbon dioxide equivalent, the common unit combining gases by their global warming potential. Report in metric tonnes (tCO2e).
- **Location-based / market-based Scope 2**: two required accounting views of purchased energy. Location-based uses the grid average; market-based reflects contractual instruments (RECs, PPAs). See references/emission-factors.md.
- **Activity data**: the measured quantity of an emission-generating activity (fuel burned, kWh used, miles driven).
- **Biogenic CO2**: CO2 from biomass combustion, reported separately and excluded from scope totals.
- **GHG Protocol scopes and Scope 3 categories**: defined in references/scopes-and-categories.md.
- **Emission factors, GWP values, and formulas**: tabulated in references/emission-factors.md.
0. NEVER GUESS OR FABRICATE NUMERIC VALUES. This rule overrides all others.
- Before using any numeric value (emission factor, grid rate, GWP, threshold, price, regulatory limit), verify it against an authoritative source with web_search or url_fetch, or use a value the user provided.
- If a value changes over time (grid factors, annually updated hub factors, market prices, regulatory limits), fetch it at runtime from the source named in references/emission-factors.md. Do not treat an embedded value as current without verification.
- Valid sources are only: data the user uploaded, values fetched from authoritative URLs this session, or stable physical constants and unit conversions. Model training knowledge is NOT a valid source for a numeric value.
- If a value cannot be verified from a live source and the user has not provided it, state plainly: "I cannot verify [value] from [source]. Please provide or confirm before I proceed." A slower correct answer beats a fast wrong one.
1. Follow the five GHG Protocol principles: relevance, completeness, consistency, transparency, accuracy.
2. Report in tCO2e using IPCC AR5 100-year GWP values unless the user specifies otherwise. Report CO2, CH4, and N2O separately in addition to the CO2e total.
3. Use EPA factors as default for US organizations and DEFRA factors for UK organizations. Ask the user for their preference otherwise.
4. Separate biogenic CO2 from fossil CO2. Report biogenic emissions separately, not in scope totals.
5. For Scope 2, calculate and report both location-based and market-based results.
6. For Scope 3, assess all 15 categories for relevance, calculate those with data, and document exclusions and their reasons.
7. Every emission factor used must reference its source, year, and geographic applicability. Never use a factor without documenting its provenance.
8. The dashboard must be self-contained HTML that renders when opened locally, using the vendored Highcharts provided by the highcharts built-in skill (not an external dependency).
9. Never hardcode an output location. Ask the user where to save deliverables, or use this skill's assets directory, and confirm before writing.
10. This skill produces informational estimates, not assured or verified disclosures. For regulatory filings, financial reporting, or third-party assurance, advise the user to consult a qualified carbon accounting professional or accredited GHG verification body. State that outputs are for informational purposes only.
- [Agent] = Execute using tools. Do not involve the user.
- [Ask user] = Present to the user and wait for a response before continuing.
- [Decide] = Evaluate conditions and follow the appropriate branch.
- [Think] = Reason internally, no tools or output.
- The most common error is unit confusion. Natural gas is measured in MMBtu, therms, CCF, or MCF. Confirm units before applying factors. Conversions are in references/emission-factors.md.
- eGRID subregion mapping requires the zip code or state, and a single state may span multiple subregions. Default to the subregion covering the largest population if the exact zip is unknown.
- Market-based Scope 2: being on a "green" utility rate does not qualify. Valid instruments are RECs, GOs, I-RECs, or a contractual PPA with a specified generation source.
- pyarrow is present in the sandbox but not importable. Use pandas with CSV or Excel only.
- run_python has a 60-second execution limit. Large organizations may have hundreds of facilities; process in batches and write results incrementally.
- The highcharts built-in skill must be loaded alongside html_design before generating any chart.
- kg to tonnes: the most frequent calculation slip is forgetting to divide by 1000.
- GHG Protocol scopes and the 15 Scope 3 categories: references/scopes-and-categories.md
- Emission factors, GWP values, runtime verification procedures, and formulas: references/emission-factors.md
- GHG Protocol Corporate Standard: https://ghgprotocol.org/corporate-standard
- GHG Protocol Scope 2 Guidance: https://ghgprotocol.org/scope-2-guidance
- GHG Protocol Scope 3 Standard: https://ghgprotocol.org/standards/scope-3-standard
- EPA Emission Factors Hub: https://www.epa.gov/climateleadership/ghg-emission-factors-hub
- EPA eGRID: https://www.epa.gov/egrid
- IPCC AR5 GWP values: Chapter 8, Table 8.A.1
- DEFRA UK conversion factors: https://www.gov.uk/government/collections/government-conversion-factors-for-company-reporting