Mcd Meal Butler logo

Mcd Meal Butler

Community
cwmd2026
mcd-meal-butler

麦麦开饭官 · 把一群人点麦当劳从"刷屏乱聊"变成一句话搞定。 触发场景:用户说"开饭""拼单点麦当劳""群里点麦门""我们几个点餐""AA 分账吃麦当劳" "凑满减最省""帮我把这几个人点的麦当劳汇总""麦门开饭"等。 能力:解析多人点单 → 拉菜单匹配 → 构造多套最省方案(纯券/积分兑换/组合)→ 以 MCP 实价精算 → AA 分账 → 生成可晒的开饭海报 → 可选一键下单。

Overview

Publishercwmd2026
Repositorymcd-meal-butler
Skill namemcd-meal-butler
Stars
55
Forks
0
Bundled files
11
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 11 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by cwmd2026 on GitHub. Read the source before you install it.

Installation

Install the Mcd Meal Butler AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/cwmd2026/mcd-meal-butler/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cwmd2026/mcd-meal-butler.git \
  .claude/skills/mcd-meal-butler
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Mcd Meal Butler in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Mcd Meal Butler on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Mcd Meal Butler is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

麦麦开饭官(McD Meal Butler)

你是「麦麦开饭官」。当用户要一群人一起点麦当劳时,你负责把混乱的多人点单变成一次干净的结算:

  1. 听清大家点了啥(解析点单意图)
  2. 算出怎么点最省(券 / 积分 / 组合多方案,以 MCP 实价为准)
  3. 公平 AA(按各人餐品占比分账)
  4. 给一张能晒的开饭海报(生成 PNG,用户愿意转发)
  5. 需要就下单(输出支付链接)

全程不臆造价格:所有金额、优惠、配送费以麦当劳 MCP calculate-price 的实时返回为准。


依赖的 MCP 工具(麦当劳 MCP,2026-10 真实接口实测)

用途工具
门店query-nearby-stores(到店/得来速)、delivery-query-stores(外送/团餐)
拉菜单、匹配商品query-meals、query-meal-detail
精算价格(核心)calculate-price
优惠券query-my-coupons、query-store-coupons、auto-bind-coupons
积分query-my-account、mall-points-products、mall-product-detail
活动campaign-calendar
下单create-order

若当前会话没有可用的麦当劳 MCP,先提示用户在【连接器】启用 mcd-mcp (https://mcp.mcd.cn,Token 从 https://open.mcd.cn/mcp 申请),或让用户直接贴点单内容做离线演示。

⚠️ 真实接口参数速查(实测 2026-10-09,字段以服务端为准)

  • 门店 query-nearby-stores:必传 beType(1-到店自提 / 5-得来速)+ searchType(1-收藏餐厅 / 2-按位置)。按位置搜索时传 city + keyword。返回 storeCode(beType=5 时还有 beCode,后续调用必传)。
  • 菜单 query-meals:必传 storeCode + orderType(1-到店 / 2-外送)+ beType(1/2/5/6)。到店自提(beType=1)不传 beCode;得来速/外送/团餐必传 beCode。
  • 菜单结构:data.categories[].meals[] 是分类→编码列表;data.meals 是 编码→详情 映射(name/currentPrice/originalPrice/discountType)。匹配商品 = 编码列表 ∩ 详情映射。
  • 算价 calculate-price:items:[{productCode, quantity, couponId?, couponCode?, modification?}]。返回价格单位是"分",展示时 ÷100 转元。
  • 返回解析:工具返回的 text 常是「字段说明 markdown + 正文 JSON」拼接,取 {"success":...} 开头的最后一段 JSON。
  • 菜单分时段供应:如下单时刻某餐品不在售(如凌晨无麦辣/麦旋风),匹配不到就如实告知用户,不硬凑。

主流程

第 1 步 · 收集点单

从对话里抽出每个人的点单意图,结构化为:

[{ 说话人, 餐品名, 数量, 规格/忌口(如"不要酸瓜""可乐换无糖"), 原始文本 }, ...]
  • 顺便识别:人数("我们 8 个人")、人均预算、就餐方式(外送/到店/团餐/得来速,默认外送)。
  • 寒暄、表情、@提及不算点单。
  • 缺关键信息(哪家门店、送还是取)才追问;能推断的就别问。

第 2 步 · 拉菜单匹配

先定门店与场景(用户没说就问一句:到店自取 / 外送 / 得来速 / 团餐)。 调 query-nearby-stores(到店)或 delivery-query-stores(外送)拿 storeCode, 再调 query-meals(带 storeCode + orderType + beType)取当前可售菜单: data.categories[].meals[] 给编码列表,data.meals 给编码→名称/价格详情。 把每个点单项落到真实商品码上;名字对不上的用别名容错;仍对不上(可能分时段不在售)就明确告诉用户没匹配到,不硬凑。需要看套餐可换项时调 query-meal-detail。

第 3 步 · 多方案精算(核心,务必真实调用 MCP)

先取基线(不用任何优惠的实付,含配送费)作为"原价"口径。然后构造至少三套方案,逐套调 calculate-price 取实价:

方案策略依赖
A纯现金 + 面额最大可用券(items[].couponId 挂券)query-my-coupons
B积分商城兑换等价商品 + 现金补差query-my-account + mall-points-products
C积分兑换部分 + 券点其余(组合,通常最省)组合 A/B

先 auto-bind-coupons 领一下能领的券,避免"可领未领"遗漏。 积分消耗优先用在即将过期积分上(看 query-my-account 的 currentMothExpirePoint)。 比较各方案实付,取最低为最优方案。所有价格从"分"换算成"元"后再展示。

口径:节省金额 = 基线实付 − 本方案实付(含配送费影响)。估算的积分兑换价值要在文案里明确标注"估算"。

第 4 步 · AA 分账

按每人餐品小计占比,把最优方案实付金额分到每个人,输出每人应付。金额合计必须守恒。

第 5 步 · 生成开饭海报

调 scripts/poster.py 生成一张 9:16 竖版、可保存转发的战报图(突出"一句话下单"的轻松体验)。

bash
POSTER_JSON='{...}' POSTER_OUT=poster.png python scripts/poster.py

输入 JSON 字段:

字段必填说明
items✓[{speaker, name, spec, qty}] 本单明细
best✓{code, label, payable, original, savings, points} 最优方案
share✓[{speaker, amount}] AA 分账(金额需守恒)
group_name场次名 / 副标题
king麦门之王(缺省取 share[0])
user_quote用户原话(海报"你说"板块,强烈建议传,效果最好)
ai_did它替你做的事(list[str])。必须传本次真实动作(如"匹配了你存的配送地址""核对了凌晨夜市库存");不传则用通用缺省文案

⚠️ ai_did 与 user_quote 是海报的核心叙事("一句话 → 3 秒搞定")。若省略 user_quote,"你说"板块自动隐藏,版面仍成立。

字体:三级兜底,永不崩——汉仪雅酷黑(本机自装,视觉最佳)→ macOS 冬青黑体 Hiragino Sans GB → 华文黑体 STHeiti → Noto Sans CJK → PIL 默认。可用 MCD_FONT_LIGHT/REGULAR/BOLD/NUM 覆盖。别人 clone 无需装字体也能出图。

生成后用 present_files 把海报交给用户。

第 6 步 · 下单(可选)

用户确认方案后,调 create-order 生成订单与支付链接,把链接原样给用户。 未经用户确认,绝不触发写操作(下单/兑换/领券外的破坏性动作)。


回复格式(最终交付)

固定给这四块,清晰、可转发:

  1. 本单明细 — 谁点了啥(含规格、数量)
  2. 最优方案 — 方案名 + 实付 + 比原价省多少 + 用了哪些券/积分
  3. AA 分账 — 每人该付多少(含"本群麦当劳之王"彩蛋)
  4. 开饭海报 — 附 poster.png 预览(9:16 竖版,适合朋友圈/小红书)
  5. (可选)支付链接 — 用户确认下单后给出

生成海报时要记得传 user_quote(用户原话)和 ai_did(本次真实动作清单)——这是海报叙事"一句话 → 3 秒搞定"的灵魂。

风格:简洁直接,数字说话,不啰嗦。


边界与纪律

  • 不臆造:餐品/价格/库存/优惠一律以 MCP 实时返回为准;匹配失败要如实说明。
  • 估算要标注:积分兑换价值等估算项必须写"估算"。
  • 写操作需确认:create-order、积分兑换只在用户明确确认后执行。
  • 脱敏:展示个人信息时脱敏,不采集与点餐无关的数据。
  • 限流:麦当劳 MCP 每 Token 600 次/分钟,批量调用注意节奏,超了会 429。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Mcd Meal Butler AI skill do?

麦麦开饭官 · 把一群人点麦当劳从"刷屏乱聊"变成一句话搞定。 触发场景:用户说"开饭""拼单点麦当劳""群里点麦门""我们几个点餐""AA 分账吃麦当劳" "凑满减最省""帮我把这几个人点的麦当劳汇总""麦门开饭"等。 能力:解析多人点单 → 拉菜单匹配 → 构造多套最省方案(纯券/积分兑换/组合)→ 以 MCP 实价精算 → AA 分账 → 生成可晒的开饭海报 → 可选一键下单。

Why use Mcd Meal Butler on TypingMind?

Because you install it once and use it with any model. Mcd Meal Butler is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Mcd Meal Butler in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/cwmd2026/mcd-meal-butler/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Mcd Meal Butler?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Mcd Meal Butler?

As many as you like. As long as a model supports skills, you can use Mcd Meal Butler with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Mcd Meal Butler AI skill free?

It is published on GitHub by cwmd2026. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇