文档

commute-carbon-counter

试用

Use when you want to know the real carbon footprint of your daily commute or travel habits, when deciding between commuting modes (car vs transit vs bike vs carpool vs EV), when tracking a personal emissions goal, or when preparing an environmental impact report — logs every trip (mode, distance, passengers), computes kg CO2 per trip/week/month using per-passenger-km emission factors for 14 transport modes, compares against your car baseline, projects your annual trajectory, and shows what changed your footprint most.

它能做什么

Most people's largest personal emissions source is how they move: commuting alone by car typically produces 2–4 tonnes of CO2 per year — often more than home heating. Yet almost nobody can answer "how much CO2 was my commute this month, and what actually moved the number?" Carbon footprint calculat…

技能文档

Commute Carbon Counter

Overview

Most people's largest personal emissions source is how they move: commuting alone by car typically produces 2–4 tonnes of CO2 per year — often more than home heating. Yet almost nobody can answer "how much CO2 was my commute this month, and what actually moved the number?" Carbon footprint calculators ask 40 questions once a year and produce a single opaque number that changes nothing.

This skill treats your mobility like a measurable system: log trips (10 seconds), get per-trip/per-week/per-month kg CO2, compare modes honestly (per-passenger-km, carpooling divided by heads), track your trajectory against a personal budget, and see a ranked "what changed" list — the two trips a week that account for half your footprint, the carpool switch that cut 30%.

Emission factors are per-passenger-km averages synthesized from published transport LCA sources (UK DEFRA/BEIS, EPA, EEA — see references). They are planning-grade, not certification-grade: good enough to compare modes and track trends, not to offset certified tons.

When to Use

  • Deciding between commuting modes — "is driving to the station vs bus-to-station actually different?"
  • Tracking a personal emissions goal — monthly report vs your kg budget
  • After changing something — new job, moved house, EV purchase, started carpooling: before/after comparison
  • Team/company commute challenge — export the log, sum per participant
  • Curiosity with stakes — "one flight or a year of commuting?"
  • Don't use for: formal carbon accounting (Scope 1/2/3 reporting, offset certification) — factors are averages, not your specific vehicle.

Commands

# Log a trip (mode, km one-way is auto doubled unless --oneway given)
python3 scripts/commute_carbon.py log --mode car --km 18 --note "office"
python3 scripts/commute_carbon.py log --mode carpool --km 18 --passengers 3 --note "office w/ neighbors"
python3 scripts/commute_carbon.py log --mode metro --km 9 --date 2026-09-05
python3 scripts/commute_carbon.py log --mode bike --km 6

# Quick one-off comparison — no logging
python3 scripts/commute_carbon.py compare --km 18

# Reports
python3 scripts/commute_carbon.py week           # last 7 days
python3 scripts/commute_carbon.py month          # last 30 days
python3 scripts/commute_carbon.py year           # annualized trajectory vs budget

# Emission factors table (what the math uses)
python3 scripts/commute_carbon.py factors

# Manage log
python3 scripts/commute_carbon.py log-list --limit 20
python3 scripts/commute_carbon.py export --csv trips.csv

Trips live in ~/.commute-carbon.json (--file to override).

Modes and Factors (g CO2 per passenger-km)

ModeFactorNotes
car192average ICE, solo driver
carpool192 / passengerssame vehicle, split by heads
ev53average grid mix; ~0 in clean grids
motorcycle103
bus97urban diesel average
coach27intercity/express bus
metro35heavy rail electric
tram30light rail
train41regional rail
bike0
e-bike5charging emissions only
walk0
scooter8shared e-scooter, incl. rebalancing
plane255short-haul per passenger-km

How Reports Read

Week 2026-09-02 → 2026-09-08      9 trips, 214 km
  CO2: 14.2 kg   (baseline all-car: 41.1 kg  →  65% saved)
  by mode:
    car      ██████████████ 9.4 kg  (3 trips)
    metro    ███ 1.2 kg  (4 trips)
    bike     (0.0 kg)  (2 trips)
  top trips:
    1. 2026-09-03 car 36 km → 6.9 kg   office
    2. 2026-09-06 car 22 km → 4.2 kg   ikea
  trajectory: 0.74 t/yr — under 1.0 t budget ✅

year annualizes the current log and compares to your budget (default 1000 kg personal transport CO2/yr, roughly aligned with 1.5°C-lifestyle targets for mobility; set your own with --budget).

Common Pitfalls

  1. Comparing per-vehicle instead of per-passenger. A full car is greener than the train per person; a solo driver is not. Always log --passengers for carpools.
  2. Ignoring the return trip. The tool doubles distance by default (commutes are round trips); use --oneway for one-ways or you'll double-count.
  3. Treating EV as zero. Grid mix matters — the factor here (~53 g/pkm) reflects an average grid; a coal-heavy grid pushes it toward 100+, hydro pulls it near 10.
  4. Forgetting the counterfactual. "Bus emitted 2 kg" means little alone; the report's baseline all-car column is the number that tells you what your choices saved.
  5. Comparing to national averages. Per-capita transport footprints vary 5× by country; compare to your own baseline and budget, not to headlines.
  6. Offsetting based on this. Factors are planning-grade averages. If you buy offsets, use a measured/calculated tonnage from a certification body, not this log.

Verification Checklist

  • A typical week is logged (don't aim for perfection — patterns beat completeness)
  • factors reviewed — swap in your local grid/vehicle numbers if you know them
  • week runs and the baseline comparison looks sane (savings % vs your mode mix)
  • --budget set to something meaningful for you (or accepted the 1 t default consciously)

One-Shot Recipes

"Subway vs driving to work — does it matter?"

python3 scripts/commute_carbon.py compare --km 14

Track a real week, then decide

for d in mon tue wed thu fri; do python3 scripts/commute_carbon.py log --mode metro --km 9; done
python3 scripts/commute_carbon.py log --mode car --km 24 --note "sat errands"
python3 scripts/commute_carbon.py week

EV purchase, before/after

python3 scripts/commute_carbon.py month                 # before
# ...switch modes in your log...
python3 scripts/commute_carbon.py month                 # after

相关技能

把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。

作者 nssa.io1.0k 次安装47 星标

诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。

作者 Iván855 次安装69 星标

从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。

作者 fly0pants4.3k 次安装296 星标

以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。

作者 johnpatternai22 次安装8 星标

在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。

作者 Iván559 次安装18 星标

voronindenis5 的更多技能

浏览全部技能

Prepare salary negotiations with a structured toolkit: market-rate anchoring math, walk-away floor calculation, total-compensation evaluation (equity, bonuses, benefits), negotiation scripts for offers, raises, and counter-offers, and BATNA analysis. Use when the user has a job offer, is preparing a raise conversation, wants to know if their pay is competitive, or needs scripts and a strategy for negotiating compensation.

作者 voronindenis51 次安装

Use when your calendar is eating your week and you want to know exactly where the time goes, when planning recurring meetings for a team, before proposing a new recurring meeting, when someone says 'we should sync weekly' and you want data, or when auditing which meetings to kill — imports ICS calendar files, measures meeting hours per week/person/meeting-series (including double-bookings and fragmentation), computes focus-time destruction from meeting placement, scores the true cost of each series (hours × attendees × frequency), flags specific meetings to kill/shorten/make-async using explicit rules, and simulates the recovered hours before anyone has to argue about it.

作者 voronindenis52 次安装

Audit password vault exports (Bitwarden, 1Password, KeePass, Chrome, Firefox) for reuse, weakness, staleness, breach exposure, and 2FA gaps without ever storing or transmitting a plaintext password. Use when the user asks to audit passwords, check password strength/reuse, review vault health, or verify whether credentials appeared in breaches.

作者 voronindenis51 次安装

Turn flat resume bullets ('Responsible for X') into quantified STAR-method achievement narratives, score resumes against job descriptions for ATS keyword coverage and weak-phrase hazards, and expand each bullet into interview-ready stories with likely follow-up questions. Use when the user is writing or updating a resume/CV, preparing bullets for a job application, tailoring a resume to a specific job posting, or preparing interview stories from their experience.

作者 voronindenis51 次安装

Agent self-awareness of cognitive states — context fatigue, attention drift, memory debt, confidence erosion, and skill staleness. Detect, report, and mitigate degrading conditions before they cause failures.

作者 voronindenis5