/footprint¶
Footprint figures are illustrative estimates, not measurements of electricity consumption or actual emissions from AI infrastructure, and are not verified carbon-accounting data. Bloomy Earth always talks about climate contribution and responsibility — never about offsetting or neutralizing AI emissions.
A free, illustrative estimate of an AI session's footprint that invites a climate contribution. It is shipped as prompt text with the plugin and in the host command directories, and it only orchestrates the estimation tools. It is prompt text only: it can neither enforce nor weaken any server-side check.
What it does¶
/footprint is a user-invokable command, not a server feature. It tells the assistant to:
- read counters only where the host exposes them;
- call
estimate_ai_footprintrather than doing the arithmetic itself, andget_methodologywhen the user asks how the estimate works; - report the returned figures with their mode, bucket labels and data provenance;
- suggest
/plant-treeswhen the user wants to act on the result.
The command estimates only. It never executes the planting command on the user's behalf, and the estimate itself costs nothing.
When an agent reaches for it¶
- "What's the footprint of this session?"
- "How much CO2 was that conversation?"
- "Estimate the emissions of what we just did."
- A question about the energy or CO2e of a specific task, prompt batch or model call.
Inputs¶
The command takes an optional free-form context argument — what the user wants counted — and forwards counters to the estimation tool. Nothing else is collected: pass only counters, never conversation content.
| Forwarded input | Type | Required | Meaning |
|---|---|---|---|
standardResponses |
integer, 0 or more | No | Standard text exchanges, used when the host exposes no token counters. |
complexResponses |
integer, 0 or more | No | Complex responses such as reasoning, coding or analysis. |
imagesGenerated |
integer, 0 or more | No | Generated images. |
tokenUsage |
array of entries | No | Per-model counters: modelId, tokensIn, tokensOut and the optional cachedTokensIn. |
The counter reading rules are part of the command's shipped prose:
- Anthropic
usage:tokensInisinput_tokenspluscache_creation_input_tokenspluscache_read_input_tokens, andcachedTokensIniscache_read_input_tokens— cache-write tokens count as fresh input. - OpenAI:
tokensInisprompt_tokensandcachedTokensInisprompt_tokens_details.cached_tokens— the cached count is a subset of the total input. - CLI session counters: pass the host's reported session totals only.
- The user is the source. When the host displays counters in its own interface, ask the user to paste them and pass exactly those numbers; they stay
client_asserted— never infer counters from a file, a log or a saved config. tokensInis inclusive: pass the total input and the cached subset, never fresh input astokensIn.- Never guess, estimate or fabricate token counts. When the host exposes no counters, the flat-rate lane is the normal mode — pass the response counts and say the estimate is counter-based.
The constants behind the flat-rate lane are fixed and published with the registry: 0.047 Wh per standard response, 0.47 Wh per complex task, 2.907 Wh per image; CO2e converts at 458.29 g per kWh, and cached input costs 0.07 of fresh input.
Output¶
The command reports what the tool returned: energy in Wh, CO2e in grams, the estimation mode, the size bucket each token entry routed to, the routing basis, the data-provenance label and the methodology version. Every figure is presented as an illustrative climate contribution, not a measurement — never a bare number, and never without its mode and provenance.
Scope and confirmation¶
/footprint is read-only in effect: it calls a tool that spends nothing, needs no scope beyond mcp:read, and has no confirmation step. Nothing it does can spend Tree Credits or publish anything.
It also never executes the planting command. When the user wants to act on the estimate, the command suggests /plant-trees; it does not run it, and it does not pre-answer that command's confirmation.
Worked example¶
A token-blind host reports 100 standard responses, 10 complex tasks and 2 generated images. The tool returns the flat-rate vector:
100 × 0.047 Wh + 10 × 0.47 Wh + 2 × 2.907 Wh
= 4.7 Wh + 4.7 Wh + 5.814 Wh
= 15.214 Wh
15.214 × 458.29 / 1000 = 6.972424 g CO2e
mode: flat-rate
A token-aware host reports token-mode figures instead: the same command passes its token entries and the tool returns a token-mode result with per-entry buckets and a client_asserted provenance label. The figures above are recomputed from constants.json by the repository's docs-figures test, and both lanes are illustrative estimates, not measurements.
Related¶
estimate_ai_footprint— the estimator this command calls, with both lanes written out./plant-trees— the planting command the estimate funnels into.- Capabilities overview — the whole shipped surface with kind and scope.
- Methodology overview — how the energy-first model works.