#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
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.
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
Individual skills in this repository
- mcd-saver-strategist
skills/mcd-saver-strategist
How it works
mcd-saver-strategist
When your agent uses it
麦门省钱精算师。当用户在麦当劳(麦当劳/麦麦/金拱门/麦乐送/到店取餐)点餐,并希望"最省钱、凑满减、把优惠券用到极致、性价比最高、在预算内吃好"时使用;也适用于"帮我看看这些券怎么用最划算""我想吃XX但想便宜点""30块钱能吃到什么"这类诉求。它通过麦当劳 MCP 拉取门店菜单、可用优惠券、营养信息,再用确定性组合优化算法穷举出总价最低的合规点餐方案,并在用户确认后下单。
What it loads into context
Frontmatter
174 tokensAlways available to the agent
SKILL.md
2,707 tokensWhen the skill is activated
Reference documents
3,766 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- 这个 Skill 解决什么问题
- 何时使用
- 工作流
- 硬性约束
- 资源索引
Scripts executed separately
scripts/bench.pyscripts/demo.pyscripts/mcp_probe.pyscripts/optimizer.pyscripts/parity_check.mjsscripts/selftest.py
Files
SKILL.mdcore9,179 bytesSKILL.mdcore9,179 bytesreferences/coupon-strategy.mddoc6,397 bytesreferences/mcp-tools.mddoc5,642 bytesscripts/bench.pyruns5,650 bytesscripts/demo.pyruns7,604 bytesscripts/mcp_probe.pyruns10,144 bytesscripts/optimizer.pyruns48,085 bytesscripts/parity_check.mjsruns3,712 bytesscripts/sample_data/coupons.jsonasset2,163 bytesscripts/sample_data/menu.jsonasset2,499 bytesscripts/sample_data/request.jsonasset262 bytesscripts/selftest.pyruns13,745 bytes
Read SKILL.md
# 麦门省钱精算师
## 这个 Skill 解决什么问题
麦当劳的优惠体系是「菜单 × 优惠券 × 叠加规则」的组合爆炸问题:同一顿饭,
直选可能花 47 元,「1+1 随心配」+ 单点一杯饮料只要 21.9 元。人类用户懒得算,
大模型**算不准**(组合数多、券规则细、口算容易错)。
本 Skill 的分工非常明确:
- **MCP 负责「取数」**:菜单、价格、优惠券、营养、门店。
- **`scripts/optimizer.py` 负责「算」**:在组合空间里穷举,给出确定性最优解,
并回答四个衍生问题——多目标选型、券体检、凑单建议、帕累托前沿。
- **你(Agent)负责「说」和「做」**:把结果讲成人话、给出推荐、经用户确认后下单。View the complete source on GitHubSkills 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
- #627 on Nov 1
- #629 on Nov 2
- #632 on Nov 3
- #636 from Nov 4 to Nov 5
- #706 on Nov 6
- #711 since Nov 7
22 earlier periods
- #925 on Oct 4
- #965 on Oct 9
- #941 on Oct 10
- #949 on Oct 11
- #972 on Oct 12
- #974 on Oct 13
- #990 on Oct 14
- #969 on Oct 15
- #976 on Oct 16
- #950 on Oct 17
- #921 on Oct 18
- #898 on Oct 19
- #852 on Oct 20
- #822 on Oct 21
- #740 on Oct 22
- #689 on Oct 23
- #577 on Oct 24
- #625 on Oct 25
- #617 on Oct 28
- #619 on Oct 29
- #622 on Oct 30
- #626 on Oct 31
Before you install
Network or broad shellAutomated 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:1Analysis incomplete: Referenced executable target unavailable; not analyzed
- No broad tool permissions
- No dangerous shell commands
- 12 network referencesin 2 files: mcd-saver-strategist/scripts/mcp_probe.py:35 mcd-saver-strategist/references/mcp-tools.md:3
- No hidden or obfuscated text
- No instruction overrides
- 6 executable scriptsin 6 files: mcd-saver-strategist/scripts/bench.py:1 mcd-saver-strategist/scripts/demo.py:1 mcd-saver-strategist/scripts/mcp_probe.py:1 and 3 more
- 4 references to secretsin 2 files: mcd-saver-strategist/scripts/mcp_probe.py:16 mcd-saver-strategist/references/mcp-tools.md:96
- No requests to vote in Hot
Show all 22 signals by file
skills/mcd-saver-strategist/references/mcp-tools.md
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 | Status | Evidence | Install to |
|---|---|---|---|
| Claude Code | Compatible | Standard SKILL.md skills/mcd-saver-strategist/SKILL.md | .claude/skills/<skill-name>/ |
| Codex | Compatible | Standard SKILL.md skills/mcd-saver-strategist/SKILL.md | .agents/skills/<skill-name>/ |
| Cursor | Compatible | Standard SKILL.md skills/mcd-saver-strategist/SKILL.md | .cursor/skills/<skill-name>/ |
| Gemini CLI | Compatible | Standard SKILL.md skills/mcd-saver-strategist/SKILL.md | .gemini/skills/<skill-name>/ |
| GitHub Copilot | Compatible | Standard SKILL.md skills/mcd-saver-strategist/SKILL.md | .github/skills/<skill-name>/ |
| OpenCode | Compatible | Standard 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.
[](https://hotskills.dev/skill/hujjun-mcd-saver-strategist/)