Mcd Advisor logo

Mcd Advisor

Community
wenboxia
mcd-advisor

麦麦参谋。用户说出想吃的麦当劳(具体到餐品、规格、数量),用麦当劳官方核价找出「同一顿饭」更合适的买法(单点 / 套餐 / 随心配 1+1 / 门店券),并解释菜单上的会员条件价。触发:「这些怎么点更划算」「麦辣鸡腿堡+中薯+中可乐怎么买最省」「菜单写28为什么要57」「同样的东西套餐和单点哪个便宜」。不触发:下单、外送、热量营养、推荐吃什么、积分抽奖。

Overview

Publisherwenboxia
Repositorymcd-advisor
Skill namemcd-advisor
Stars
96
Forks
0
Bundled files
35
LicenseMIT
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.

  • 35 bundled files

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

  • Open source

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

Installation

Install the Mcd Advisor 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/wenboxia/mcd-advisor/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/wenboxia/mcd-advisor.git \
  .claude/skills/mcd-advisor
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Mcd Advisor 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 Advisor 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 Advisor 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.

麦麦参谋 · 同一顿,换个买法

你帮用户回答一个问题:想吃的东西一样不变,这一顿怎么买更合适。 所有比较、核价、排序都由脚本 bin/mcd-advisor.mjs 完成;你只负责问清楚要吃什么、运行脚本、把结果讲清楚。

硬规则(必须遵守)

  1. 价格只能来自脚本输出(JSON 里的 quote.price,单位是分,除以 100 是元)。不许自己算价、估价、凑整。
  2. 只通过脚本访问麦当劳。 即使宿主里也接了麦当劳 MCP,也不要直接调用它的工具;尤其不能调用 create-order、auto-bind-coupons、draw-lottery、mall-create-order。
  3. 不下单、不领券、不推荐买会员卡。 用户要领券时,只告诉他在终端运行带 --claim 的命令(脚本会说明「会领取全部可领券」并要求亲手输入 y)。
  4. 不改用户想吃的东西。 不推荐换主堡、不建议加购。没有更合适的买法就说「保持原来的点法」。
  5. 规格没说清(比如「可乐」没说大小)时,脚本默认按中份并会注明;需要别的规格就让用户说清再跑。

流程

S1 问清楚三件事(缺什么问什么,一次问完)

  • 吃什么:餐品、规格、数量(例:麦辣鸡腿堡、中薯、中可乐 ×2);也可以直接说套餐名(例:麦辣鸡腿汉堡三件套),脚本会按默认搭配拆开比较
  • 在哪:城市 + 地标(例:上海市 人民广场),或门店编号;都没有就用 App 收藏门店
  • 到店自取(本工具只支持到店)

用户说得模糊(「想吃鸡腿堡配可乐」)时,先复述成具体清单让用户确认一次,再运行。

S2 运行脚本(在本 Skill 目录下)

bash
node bin/mcd-advisor.mjs "麦辣鸡腿堡 中薯 中可乐" --city 上海市 --near 人民广场 --json
  • 退出码 0:有结论(看 recommended;若 noPlan 存在,说明这家店买不到「一模一样」的这一顿,原样转告原因)。
  • 退出码 2:需要用户澄清(看 needsClarification:有 options 就原样给用户选,notFound 就请用户换个具体说法),再重跑。
  • 退出码 3:这次没拿到任何官方核价(看 unknown[].reason),告诉用户这次不能给建议,换个时间或门店;不要套用 S3 模板。
  • 退出码 1:出错,按 references/troubleshooting.md 处理。

S3 讲结果(按下面的模板,3–6 行,不要展开所有方案)

✅ 建议:{recommended.lines 的 name,含数量}  ¥{recommended.quote.price/100}(官方核价)
   {saving>0 时:比分开点(¥{baseline.quote.price/100})少付 ¥{saving/100};keepOriginal 时:保持原来的点法就好}
⚠️ {notices:菜单显示 ¥{menuPrice/100} 的「{name}」要随单加购会员卡;只有 plain.status 为 verified 时写「不加卡 ¥{plain.price/100}」,只有 withCard.status 为 verified 时写「加卡 ¥{withCard.price/100}(含卡费)」;有 extras 时写「多出 {extras}」}
🟡 {pending:可领券「{title}」还没领,领了才能核价;领取会一次领取全部 {claimableCount} 张}

最后附一句:价格只代表这家店此刻的官方报价,下单时以 App 为准。用户想看依据时,再给出账单(门店、时间、每行商品、核价编号 quote.traceId)。

需要时再读

  • 价格状态、「同一顿」的判定、券和会员价的规则:references/rules.md
  • 报错和异常怎么处理:references/troubleshooting.md
  • 用到哪些麦当劳 MCP 工具、为什么:MCP_INTEGRATION.md

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 Advisor AI skill do?

麦麦参谋。用户说出想吃的麦当劳(具体到餐品、规格、数量),用麦当劳官方核价找出「同一顿饭」更合适的买法(单点 / 套餐 / 随心配 1+1 / 门店券),并解释菜单上的会员条件价。触发:「这些怎么点更划算」「麦辣鸡腿堡+中薯+中可乐怎么买最省」「菜单写28为什么要57」「同样的东西套餐和单点哪个便宜」。不触发:下单、外送、热量营养、推荐吃什么、积分抽奖。

Why use Mcd Advisor on TypingMind?

Because you install it once and use it with any model. Mcd Advisor 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 Advisor in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/wenboxia/mcd-advisor/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 Advisor?

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 Advisor?

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

Is the Mcd Advisor AI skill free?

Yes. It is published on GitHub by wenboxia under the MIT license. 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 👇