Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/cnaught-inc/claude-code-plugins/reportgit clone --depth 1 https://github.com/CNaught-Inc/claude-code-pluginsWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00745 |
| Opus 5 | $0.00000 | $0.00373 |
| Sonnet 5 | $0.00000 | $0.00149 |
| Haiku 4.5 | $0.00000 | $0.00075 |
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 2d 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.
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]
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.
- 2d ago First seen · 75 lines · 0 tokens per session scan A fbaa487dfbc4
report is a command published in the GitHub repository CNaught-Inc/claude-code-plugins (5 stars, last pushed 4mo 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.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.