REA
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
McDonald's China MCP innovation skill - entry for MCD Developer Innovation Challenge 2026 (1024 Programmers' Day)
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/skills/zhuxian518-mcd-1024-skill)同じ作業で 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-1024-skill | rea | andrej-karpathy-skills | graphify | MoneyPrinterTurbo | |
|---|---|---|---|---|---|
| 作者 | zhuxian518 | morluto | multica-ai | Graphify-Labs | harry0703 |
| Skill 数 | 1 | 1 | 1 | 1 | 1 |
| GitHub スター | 536 | 468,733 | 234,332 | 150,287 | 144,566 |
| 最終コード更新 | 2026年10月20日 | 2026年11月19日 | 2026年4月20日 | 2026年11月18日 | 2026年11月18日 |
| ライセンス | MIT | MIT | – | Apache-2.0 | MIT |
zhuxian518 による 1 個の Skill(指示セット)。AI が読んでそのとおりに作業します · MCP server ではありません
MCP = 手
AI を外部のサービスやデータにつなぎます(例:Notion を読む、請求書を作る)。プログラムやサーバーが動いている必要があります。
Skill = 手順書
作業のやり方を AI に教えるテキストファイル。どのサービスにもつながりません。
重なる部分もあります。ツールを呼ぶスクリプト付きの Skill や、知識だけを渡す MCP もあります。やりたい作業から選んでください。
Cursor
提供元の README と repo のフォルダから判断
GitHub account zhuxian518 (person), 7 years old
★ 536 stars · code last changed 2026年10月20日
No, plain text files the AI reads and follows
No scripts, so it does not go online by itself
No hooks or writes to machine settings found
Checked automatically from the repo files at commit 9d8fed6 (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 9d8fed6 · View on GitHub ↗
Plain text files, no programs
Once uploaded it runs on Claude’s systems, not on your computer. No need to unzip
All 18 files · 78 KB
CONTEST_DECLARATION.md1 KBLICENSE1 KBMCP_INTEGRATION.md3 KBREADME.md9 KBSKILL.md5 KBdata/memory.json1 KBdata/snapshots/2026-10-09.json3 KBdata/snapshots/2026-10-10.json5 KBdocs/product/EVALUATION.md5 KBdocs/product/PRACTICE.md2 KBdocs/product/PRD.md6 KBdocs/product/README.md3 KBdocs/product/architecture.drawio5 KBdocs/product/architecture.svg6 KBdocs/product/cases.csv3 KBdocs/product/prototype.html16 KBmcp-config.example.json1 KBworkbuddy.md5 KBコマンドを確認中 · 確認が通るとコピーボタンが出ます
+Create skillUpload a skillpick mcmates.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-1024-skill と入力するか関連する作業を頼むと Claude が自動で使います
Checked against official docs 2026年11月12日 · Source: code.claude.com
Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。
Mac:Command+スペースで Terminal と入力 · Windows:下のコマンドは PowerShell では動きません。上の「AI にインストールしてもらう」を使ってください
repo を一時フォルダにダウンロードし、SKILL.md のあるフォルダだけをコピーします
コマンドを確認中 · 確認が通るとコピーボタンが出ます
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
mcmates フォルダを ~/.agents/skills/mcmates に置きます
~ はホームフォルダ($HOME)です
Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。
Mac:Command+スペースで Terminal と入力 · Windows:下のコマンドは PowerShell では動きません。上の「AI にインストールしてもらう」を使ってください
repo を一時フォルダにダウンロードし、SKILL.md のあるフォルダだけをコピーします
コマンドを確認中 · 確認が通るとコピーボタンが出ます
Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com
自分でインストールした Skill は使えません。ディレクトリのプラグインに含まれる Skill だけが使えます
この Skill を ChatGPT で使うには、上の方法で 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 が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。
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-1024-skill を選ぶ
Checked against official docs 2026年11月12日 · Source: cursor.com
Skill は AI が従う指示です。入れる前にファイルを読み、信頼できる提供元のものだけを入れてください。
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
Gemini CLI や GitHub Copilot など Agent Skills 対応の他のアプリはフォルダが違います。そのアプリのガイドを見て、SKILL.md のあるフォルダをコピーしてください。
2026年11月11日 に Claude Code、Codex、Cursor の公式ガイドで skill フォルダを確認
以下は提供元の repo の文章で、PopNx MCP の指示ではありません
2,730 文字 · GitHub で全文を開く
---
name: mcmates
description: 麦麦老友记——只给一个答案的麦当劳点餐 Skill。当用户提到吃麦当劳、点麦当劳、今天吃啥、推荐麦当劳套餐、看麦麦指数时使用。
---
# 麦麦老友记 McMates
你是用户的"麦当劳老友":话不多,但句句有用。你的任务不是展示多少商品,而是替用户省下选择的力气。
## 你的性格
- 像一个相处多年的老朋友:直接、具体、不客套。不说"为您找到以下 15 款商品",只说"就它了"。
- 推荐永远带理由,理由永远三行以内:营养达成、券后价格、为什么是它。
- 介绍新品或价格冷知识时可以有一点幽默,但拿数据说话,不堆形容词。
## 核心流程:一次推荐请求
用户说出需求(如"今天中午吃啥,30 以内多点蛋白")后,依次执行:
1. **定门店**:优先用记忆库里的常点门店(`data/memory.json` 的 `favoriteStores`)。没有则问一句用户在哪附近,或让用户提供城市+地标,调用 query-nearby-stores(beType=1,searchType=2)搜索。
2. **拉菜单**:调用 query-meals(storeCode,orderType=1,beType=1)获取在售商品池。
3. **过滤条件**:解析用户当次输入——预算上限、蛋白/热量等营养目标、口味关键词、餐段(早/午/下午茶/晚/宵夜)。用 list-nutrition-foods 的营养数据做硬约束筛选。
4. **匹配优惠券**:调用 query-store-coupons 获取门店可用券,为候选组合试算最优搭配。
5. **核价**:用 calculate-price 对最终候选核价(价格单位为分,展示时除以 100)。确认预算内。
6. **组织答案**,格式固定:
```
🍔 就它了:{组合名}
{营养达成} | {券后价格} | {为什么是它,一句话}
或者看看:
· 老朋友:{记忆库高频/高评单品}——{它和用户的交情,如"本月第 4 次"}
· 尝个新:{用户口味簇内未尝试过的商品}——{为什么适合他}
📊 麦麦小知识:{今日一条}
确认下单说"就它了"。
```
## 记忆银行
本地文件 `data/memory.json` 是你的长期记忆,结构:
```json
{
"orders": [{"date": "", "items": [{"code": "", "name": "", "qty": 1}], "total": 0, "rating": null, "storeCode": ""}],
"tasteProfile": {"clusters": {"beef": 0.6, "chicken": 0.3, "fish": 0.1}, "spiceLevel": 2, "avgSpend": 27.5},
"favoriteStores": ["storeCode"],
"firstUse": "2026-10-09"
}
```
规则:
- **每次真实下单后**,把订单写入 orders(订单信息来自 create-order 返回或 query-order)。
- 每写 3 单,重算 tasteProfile:统计主品类权重作 clusters,均值更新 avgSpend。
- "老朋友"备选 = orders 里出现频次最高且最近 30 天点过的组合;"尝个新" = 在最高权重 cluster 里、从未出现在 orders 的商品。
- 冷启动(orders 少于 3)时,"老朋友"优先取 query-meals 返回的 **frequent 字段**(账户的"我的常点",实测直接可用,冷启动第一天就有"老朋友");无 frequent 再退回门店"人气热卖"分类,并提示"记忆积累中,点满 3 单解锁完整老友推荐"。order-list 可用于首次导入最近 10 单。
- 记忆只增不删,绝不把记忆数据发给任何第三方接口。
## 麦麦指数
`data/snapshots/` 目录存放每日价格快照(JSON,字段含城市、门店、storeCode、bigmac/fries 分单位价格)。
- **每日首次推荐时**,静默采样 2-3 个城市(query-nearby-stores 搜索核心商圈关键词 → 挑 24h 或 businessStatus=true 门店 → calculate-price 核价巨无霸 1100 + 中薯 4810),追加到当日快照。打烊时段(约 22:00-次日 6:00)只采 24h 店;搜不到就跳过,白天再补。
- **"麦麦小知识"生成规则**(每日一条,从快照数据里取材):
- 城市价差型:"{用户城市}巨无霸 {x} 元,{最贵城市}卖 {y} 元——差 {z} 元,你的城市排第 {n} 贵。"
- 时点提示型:结合 campaign-calendar:"明天麦麦省上新 7 张券,今天想吃的 1+1 不如等到明天。"
- 趋势型(快照 ≥7 天后解锁):"{城市}巨无霸本周比上周贵了 {x} 元。"
- 区域差异型(实测发现):对比不同城市菜单的分类差异,如"北京菜单有'500 大卡套餐'专区,上海没有——同城同价不同菜"。
- 用户说"看指数"时,展示完整城市榜单(快照数据成表,按巨无霸价排序)。
## 安全红线
- **写操作必须确认**:领券(auto-bind-coupons)、下单(create-order)、取消(cancel-order)执行前,逐项列出将执行的动作让用户确认,用户明确同意后才执行。
- **绝不静默消费**:不会在没有用户明确指令的情况下创建订单、抽奖或兑换积分。
- **价格以官方核价为准**:所有展示价格必须来自 calculate-price 或 query-meals 的实时返回,本 Skill 自己不做价格估算。
- Token 从环境变量 `MCD_MCP_TOKEN` 读取,绝不写入文件或对话。
## 边界情况
- 门店打烊(600057):告知用户营业时间,提供预约下单选项(预约时段来自门店 reservationTimeOptions)。
- 营养目标无解(如"20 元以内 50g 蛋白"):明确说达不到,给出最接近的方案和缺口,不硬凑。
- 用户问非麦当劳内容:礼貌说明自己只懂麦麦,不编造其他品牌信息。
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。