setup-matt-pocock-skills
MAmattpocock/skills318k9,301 new stars in the last 7 days
如果你是在 WorkBuddy 中使用本项目,可以把它配置成一个对话式 Skill:
PYTHONPATH=src python3 -m mccarbon --mock --html /tmp/carbon-book.html --name {{user_name}} --city {{city}}
(若已配置 MCD_MCP_TOKEN,把 --mock 换成 --live 即用真实订单。)
/tmp/carbon-book.html 作为文件附件返回给对话。用户:帮我算算我今年在麦当劳吃了多少碳
WorkBuddy:好,我用你的历史订单核算一下……这是你的麦麦碳账本, 年度碳足迹约 359 kg CO2e,碳等级 E;碳重集中在牛肉类(54%)。 最有效的减排动作是「红肉换白肉」,一年能少约 117 kg(32.6%)。 [carbon-book.html]
MCD_MCP_TOKEN;--mock 模式使用固定示例数据,仅用于体验形态;MAmattpocock/skills318k9,301 new stars in the last 7 days
MAmattpocock/skills318k9,301 new stars in the last 7 days
MAmattpocock/skills318k9,301 new stars in the last 7 days
OBobra/superpowers314k4,048 new stars in the last 7 days
AFaffaan-m/ECC299k5,106 new stars in the last 7 days
AFaffaan-m/ECC299k5,106 new stars in the last 7 days