REA
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
M-CODE WRAPPED · 麦当劳数据全景报告 + 个人年报 + 方言播报
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/skills/lvzuojing-mcd-wrapped)在同一工作中把 AI 连到服务的 MCP
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Codebase intelligence for TypeScript and JavaScript, exposed as structured MCP analysis tools.
MCP server for terminal commands, file operations, and process management
同类工作,排序与 Skill 列表相同
| 本项 mcd-wrapped | rea | andrej-karpathy-skills | graphify | MoneyPrinterTurbo | |
|---|---|---|---|---|---|
| 作者 | lvzuojing | morluto | multica-ai | Graphify-Labs | harry0703 |
| Skill 数 | 1 | 1 | 1 | 1 | 1 |
| GitHub 星标 | 513 | 465,460 | 233,910 | 149,364 | 144,149 |
| 最近代码更新 | 2026年10月13日 | 2026年11月17日 | 2026年4月20日 | 2026年11月17日 | 2026年11月17日 |
| 许可证 | MIT | MIT | – | Apache-2.0 | MIT |
lvzuojing 提供的 1 个 Skill(指令集),AI 读取后照做 · 不是 MCP server
MCP = 手
把 AI 连到外部服务或数据,例如读取 Notion 或开发票。需要有程序或服务器在运行。
Skill = 手册
教 AI 怎么做某项工作的文本文件,不连接任何服务。
有些会重叠:少数 Skill 带有调用工具的脚本,少数 MCP 只提供知识。请从你想完成的工作出发。
开发者未说明 · SKILL.md 形式的 Skill 可用于支持 Agent Skills 的应用,如 Claude Code、Codex 和 Cursor
GitHub account lvzuojing (person), 10 years old
★ 513 stars · code last changed 2026年10月13日
9 scripts that can run on a computer: scripts/build_panorama.py, scripts/build_report.py, scripts/collect.py, scripts/demo_data.py and 5 more
Scripts that go online: scripts/mcp_client.py, scripts/speak.py, scripts/public_data.py
No hooks or writes to machine settings found
Checked automatically from the repo files at commit f8c6130 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself
第一步:你用哪个 AI?
选择你用的应用,本页只显示该应用的安装方法
Files are byte-for-byte the same as on GitHub at commit f8c6130 · View on GitHub ↗
9 scripts
Once uploaded it runs on Claude’s systems, not on your computer. No need to unzip
All 32 files · 3.0 MB
CONTEST_DECLARATION.md1 KBLICENSE1 KBMCP_INTEGRATION.md7 KBPROMO.md9 KBREADME.md7 KBSKILL.md3 KBSOCIAL_POSTS.md6 KBassets/panorama_template.html8 KBassets/poster.svg6 KBassets/report_template.html5 KBassets/xiaohongshu.svg3 KBmcp-config.example.json1 KBout/lottery-ev.md2 KBout/mcd-wrapped.html10 KBout/mcp-explorer.md3 KBout/panorama.html33 KBout/panorama.png2.2 MBout/poster.png140 KBout/preview.png349 KBout/xiaohongshu.png146 KBreferences/compliance.md2 KBreferences/mcp_tools.md3 KBscripts/build_panorama.py14 KBscripts/build_report.py10 KBscripts/collect.py13 KBscripts/demo_data.py5 KBscripts/explore.py11 KBscripts/lottery_ev.py9 KBscripts/mcp_client.py6 KBscripts/public_data.py9 KBscripts/speak.py6 KBworkbuddy.md8 KB正在检查命令 · 通过后才会显示复制按钮
+Create skillUpload a skillpick mcd-wrapped.zip
SettingsCapabilitiesCode execution and file creation
Turn on Code execution and file creation first (newer menus: Create and edit files) · personal plans: Settings → Capabilities · Team/Enterprise: an admin turns it on under Organization settings → Plugins & skills · every plan, including Free
Upload once; it works in claude.ai and Claude Desktop, and in recent Claude Code signed in with a Claude account (not with an API key)
Cowork and cloud sessions use the skills turned on in your claude.ai account, not ~/.claude/skills on your computer (Claude Desktop scheduled tasks run locally and still load it)
Checked against official docs 2026年11月12日 · Source: support.claude.com, support.claude.com, code.claude.com
复制这句话,粘贴到 Claude Code 的对话中
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
重新打开 Claude Code,输入 /mcd-wrapped,或直接提出相关任务,Claude 会自动选用
Checked against official docs 2026年11月12日 · Source: code.claude.com
ChatGPT 桌面应用内置 Codex,Codex 从 ~/.agents/skills 文件夹读取 Skill
在 ChatGPT 桌面应用中打开 Codex,把这句话粘贴到对话中
The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
把 mcd-wrapped 文件夹放到 ~/.agents/skills/mcd-wrapped
~ 是你的主文件夹($HOME)
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
不能使用你自己安装的 Skill,只能使用目录中插件自带的 Skill
想在 ChatGPT 中使用这个 Skill,请按上面的方法使用 ChatGPT 桌面应用
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
复制这句话,粘贴到 Codex 的对话中 · 适用于 ChatGPT 桌面应用中的 Codex、Codex CLI 和 IDE 扩展
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex · 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
复制这句话,粘贴到 Cursor 的对话中
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
在 Cursor 的 Agent 聊天中输入 / 并选择 mcd-wrapped
Checked against official docs 2026年11月12日 · Source: cursor.com
Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。
Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”
这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹
正在检查命令 · 通过后才会显示复制按钮
适用于其他能读取 Skill 的应用。这句话列出了 Claude Code、Codex 和 Cursor 的路径,AI 会按你的应用选择 · Copy this sentence into the app’s chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com
其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。
已于 2026年11月11日 对照 Claude Code、Codex 和 Cursor 官方指南核实 skill 文件夹
以下文字来自开发者的 repo,不是 PopNx MCP 的指令
2,309 个字符 · 在 GitHub 打开完整文件
---
name: mcd-wrapped
description: 麦当劳 MCP 工具箱:探测全部 35 个 tool 的真实返回、生成个人年度消费年报、生成麦当劳数据全景报告、精算积分抽奖期望值,并可选方言语音播报。当用户说"麦当劳 MCP 有哪些能力""麦当劳年度报告""麦麦数据""麦当劳全景""抽奖值不值""今年在麦当劳花了多少钱""M-CODE WRAPPED"时使用本技能。
agent_created: true
---
# M-CODE WRAPPED
麦当劳数据全景报告 + 个人年度消费年报 + 方言语音播报。
## 何时使用
- 想搞清楚麦当劳 MCP 的 35 个 tool 各自返回什么、需要什么参数
- 要一份可分享/可发朋友圈的麦当劳年报或全景报告
- 想看自己在麦当劳一年的消费记录
- 想知道积分抽奖到底值不值得抽
- 想让 AI 用粤语/方言把报告念出来
## 前置条件
- 麦当劳 MCP Token:在 open.mcd.cn 用手机号激活后复制 Token
- 无 Token 时也能用演示数据出样张
## 工作流程
### 探测 MCP 能力(调试优先)
```bash
export MCD_MCP_TOKEN=<用户的token>
python3 scripts/explore.py # -> out/mcp-explorer.md + data/tool_inventory.json
```
自动串联参数:从 `order-list` 取 `storeCode` / `orderId`,从 `mall-points-products`
取 `spuId`,喂给需要参数的 tool。
`draw-lottery`、`create-order`、`cancel-order`、`mall-create-order`、`auto-bind-coupons`、
`party-order-create`、`delivery-create-address` 属于写操作,**一律不调用**。
### 抽奖 EV 精算
```bash
python3 scripts/lottery_ev.py # 10 连抽 × 10000 轮
python3 scripts/lottery_ev.py --draws 50 --trials 50000
```
输出必须说明:官方未公布中奖概率,结果为等概率假设下的模拟。
### 公共全景报告(不需要消费记录)
```bash
export MCD_MCP_TOKEN=<用户的token>
python3 scripts/public_data.py # 采集公共数据 -> data/public_data.json
python3 scripts/build_panorama.py # -> out/mcd-wrapped.html
```
### 个人年度消费年报
```bash
export MCD_MCP_TOKEN=<用户的token>
python3 scripts/collect.py # 采集个人数据 -> data/report_data.json
python3 scripts/build_report.py # -> out/mcd-wrapped.html
```
### 演示模式(无 Token)
```bash
python3 scripts/demo_data.py
python3 scripts/build_report.py
```
### 方言播报(可选)
```bash
python3 scripts/speak.py --dialect cantonese
python3 scripts/speak.py --dialect voxcpm --ref /path/to/dialect.wav
python3 scripts/speak.py --dry-run
```
后端按 VoxCPM2 → macOS 内置中文嗓音顺序自动回退。
## 输出口径
只陈述事实,不做健康评价。禁止出现"垃圾食品""不健康""罪恶""发胖"等表述,
能量数字一律标注为估算参考值。完整红线见 `references/compliance.md`。
## 资源
- `scripts/mcp_client.py` — MCP Streamable HTTP 客户端
- `scripts/public_data.py` — 公共数据采集与解析
- `scripts/build_panorama.py` — 全景报告渲染
- `scripts/collect.py` — 个人数据采集与字段归一化
- `scripts/demo_data.py` — 确定性演示数据
- `scripts/build_report.py` — 个人年报渲染
- `scripts/speak.py` — 方言语音播报
- `assets/panorama_template.html` — 全景报告模板
- `assets/report_template.html` — 个人年报模板
- `references/mcp_tools.md` — MCP tool 清单与踩坑记录
- `references/compliance.md` — 合规红线
提问、分享技巧或报告无法使用。按“有帮助”数量排序。