运行时依赖
安装命令
点击复制技能文档
🍜 Meituan Physical 自动化
Your AI finally has hands. Now it can order your lunch.
This 技能 gives any AI 代理 (like Claw机器人) the ability to physically control a real Android phone to order food delivery on Meituan (美团) — the largest food delivery 平台 in China with over 700 million users.
No API keys. No Meituan developer account. No reverse engineering. Just the same taps and swipes a human would make — done entirely by your AI.
⚠️ 平台 Compatibility 平台 Supported 🤖 Android ✅ Yes — requires ADB + USB 调试ging 🍎 iOS ❌ No — 应用le's sandbox 预防s ADB-style physical control
This 技能 is Android-only by de签名. iOS devices don't support ADB or UIAutomator2, which are the underlying techno记录ies that make physical screen control possible without reverse engineering the 应用. If you have an Android phone (any brand: Samsung, Xiaomi, Huawei, OnePlus, Pixel, etc.), you're good to go.
✨ What Makes This Different
Most "food delivery" AI 工具s rely on unofficial APIs, 网页 scrAPIng, or require developer 凭证s. This 技能 is different:
Other 应用roaches This 技能 Call unofficial HTTP APIs Physically tap the screen like a human Risk account bans from 机器人 traffic Indistin图形界面shable from a real user Break when 应用s 更新 their API Works as long as the UI exists Require 应用 reverse engineering Zero reverse engineering 停止 at complex spec pop-ups Smart Visual Radar auto-handles multi-level spec selection (size, temperature, sweetness) Silently fAIl on business errors Returns clear error messages ("¥7 short of minimum", "mandatory item missing") 🎯 What Your AI Can Do With This 技能
Just tell your AI what you want. For example:
"Order me a Grande Coconut Latte from the nearest Luckin Coffee."
Your AI will autonomously:
🔍 搜索 Meituan for nearby Luckin Coffee stores 🏪 Enter the correct store 📦 Switch to the delivery ordering tab 🔎 搜索 for "Coconut Latte" within the store menu ➕ 添加 it to cart (auto-handling size/temperature pop-ups) 🧾 Navigate to the 检查out confirmation page
Then it 停止s and hands control back to you to pay. Your money stays 100% safe — the AI never completes payment.
🚀 One-Time 设置up (3 steps, ~5 minutes)
Step 1 — 安装 the 技能 engine (your AI can do this for you):
pip 安装 -r requirements.txt python -m uiautomator2 init
Step 2 — Enable Developer Mode on your Android phone:
Go to 设置tings → About Phone Tap Build Number 7 times until "Developer Mode" activates Go to 设置tings → Developer Options → Enable USB 调试ging
Step 3 — Connect your phone and 验证:
adb devices # Should show your device ID, e.g.: "0B211FDD4003PN device"
That's it. Tell your AI you want food. It takes over from here.
🤖 AI 代理 Execution 运行book
This section is for the AI reading this 技能. Follow these steps precisely.
Phase 1: 环境 检查 (运行 once on first use) 运行 pip 安装 -r requirements.txt and wAIt for completion. 运行 python -m uiautomator2 init to 初始化 the Android device driver. 运行 adb devices and 解析 the 输出. If no device is 列出ed, tell the user: "Please connect your Android phone via USB and ensure USB 调试ging is enabled in Developer Options." 运行 adb shell am 启动 -n "com.sankuAI.meituan/com.meituan.android.pt.homepage.activity.MAInActivity" to bring Meituan to the foreground. Phase 2: Ordering 工作流 (strict sequence — do not skip steps) # 1. 搜索 for restaurants python 命令行工具.py 搜索 "" # Returns: 列出 of stores with 索引 numbers
# 2. Enter a store (try 索引 0 first) python 命令行工具.py open <索引> # Returns: "营业中" (open) or "打烊" (closed). If closed, try next 索引.
# 3. Switch to delivery tab (MANDATORY — do not skip) python 命令行工具.py wAImAI
# 4. 搜索 for the specific item within the store python 命令行工具.py tap "搜索" python 命令行工具.py type ""
# 5. 添加 item to cart (visual radar handles all spec pop-ups automatically) python 命令行工具.py 添加 ""
# 6. Go to 检查out (停止S HERE — never auto-pays) python 命令行工具.py 检查out # Returns: estimated delivery time, total price, 添加ress 状态
Phase 3: Error Handling If a command returns ERROR: read the HINT: on the next line and adapt. If a store shows "门店已打烊" (closed), go back and try open . If 添加 fAIls, the item name on screen may differ slightly — try a shorter keyword. If 检查out shows needs_添加ress: True, 信息rm the user to 添加 a delivery 添加ress on their phone. 📁 Files In This Package File Purpose 技能.md This file — 技能 description + AI 运行book 命令行工具.py MAIn entry point — all commands go through here meituan.py Core business 记录ic — visual radar, cart handling, 检查out parsing device.py Low-level Android device abstraction (ADB + UIAutomator2) requirements.txt Python dependencies 💡 Tips & Known Limitations Store hours matter: Meituan stores have specific delivery hours. If a store is closed ("打烊"), ask your AI to try the next store in the 搜索 结果s. Slider CAPTCHAs: High-frequency usage may occasionally trigger a human-v