Mcd Budget Bite logo

Mcd Budget Bite

Community
TttMc
mcd-budget-bite

麦麦预算餐盘。在预算上限与热量上限双重约束下,求解麦当劳最优点餐组合,输出最饱型/最省型/最均衡型三套方案、热量贴士与每元性价比天梯榜。当用户说「XX块能吃啥麦当劳」「预算30元点麦当劳」「麦当劳怎么点最划算」「减肥期吃麦当劳怎么点」「帮我算一下这顿多少大卡」时使用。

Overview

PublisherTttMc
Repositorymcd-budget-bite
Skill namemcd-budget-bite
Stars
124
Forks
0
Bundled files
19
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.

  • 19 bundled files

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

  • Open source

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

Installation

Install the Mcd Budget Bite 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/TttMc/mcd-budget-bite/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/TttMc/mcd-budget-bite.git \
  .claude/skills/mcd-budget-bite
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Mcd Budget Bite 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 Budget Bite 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 Budget Bite 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-budget-bite)

给我一个预算,还你一份「吃得饱、花得值、热量心里有数」的麦当劳组合。

何时使用

用户给出预算、热量上限,或表达「想吃麦当劳但不想花太多/怕长胖」时启用。典型说法:

  • 「30 块能吃啥麦当劳」
  • 「预算 25,热量别超 700 大卡」
  • 「减脂期吃麦当劳怎么点」
  • 「麦当劳怎么点最划算」
  • 「帮我算一下巨无霸三件套多少大卡」

工作流程

1. 收集约束(缺什么问什么,但一次最多问两个问题)

参数默认值说明
预算上限必问用户不主动给就直接问
热量上限800 kcal用户没说就用默认,并在输出里注明
忌口无如「不要酸黄瓜」「不要香菜」
就餐方式到店自提外送需先查配送地址

2. 依次调用麦当劳 MCP

now-time-info        → 判定早餐/正餐时段,决定取哪套菜单
query-nearby-stores  → 定位门店(到店自提 beType=1)
query-meals          → 拉取当前门店可售菜单
list-nutrition-foods → 拉取营养数据
query-meal-detail    → 拆解套餐 / 解析杯型默认规格
calculate-price      → 对最终候选复核真实应付价

门店查询注意:query-nearby-stores 的 searchType=2 必须同时传 city 和 keyword, 只传一个会返回 600058「城市名或者关键词不能为空」。

3. 求解

bash
export MCD_MCP_TOKEN=<用户的 token>
python scripts/solve.py --store <门店编码> --budget 30 --kcal 800

首次运行会拉取菜单与营养数据并缓存到 data/;加 --offline 可完全离线复算。

4. 输出

按「三套方案 → 热量贴士 → 性价比天梯榜」的结构呈现,见 README 的示例。

硬性约束(不要违反)

  1. 营养数据缺失就标注缺失,绝不估算。 营养库只收录单品,套餐必须走 query-meal-detail 拆解子项累加;任一子项缺失则整个套餐判为缺失。 ⚠️ 实测过:用模糊匹配会把「巨无霸三件套」错配到「巨无霸」,而三件套还含 薯条和可乐,热量差一倍以上。宁可少推荐,也不能算错。
  2. 一顿正餐必须含咸食主食。 否则会选出「新地 + 圆筒冰淇淋」这种甜品组合。
  3. 价格一律以 calculate-price 的返回为准,不要用菜单现价自行加总。
  4. 输出末尾必须附免责说明:仅供参考,不构成医疗或营养专业建议;餐品信息、 价格及供应状态以麦当劳官方渠道实时结果为准。
  5. 不得将麦当劳与其他品牌对比。

已知数据边界

  • 营养库 158 条,只覆盖常规单品;限定新品(如当季联名款)通常查不到, 会作为「营养数据缺失」排除。
  • 杯型未指定的单品(菜单里只写「可乐」)通过 query-meal-detail 取默认 规格自动解析,默认规格以官方返回为准。

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

麦麦预算餐盘。在预算上限与热量上限双重约束下,求解麦当劳最优点餐组合,输出最饱型/最省型/最均衡型三套方案、热量贴士与每元性价比天梯榜。当用户说「XX块能吃啥麦当劳」「预算30元点麦当劳」「麦当劳怎么点最划算」「减肥期吃麦当劳怎么点」「帮我算一下这顿多少大卡」时使用。

Why use Mcd Budget Bite on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/TttMc/mcd-budget-bite/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 Budget Bite?

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 Budget Bite?

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

Is the Mcd Budget Bite AI skill free?

It is published on GitHub by TttMc. 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 👇