用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Green-PT/honey-for-devs --skill honey-eco命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | honey-eco |
| description | Report session token and CO2 savings vs no-Honey baseline. |
| version | 1.3.1 |
| author | GreenPT |
| license | MIT |
| metadata | {"hermes":{"tags":["token-efficiency","coding"]}} |
Surface the numbers the carbon badge is based on. Never estimate by hand — run the committed report so the figure matches hooks/eco.js (the verified EcoLogits v0.8.2 port) exactly.
Run, from the repo root — zero-dependency, reuses the same hooks/eco.js the badge uses:
node scripts/eco-session.js # newest session
node scripts/eco-session.js --transcript PATH --mode full
Then report terse — output tokens, CO₂eq (g), and the saved line — in a line or two. Keep the exact numbers the script prints; don't round away precision.
saved is not. It is a modelled counterfactual — how many tokens a no-Honey run
would have emitted — taken from a committed bench stamp. Always pass through the
basis: line the script prints (stamp, model, n, p). Never state a savings figure
without it, and never re-derive one by hand.When the script prints saved : —, no committed stamp covers this session's model. Say
that. Do not extrapolate from another model's ratio — that is exactly how a tool ends up
reporting savings while the invoice goes up.
For the authoritative breakdown (usage + embodied + primary energy) the user can run the Python path, which needs the real package:
pip install ecologits && python scripts/eco_report.py
The params are speculative (Anthropic discloses none). The badge shows served impact — EcoLogits' single-stream (batch-1) ceiling divided by serving_concurrency (continuous-batching amortization); eco-session.js/eco_report.py also print the raw ceiling. State that once, briefly, then give the number. The badge renders only in Claude Code (its transcript is all Claude models).
Report only — don't change config or mode (that's the /honey command). The number is a range, not a meter reading; present it as one.