report

report is a command for Claude Code from CNaught-Inc/claude-code-plugins. It costs 0 tokens per session (745 once invoked), scanned A, original, Apache-2.0.

A command that creates a plain-text report about carbon emissions from tracked models or projects. It runs a reporting script and formats the returned data according to fixed layout rules.

In plain words
What is it for?
Use it to display carbon, energy, travel-equivalent, model, or project figures from the carbon-tracking system.
Why use it?
It saves you from manually collecting, calculating, and aligning the report details. Missing sections can be left out automatically.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the carbonlog plugin — 2 skills, 9 commands, 2 hooks shipped together

Good fit Use it to display carbon, energy, travel-equivalent, model, or project figures from the carbon-tracking system.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add CNaught-Inc/claude-code-plugins
Claude Code
/plugin install carbonlog

Made for: Claude Code.

Or install carbonlog, the plugin that ships this one along with the rest of its 2 skills, 9 commands, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for report

README.md
[![agentmods](https://agentmods.dev/badge/commands/cnaught-inc/claude-code-plugins/report/github.svg)](https://agentmods.dev/commands/cnaught-inc/claude-code-plugins/report)
Your own site
<a href="https://agentmods.dev/commands/cnaught-inc/claude-code-plugins/report"><img src="https://agentmods.dev/badge/commands/cnaught-inc/claude-code-plugins/report/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for report

Your own site · 80×15
<a href="https://agentmods.dev/commands/cnaught-inc/claude-code-plugins/report"><img src="https://agentmods.dev/badge/commands/cnaught-inc/claude-code-plugins/report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 745 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00745
Opus 5.5 $0.00000 $0.00298
Sonnet 5.5 $0.00000 $0.00149
Haiku 4.5 $0.00000 $0.00075

Measured 2mo ago against content hash fbaa487dfbc4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

report scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/carbonlog/commands/report.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/carbonlog:report

Generate a carbon emissions report.

Script

npx -y bun ${CLAUDE_PLUGIN_ROOT}/src/scripts/carbonlog-report.ts --json

Instructions

Run the script above to get report data as JSON. Then format and display the report as plain text (NOT in a code block, NOT using markdown tables or headers). Match the visual style shown in the template below exactly.

IMPORTANT: Output ONLY the formatted report. Do not add any additional commentary, summary, or explanation before or after it.

Formatting rules

  • Use ■ for filled progress bar segments and · for empty ones, 15 characters wide, wrapped in []
  • Calculate filled segments as: round((item_co2 / max_co2_in_section) * 15)
  • Format large numbers with commas (e.g. 12,965,819)
  • Use markdown bold for key values: CO₂ and Energy amounts, miles driven and home energy days, and the CO2 kg values in each model/project row.
  • Omit any section where the JSON value is null

Column alignment (critical — every row in a section must have its columns at the same character position):

  • By Model: pad model names to the width of the longest model name. Right-pad kg values to 7 chars total. Right-pad session counts to 3 digits. Right-pad percentages to 2 digits.
  • By Project: pad project names to the width of the longest project name. Right-pad kg values to 7 chars total. Right-pad percentages to 2 digits.
  • Bold + alignment: alignment padding spaces must go BEFORE the ** marker, never inside it. Example: **4.36kg** is correct, ** 4.36kg** is wrong. The ** must be immediately adjacent to the value with no spaces inside.

Template

╔══════════════════════════════════════════════════╗
║       [Cø] CNaught Climate Impact Report         ║
╚══════════════════════════════════════════════════╝

Summary  (since {summary.tracking_since})
──────────────────────────────────────────────────

  CO₂    {summary.co2_kg} kg
  Energy {summary.energy_kwh} kWh
  Sessions: {summary.sessions} · Tokens: {summary.total_tokens} ({summary.output_tokens} output)
  Emissions estimated from output tokens

Equivalents
──────────────────────────────────────────────────

  🚗  Miles driven       {equivalents.miles_driven} miles
  🏠  Home energy         {equivalents.home_energy_days} days

By Model
──────────────────────────────────────────────────

  [■■■■■··········] {model_name}  {co2}kg  {sessions} sessions · {pct}%
  (one row per model, sorted by CO2 descending)

By Project
──────────────────────────────────────────────────

  [■■■■■■■········] {project_name}  {co2}kg  {pct}%
  (one row per project, sorted by CO2 descending)

Sync
──────────────────────────────────────────────────

  Dashboard:     {sync.dashboard_url}

  Team:          {sync.team}
  Database:      {sync.database_path}
  Pending sync:  {sync.pending_count} session(s)

Methodology: https://github.com/CNaught-Inc/claude-code-plugins/blob/main/plugins/carbonlog/methodology.md
Questions or feedback? Email [email protected]

Read the full file on GitHub · 75 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 75 lines · 0 tokens per session scan A fbaa487dfbc4

Subscribe to this mod's changes

report is a command published in the GitHub repository CNaught-Inc/claude-code-plugins (6 stars, last pushed 7mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 745 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

report compared with commands from other repositories

report next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reportCNaught-Inc/claude-code-pluginsCommand67mo agoApache-2.0A0Claude Code
checklistgithub/spec-kitCommand148ktodayMITA13Claude Code
clarifygithub/spec-kitCommand148ktodayMITA27Claude Code
specifygithub/spec-kitCommand148ktodayMITA13Claude Code
analyzegithub/spec-kitCommand148ktodayMITA26Claude Code
convergegithub/spec-kitCommand148ktodayMITA35Claude Code
implementgithub/spec-kitCommand148ktodayMITA14Claude Code