SKILL.md v1 emissions

Corporate Carbon Footprint

Extract, bootstrap, match emission factors, and commit Scope 1, 2, and 3 carbon footprint records with one-by-one anomaly resolution.

No reviews yet
End-to-end sandbox pipeline for building a Corporate Carbon Footprint from bills, invoices, CSVs, and multi-sheet Excel workbooks. Enforces workbook uniqueness confirmation in /organization/local/ccf-formats/, bootstraps initial sites and all 16 emission-activity resource types via emissions-calculator (site-emissions.bootstrap), auto-creates missing suppliers and products, matches emission factors via Ploutonion ghg-emissions (select-purchased-factor and list-activities), writes emission-activities.json keyed by unitQuantity, commits clean batches with origin='resource-action', triggers site-emissions.resolve per affected site, and walks the user through anomalies one at a time.
emissionscarbon-footprintscope-1scope-2scope-3calculatorfactor-matchingploutonioningestion

Versions

  • v1 # Changelog ## v1 - Initial release of the `corporate-carbon-footprint` skill (`lib/ccf_pipeline.py`, `lib/scan_and_extract.py`, `lib/confirm_uniqueness.py`, `lib/resolve_and_commit.py`, `lib/resolve_anomaly.py`). - Enforces workbook format uniqueness confirmation via `/organization/local/ccf-formats/<formatHash>.json` so re-uploaded spreadsheets reuse the confirmed uniqueness columns and upsert idempotently. - Bootstraps initial organisation sites and enables all emission categories (provisioning all 16 emission-activity resource types) via `emissions-calculator` (`site-emissions.bootstrap`) over A2A, or emits a `missing_initial_site` anomaly when no site address is present. - Auto-creates missing `supplier` and `product-or-service` records, matches purchase and site-activity emission factors via `factor-matching` (`select-purchased-factor` and `list-activities`), writes `emission-activities.json` keyed by `unitQuantity` with `factorMatch` and `ploutonion`, commits clean records with `origin="resource-action"`, and triggers `site-emissions.resolve` once per affected site. - Queues unrecognized sites, missing required fields, and low-confidence or unmatched factors in `ccf-state.json` for one-by-one interactive resolution via `resolve_anomaly.py`. 11/13/2026