#711 by GitHub stars

hujjun/mcd-saver-strategist

麦门省钱精算师。当用户在麦当劳(麦当劳/麦麦/金拱门/麦乐送/到店取餐)点餐,并希望"最省钱、凑满减、把优惠券用到极致、性价比最高、在预算内吃好"时使用;也适用于"帮我看看这些券怎么用最划算""我想吃XX但想便宜点""30块钱能吃到什么"这类诉求。它通过麦当劳 MCP 拉取门店菜单、可用优惠券、营养信息,再用确定性组合优化算法穷举出总价最低的合规点餐方案,并在用户确认后下单。

History

Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.

View weekly changes

skills/mcd-saver-strategist/SKILL.md

Week of Nov 2, 2026 · +0 / −0 lines

Before Network or broad shell → After Network or broad shell

6e2c462c1fd1 → 6e2c462c1fd1

Compare on GitHub

Week of Oct 26, 2026 · Line counts unavailable

Before Not checked yet → After Network or broad shell

First observation → 6e2c462c1fd1

No earlier version was observed for comparison.

Compare on GitHub

View on GitHubAdd to my skills

Verified commit 6e2c462c1fd19ff446676034d5f290486942f8ec

1.3kGitHub stars
-215stars in 7 days
1skill in this repository
6commits in 30 days

Heat

0.9
  • Star growth, last 7 daysAhead of 0% of tracked repositories
  • Star growth, last 24 hoursAhead of 0% of tracked repositories
  • Rank movement, last 7 daysAhead of 0% of tracked repositories
  • Commits, last 30 daysAhead of 71% of tracked repositories
  • Accounts asking about it through MCP, last 7 daysNot available
  • Hot votes this weekAhead of 0% of tracked repositories

Heat never changes the order by stars, and sponsorship never touches it. How heat works

Stars over time

Oct 4, 2026Nov 7, 20261,546

Individual skills in this repository

How it works

mcd-saver-strategist

When your agent uses it

麦门省钱精算师。当用户在麦当劳(麦当劳/麦麦/金拱门/麦乐送/到店取餐)点餐,并希望"最省钱、凑满减、把优惠券用到极致、性价比最高、在预算内吃好"时使用;也适用于"帮我看看这些券怎么用最划算""我想吃XX但想便宜点""30块钱能吃到什么"这类诉求。它通过麦当劳 MCP 拉取门店菜单、可用优惠券、营养信息,再用确定性组合优化算法穷举出总价最低的合规点餐方案,并在用户确认后下单。

What it loads into context

Frontmatter

174 tokens

Always available to the agent

SKILL.md

2,707 tokens

When the skill is activated

Reference documents

3,766 tokens

Loaded on request

Token counts are estimates. Scripts run separately; they are not counted as reference context.

The playbook

  1. 这个 Skill 解决什么问题
  2. 何时使用
  3. 工作流
  4. 硬性约束
  5. 资源索引

Scripts executed separately

  • scripts/bench.py
  • scripts/demo.py
  • scripts/mcp_probe.py
  • scripts/optimizer.py
  • scripts/parity_check.mjs
  • scripts/selftest.py

Files

  • SKILL.mdcore9,179 bytes
  • SKILL.mdcore9,179 bytes
  • references/coupon-strategy.mddoc6,397 bytes
  • references/mcp-tools.mddoc5,642 bytes
  • scripts/bench.pyruns5,650 bytes
  • scripts/demo.pyruns7,604 bytes
  • scripts/mcp_probe.pyruns10,144 bytes
  • scripts/optimizer.pyruns48,085 bytes
  • scripts/parity_check.mjsruns3,712 bytes
  • scripts/sample_data/coupons.jsonasset2,163 bytes
  • scripts/sample_data/menu.jsonasset2,499 bytes
  • scripts/sample_data/request.jsonasset262 bytes
  • scripts/selftest.pyruns13,745 bytes
Read SKILL.md

# 麦门省钱精算师

## 这个 Skill 解决什么问题

麦当劳的优惠体系是「菜单 × 优惠券 × 叠加规则」的组合爆炸问题:同一顿饭,
直选可能花 47 元,「1+1 随心配」+ 单点一杯饮料只要 21.9 元。人类用户懒得算,
大模型**算不准**(组合数多、券规则细、口算容易错)。

本 Skill 的分工非常明确:

- **MCP 负责「取数」**:菜单、价格、优惠券、营养、门店。
- **`scripts/optimizer.py` 负责「算」**:在组合空间里穷举,给出确定性最优解,
  并回答四个衍生问题——多目标选型、券体检、凑单建议、帕累托前沿。
- **你(Agent)负责「说」和「做」**:把结果讲成人话、给出推荐、经用户确认后下单。
View the complete source on GitHub

Skills included

  • mcd-saver-strategist

Repository facts

License
MIT
Created
Oct 9, 2026
Last pushed
Oct 19, 2026
Forks
87
Open issues
2
Project activity
Active

Rank over the last 12 weeks

Now #711 · best #577 · up 214 in 30 days

  1. #627 on Nov 1
  2. #629 on Nov 2
  3. #632 on Nov 3
  4. #636 from Nov 4 to Nov 5
  5. #706 on Nov 6
  6. #711 since Nov 7
22 earlier periods
  1. #925 on Oct 4
  2. #965 on Oct 9
  3. #941 on Oct 10
  4. #949 on Oct 11
  5. #972 on Oct 12
  6. #974 on Oct 13
  7. #990 on Oct 14
  8. #969 on Oct 15
  9. #976 on Oct 16
  10. #950 on Oct 17
  11. #921 on Oct 18
  12. #898 on Oct 19
  13. #852 on Oct 20
  14. #822 on Oct 21
  15. #740 on Oct 22
  16. #689 on Oct 23
  17. #577 on Oct 24
  18. #625 on Oct 25
  19. #617 on Oct 28
  20. #619 on Oct 29
  21. #622 on Oct 30
  22. #626 on Oct 31

Before you install

Network or broad shell

Automated signals, not a guarantee

Checked Nov 3, 2026

Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.

Show 1 note
  • skills/mcd-saver-strategist/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
Show all 22 signals by file

skills/mcd-saver-strategist/references/mcp-tools.md

  • Network accessline 3
    本 Skill 实际使用的麦当劳 MCP Server:**`mcd-mcp`**,接入地址 `https://mcp.mcd.cn`,
  • Access to secretsline 96
    [Credential-related source omitted]

skills/mcd-saver-strategist/scripts/bench.py

  • Executable scriptline 1
    #!/usr/bin/env python3

skills/mcd-saver-strategist/scripts/demo.py

  • Executable scriptline 1
    #!/usr/bin/env python3

skills/mcd-saver-strategist/scripts/mcp_probe.py

  • Executable scriptline 1
    #!/usr/bin/env python3
  • Access to secretsline 16
    [Credential-related source omitted]
  • Network accessline 35
    DEFAULT_URL = "https://mcp.mcd.cn"
  • Network accessline 80
    [Credential-related source omitted]
  • Network accessline 81
    [Credential-related source omitted]
  • Network accessline 82
    "User-Agent": "mcd-saver-strategist/2.0 (+https://github.com/hujjun/mcd-saver-strategist)",
  • Network accessline 87
    req = urllib.request.Request(self.url, data=data, headers=headers, method="POST")
  • Access to secretsline 143
    [Credential-related source omitted]
  • Access to secretsline 144
    [Credential-related source omitted]
  • Network accessline 151
    [Credential-related source omitted]
  • Network accessline 152
    [Credential-related source omitted]
  • Network accessline 153
    print("  Token 申请: https://open.mcd.cn/mcp", file=sys.stderr)
  • Network accessline 165
    print(f"✗ 握手失败: {msg}", file=sys.stderr)         if "401" in msg or "403" in msg:             print("  → Token 可能无效或已过期, 请到 https://open.mcd.cn/mcp 重新复制。", file=sys.stderr)
  • Network accessline 166
    if "401" in msg or "403" in msg:             print("  → Token 可能无效或已过期, 请到 https://open.mcd.cn/mcp 重新复制。", file=sys.stderr)         return 2
  • Network accessline 167
    print("  → Token 可能无效或已过期, 请到 https://open.mcd.cn/mcp 重新复制。", file=sys.stderr)

skills/mcd-saver-strategist/scripts/optimizer.py

  • Executable scriptline 1
    #!/usr/bin/env python3

skills/mcd-saver-strategist/scripts/parity_check.mjs

  • Executable scriptline 1
    #!/usr/bin/env node

skills/mcd-saver-strategist/scripts/selftest.py

  • Executable scriptline 1
    #!/usr/bin/env python3

How the signals fit together

Facts from a static read of the files at the pinned commit. They describe what the code does, not why.

Some files could not be read; the facts below still hold.

No combined signals at this commit.

Works with

Agent compatibility, from the files in this repository
AgentStatusEvidenceInstall to
Claude CodeCompatibleStandard SKILL.md skills/mcd-saver-strategist/SKILL.md.claude/skills/<skill-name>/
CodexCompatibleStandard SKILL.md skills/mcd-saver-strategist/SKILL.md.agents/skills/<skill-name>/
CursorCompatibleStandard SKILL.md skills/mcd-saver-strategist/SKILL.md.cursor/skills/<skill-name>/
Gemini CLICompatibleStandard SKILL.md skills/mcd-saver-strategist/SKILL.md.gemini/skills/<skill-name>/
GitHub CopilotCompatibleStandard SKILL.md skills/mcd-saver-strategist/SKILL.md.github/skills/<skill-name>/
OpenCodeCompatibleStandard SKILL.md skills/mcd-saver-strategist/SKILL.md.opencode/skills/<skill-name>/
  • Native The repository ships a manifest, folder or frontmatter field for this agent.
  • Compatible A standard SKILL.md that this agent can read.
  • Unknown No evidence either way.

Derived automatically from paths, manifests and frontmatter. Not tested on each agent.

Add this badge to your README

It updates every night and links to this page.

hujjun/mcd-saver-strategist: #711 on hotskills, 1.3k stars

[![hujjun/mcd-saver-strategist on hotskills](https://hotskills.dev/badge/hujjun-mcd-saver-strategist.svg)](https://hotskills.dev/skill/hujjun-mcd-saver-strategist/)