Audit software projects for environmental sustainability, accessibility, and quality.
SCI carbon measurement, W3C WSG compliance, page emissions, mobile energy profiling.
Each command is a standalone Agent Skill that guides your AI agent through a structured workflow
9-phase workflow: explore codebase, measure SCI, check WSG compliance, audit accessibility, optimize performance, establish baselines.
Green check before commit, feature planning with sustainability in mind, PR review for energy-wasteful patterns.
Compute Software Carbon Intensity for a specific operation. Supports JS/TS, PHP, Python, Go, and cloud workloads.
Estimate CO2 per page view using the Sustainable Web Design v4 model. Single page or full sitemap analysis.
Fast sustainability review: WSG top guidelines, green hosting verification, Creedengo code patterns.
7-phase iOS audit: energy profiling, Creedengo iOS rules, network efficiency, SCI with iPhone defaults.
7-phase Android audit: battery optimization, Doze/WorkManager, Creedengo Android rules, Power Profiler.
Chain-of-Verification (CoVe) review. Runs automatically after every skill. Challenges assumptions, detects greenwashing.
What /gc-setup covers when activated on your project
Understand stack, architecture, dependencies, hosting
SCI formula: ((E × I) + M) / R per operation
80 W3C Web Sustainability Guidelines
Lighthouse CI with WCAG 2.1 AA thresholds
Bundle size, lazy loading, caching, fonts, images
Test infrastructure, coverage, CI energy tracking
Rank actions by impact × feasibility (P0–P3)
Measurable targets for every dimension
Encode sustainability into the dev workflow
Science-based methodology with cited sources for every measurement
Green Software Foundation formula, now ISO 21031:2024. Measures carbon per functional unit.
sci-guide.greensoftware.foundation ↗ Web80 Web Sustainability Guidelines across 4 categories: UX, development, hosting, business strategy.
w3.org/TR/web-sustainability-guidelines ↗ EmissionsPage-level CO2 estimation model. 3 segments: data centers, networks, user devices.
sustainablewebdesign.org ↗ AnalysisStatic analysis green code rules. Dedicated rulesets for web, iOS (Swift), and Android (Kotlin/Java).
github.com/green-code-initiative ↗ VerifyFactored + Revise variant. Decompose claims, generate adversarial questions, verify independently.
arxiv.org/abs/2309.11495 ↗ DataGrid carbon intensity data by country. Updated annually. Source for all carbon intensity defaults.
ember-energy.org ↗Optional real-time calculations via Model Context Protocol. All skills include manual fallback.
sci_calculate
Compute SCI carbon intensity per functional unit
grid_carbon_intensity
Look up grid carbon intensity by country
swd_estimate
Estimate page-level CO2 via SWD v4 model
swd_batch
Estimate emissions for multiple pages at once
check_green_hosting
Check if a domain uses green hosting
wsg_compliance_score
Score a WSG compliance JSON file
creedengo_check
Check source files against green code rules
sci_compare
Compare two SCI measurements
Dedicated skills for native iOS and Android apps
Xcode Energy Gauge, Instruments Energy Log, MetricKit production metrics
Creedengo iOS rules: location precision, sensor polling, idle timer, Bluetooth scanning, background fetch
iPhone: 3W device power, 70,000g embodied carbon, 3-year lifecycle
Power Profiler, Battery Historian, Android Vitals, Perfetto system traces
Creedengo Android rules: wake locks, AlarmManager, Doze mode, fused location, sensor polling
Android: 2.5W device power, 50,000–80,000g embodied carbon, 3-year lifecycle
Every report is automatically verified using Chain-of-Verification (CoVe)
Every number, source, assumption, and recommendation becomes an atomic assertion
Generate hostile counter-questions designed to find the failure mode of each claim
Answer each question in isolation — no bias from the original report
Classify findings, propose corrections, assign confidence level
git clone https://github.com/fullo/sustainable-code-skill-setup.git ~/.gc-tools
cp -r ~/.gc-tools/skills/* .claude/skills/
npm install -g sustainable-code-mcp
Or build from source:
cd ~/.gc-tools/mcp-plugin
npm install && npm run build
Works with any tool that supports the Agent Skills format.
Trigger skills with slash commands or natural language
/gc-setup
/gc-dev
/gc-measure-sci my API endpoint
/gc-estimate-emissions homepage
/gc-check-sustainability
/gc-mobile-ios
/gc-mobile-android
/gc-verify
measure the carbon footprint of this project
is my site sustainable?
audit this iOS app for battery drain
how much CO2 does my homepage emit?