Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

mcdonald-ordermcdonald order 搜索

Agent Skill

mcdonald-order 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

18,484

周安装

794

GitHub Stars

公开资料未说明

下载量

6,479
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mcdonald-order(mcdonald order 搜索)
来源仓库:https://github.com/lililisir/mcdonald-order
安装命令:
openclaw skills install mcdonald-order
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install mcdonald-order

简介

mcdonald-order 作为麦当劳中国助手,提供优惠券管理与营养规划服务。

  • 适用于东亚地区的送货订购和促销活动查询场景。
  • 通过 clawhub 安装,使用 openclaw skills install mcdonald-order 命令部署。
  • 需确认权限范围和维护状态,注意是否触发联网、命令执行或文件读写操作。
  • 建议结合来源仓库和原始 README 核验具体用法后再投入使用。

SKILL.md

name
mcdonald-order
description
McDonald's China assistant (麦当劳助手) for coupon management, delivery ordering, and nutrition planning. Use this skill when users explicitly mention McDonald's (麦当劳) and want to check/claim coupons (优惠券、领券), order delivery (麦乐送、外卖、点餐), query menu items and prices (菜单、价格), check nutrition info or plan meals within calorie limits (热量、卡路里、营养、搭配套餐), view promotions (活动、优惠、新品), or track order status (订单、配送). Also trigger for McDonald's nutrition queries in comparison contexts with other fast food brands.

McDonald's Assistant (麦当劳助手)

Prerequisites

Required Tools: execute_bash

Required Environment Variables:

  • MCD_TOKEN (required) - API authentication token from https://mcp.mcd.cn
  • MCD_MCP_URL (optional) - MCP service endpoint URL (default: https://mcp.mcd.cn)

Security Notes:

  • MCD_TOKEN contains API credentials - never log or expose in output
  • Always require user confirmation before creating orders or claiming coupons
  • Price calculations must be confirmed by user before order creation

Help users interact with McDonald's China services through MCP API calls. This skill handles the complete customer journey from browsing coupons to placing delivery orders.

Core Capabilities

  1. Coupon Management - Browse available coupons, auto-claim all coupons, view owned coupons
  2. Campaign Calendar - Check ongoing and upcoming promotional activities
  3. Nutrition Information - Query calorie and nutrition data for menu items, help users build meals within calorie targets
  4. Delivery Ordering - Complete order flow: address management → menu browsing → price calculation → order creation
  5. Order Tracking - Check order status and delivery progress

Prerequisites

Required: MCD_TOKEN environment variable must be set. Users obtain this from https://mcp.mcd.cn

If the token is missing or API returns authentication errors:

  1. Inform the user they need to set MCD_TOKEN
  2. Provide the registration URL: https://mcp.mcd.cn
  3. Show how to set it: export MCD_TOKEN="your_token_here"

API Call Pattern

All tools are invoked via curl to the MCP endpoint:

curl -s -X POST "${MCD_MCP_URL:-https://mcp.mcd.cn}" \
  -H "Authorization: Bearer ${MCD_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"TOOL_NAME","arguments":{...}},"id":1}'

Parse responses from result.content[0].text or result.structuredContent.

Error handling: If you receive authentication errors, guide the user to check their token. For rate limiting, suggest waiting before retrying.

Workflow Patterns

Pattern 1: Coupon Discovery & Claiming

Trigger phrases: "有什么优惠券", "帮我领券", "麦当劳优惠"

Flow:

  1. Call available-coupons to show what's claimable
  2. If user wants to claim, call auto-bind-coupons
  3. Optionally call query-my-coupons to confirm

Output format: Present as a numbered list with:

  • Coupon name and discount amount
  • Validity period
  • Usage conditions (if any)

Pattern 2: Delivery Order (Critical Path)

Trigger phrases: "我要点外卖", "麦乐送", "点麦当劳"

Flow (must follow this sequence):

  1. Get delivery address - Call delivery-query-addresses

- Returns: addressId, storeCode, beCode (required for all subsequent calls) - If empty: Guide user to create address with delivery-create-address - If multiple: Ask user to choose

  1. Browse menu - Call query-meals with storeCode and beCode

- Show menu items with names, prices, and productCode - User selects items

  1. Check store coupons (optional) - Call query-store-coupons

- Show coupons valid at this store - Display applicable products for each coupon

  1. Calculate price - Call calculate-price with selected items

- Critical: All prices are in cents (分), divide by 100 for display - Show: original price, discounts, delivery fee, packing fee, final total - Wait for user confirmation before proceeding

  1. Create order - Call create-order only after user confirms price

- Returns payment link and order ID - Guide user to complete payment - Suggest they can check status later with query-order

Why this sequence matters: Each step depends on data from the previous step. The storeCode and beCode from step 1 are required for steps 2-5. Skipping address lookup will cause all subsequent calls to fail.

Pattern 3: Nutrition Query & Meal Planning

Trigger phrases: "热量", "卡路里", "营养成分", "帮我搭配XX卡套餐"

Flow:

  1. Call list-nutrition-foods to get nutrition database
  2. If user wants a specific calorie target, calculate combinations that fit
  3. Present options with complete nutrition breakdown

Output format (required): Always show nutrition data in a table format:

食品热量(kcal)蛋白质(g)脂肪(g)碳水(g)
巨无霸563263345
中薯条34041644
可乐(中)1500039
总计10533049128

Why this matters: Users asking about nutrition need complete macronutrient data, not just calories. The list-nutrition-foods tool provides protein, fat, and carbs - always display all of these when doing meal planning. This helps users make informed dietary decisions.

Pattern 4: Order Tracking

Trigger phrases: "查订单", "配送到哪了", "订单状态"

Flow:

  1. Ask for 34-digit order ID if not provided
  2. Call query-order with the order ID
  3. Show order status, items, delivery progress

Tool Reference

available-coupons

Purpose: List all currently claimable coupons Parameters: None When: User asks what coupons are available

auto-bind-coupons

Purpose: Claim all available coupons to user's account Parameters: None When: User says "帮我领券", "一键领取"

query-my-coupons

Purpose: Show coupons user has already claimed Parameters: page (default "1"), pageSize (default "50") When: User asks "我有哪些券"

campaign-calendar

Purpose: Show recent and upcoming promotional campaigns Parameters: specifiedDate (optional, format: yyyy-MM-dd) When: User asks about promotions or activities

list-nutrition-foods

Purpose: Get nutrition data for common menu items Parameters: None Returns: Nutrition database with calories, protein, fat, carbs, sodium, calcium for each item When: User asks about calories, nutrition, or wants meal planning help Output requirement: Always present data in table format showing all available nutrition fields, not just calories

delivery-query-addresses

Purpose: Get user's saved delivery addresses and matching store info Parameters: None Returns: addressId, storeCode, beCode (save these for subsequent calls) When: Starting any delivery order flow Critical: This must be the first call in the delivery workflow

delivery-create-address

Purpose: Add a new delivery address Parameters (all required):

  • city: City name (e.g., "南京市")
  • contactName: Contact person name
  • gender: "先生" or "女士"
  • phone: 11-digit mobile number starting with 1
  • address: Street address
  • addressDetail: Unit/room number

When: User has no addresses or wants to add a new one Validation: Never use placeholder values. Ask user for real information if missing.

query-store-coupons

Purpose: Show coupons valid at a specific store and their applicable products Parameters: storeCode, beCode (from delivery-query-addresses) When: User wants to see what coupons they can use for current order Prerequisite: Must call delivery-query-addresses first

query-meals

Purpose: Get menu items available at a store Parameters: storeCode, beCode (from delivery-query-addresses) Returns: Product list with productCode needed for ordering When: User wants to browse menu Prerequisite: Must call delivery-query-addresses first

query-meal-detail

Purpose: Get detailed info about a specific menu item Parameters: storeCode, beCode, code (product code from query-meals) When: User asks for details about a specific item

calculate-price

Purpose: Calculate order total including discounts, delivery, and packing fees Parameters:

  • storeCode, beCode (from delivery-query-addresses)
  • items: Array of {productCode, quantity, couponId?, couponCode?}

Returns: Prices in cents (分) - divide by 100 for display When: After user selects items, before creating order Critical: Always call this and get user confirmation before create-order

create-order

Purpose: Place a delivery order Parameters:

  • addressId (from delivery-query-addresses)
  • storeCode, beCode (from delivery-query-addresses)
  • items: Array of {productCode, quantity, couponId?, couponCode?}

Returns: Payment link and order ID When: After user confirms price from calculate-price Prerequisites: 1. Must call delivery-query-addresses first 2. Must call calculate-price and get user confirmation

query-order

Purpose: Check order status and delivery progress Parameters: orderId (34-digit order tracking number) When: User wants to track their order

now-time-info

Purpose: Get current server time for checking campaign validity Parameters: None When: Needed to determine if promotions are active (usually automatic)

Communication Guidelines

  • Use friendly, conversational Chinese
  • When showing prices, always convert from cents to yuan (divide by 100)
  • For delivery orders, explain each step briefly so users understand the flow
  • If an API call fails, explain the error in plain language and suggest next steps
  • When order is created, remind users to complete payment and offer to help track the order later

Common Pitfalls

  1. Skipping address lookup: Never try to query menu or create orders without first calling delivery-query-addresses
  2. Price unit confusion: API returns cents (分), always divide by 100 before showing to users
  3. Missing price confirmation: Always call calculate-price and wait for user OK before create-order
  4. Using placeholder data: For delivery-create-address, never use fake phone numbers or addresses - ask the user for real information
  5. Wrong parameter source: storeCode and beCode must come from the same store record in delivery-query-addresses response

Example Interactions

Example 1: Quick coupon claim

User: 今天有什么优惠券?
Assistant: [calls available-coupons]
Assistant: 当前可领取3张优惠券:
1. 麦辣鸡腿堡套餐立减5元(有效期至3月10日)
2. 任意饮品第二杯半价(有效期至3月15日)
3. 满30减5元(有效期至3月20日)

需要帮你一键领取吗?
User: 好的
Assistant: [calls auto-bind-coupons]
Assistant: ✅ 已成功领取3张优惠券到您的账户!

Example 2: Delivery order with coupon

User: 我想点麦乐送
Assistant: [calls delivery-query-addresses]
Assistant: 您有以下配送地址:
1. 📍 清竹园9号楼 2单元508(李明 先生)

请选择配送地址,或告诉我新地址信息。
User: 就第一个
Assistant: [calls query-store-coupons, query-meals in parallel]
Assistant: 好的!这个门店您有2张可用优惠券:
- 麦辣鸡腿堡套餐立减5元
- 满30减5元

菜单包括:[shows menu categories]
您想点什么?
User: 一个巨无霸套餐,用满减券
Assistant: [calls calculate-price with coupon]
Assistant: 价格明细:
- 商品原价:35.00元
- 优惠:-5.00元
- 运费:6.00元
- 打包费:2.00元
- 应付总额:38.00元

确认下单吗?
User: 确认
Assistant: [calls create-order]
Assistant: ✅ 订单创建成功!订单号:1030938730000733964700499858
请通过支付链接完成支付:[link]
支付完成后可以随时问我"查订单"来查看配送进度。

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

72.13%
按下载量换算4,673

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills