← 返回 Skills 市场
美团外卖红包
作者
Meituan-OpenPlatform
· GitHub ↗
· v1.0.7
· MIT-0
172
总下载
0
收藏
0
当前安装
8
版本数
在 OpenClaw 中安装
/install meituan-waimai-coupon
功能描述
【美团官方】美团外卖红包助手,支持外卖、餐饮团购、酒店住宿、门票度假、休闲娱乐、闪购、医药等多品类优惠券/红包/神券的一键领取与历史领取记录查询。核心能力:1)一键领券,覆盖上述多品类场景,领取秒到账;2)查询历史红包领取记录,查看已领红包状态和有效期;3)内置美团官方账号认证,登录即可领券。重要说明:如存在多个...
安全使用建议
Key points before installing or enabling this Skill:
- Source trust: The package has no homepage and an unknown source owner. Only install if you trust the publisher.
- Local code execution: The skill includes Python scripts that will be executed locally (auth.py, issue.py, query.py, skill_cache_cli.py). Review them before running.
- Token migration: auth.py explicitly scans for and may migrate legacy auth/token files (e.g. ~/.xiaomei-workspace/*, ~/.openclaw/workspace/auth_tokens.json) into its own shared cache (mt_auth_tokens.json). This can expose tokens for other skills/services to this skill's storage — if you use multiple skills that store tokens locally, be cautious.
- Sensitive data handling: The skill requests/handles phone numbers and user_tokens and will write tokens and coupon history to local files. It claims not to upload sensitive values to third parties, but it will contact Meituan endpoints (peppermall.meituan.com) for issuing/querying coupons. If you are uncomfortable, do not provide real credentials or phone numbers.
- Cron/task creation: If you enable automatic daily claiming, the skill instructs creating platform cron jobs (platform-specific commands). These actions will persist external scheduled jobs tied to your account/environment.
- Mitigations: If you consider trying it, run it in an isolated environment (sandbox or throwaway account), inspect scripts for any endpoints or unexpected behavior, back up existing auth files, and/or set SKILL_CACHE_WORKSPACE to a dedicated workspace to avoid scanning/migrating unrelated token files. If you cannot audit the code, avoid granting it access to production tokens or primary phone numbers.
Summary recommendation: functionally coherent for Meituan coupon workflows, but the automatic scanning/migration of local auth files and persistent centralization of tokens is a disproportionate behavior — treat as suspicious unless you can audit and isolate its execution.
功能分析
Type: OpenClaw Skill
Name: meituan-waimai-coupon
Version: 1.0.7
The skill provides a Meituan coupon assistant with automated collection features. It contains several high-risk capabilities, including managing sensitive authentication tokens (SMS-based login in auth.py), establishing persistence via scheduled tasks (openclaw cron in references/cron-rules.md), and a bundled filesystem utility (skill_cache_cli.py) that allows the agent to read, write, and delete files within its workspace. While these behaviors are aligned with the stated purpose and the instructions include explicit security constraints (e.g., Rule 9 in SKILL.md prohibiting privacy exfiltration), the combination of credential management and automated execution represents a significant attack surface. No evidence of intentional malice or unauthorized data exfiltration was observed.
能力评估
Purpose & Capability
Name, description, SKILL.md and the included scripts (issue.py, query.py, auth.py, common.py) align: the skill issues coupons, queries history, handles login via SMS, and manages local token/history storage. The included config.json and endpoints target Meituan (peppermall.meituan.com), which fits the claimed purpose.
Instruction Scope
SKILL.md instructs the agent to execute the included Python scripts and to probe for the skill directory in $HOME/.*/skills/ paths. The runtime logic (auth.py and skill_cache_cli.py) searches and reads legacy auth/token files (including ~/.openclaw/workspace/auth_tokens.json and other workspace locations) and will migrate any found tokens into its own cache. That expands scope beyond 'issue/query coupons' into reading/centralizing authentication data from other local skill workspaces.
Install Mechanism
There is no external install/download step — this is an instruction+script bundle included in the skill. No remote installers or archive downloads were requested. Risk arises from executing the provided scripts (they will run locally when invoked).
Credentials
The skill declares no required env vars, but the code reads multiple environment variables and filesystem locations to detect workspaces and legacy auth files (SKILL_CACHE_WORKSPACE, CLAUDE_WORKSPACE, XIAOMEI_AUTH_FILE, etc.). Importantly, the migration logic explicitly looks for and will read legacy auth token files from other paths (e.g. ~/.openclaw/... and older token files) and write them into its own shared mt_auth_tokens.json — this can expose unrelated credentials to the skill's storage and is disproportionate to a coupon issuance helper unless you trust cross-skill migration intent.
Persistence & Privilege
The skill persists authentication data and history into a shared workspace (skills_local_cache/.shared/mt_auth_tokens.json, mt_ods_coupon_history.json, etc.). It also includes logic and SKILL.md instructions to create scheduled cron jobs on various platforms (CronCreate / openclaw cron add / RemoteTrigger) when the user opts in. While always:false, the skill will modify local persistent state (tokens, history, cron job IDs) and can centralize tokens from legacy locations — a non-trivial persistent footprint.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install meituan-waimai-coupon - 安装完成后,直接呼叫该 Skill 的名称或使用
/meituan-waimai-coupon触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.7
**Major upgrade: Skill renamed, expanded功能, 框架与高优先级规则全新重构**
- Skill 重命名为 “meituan-waimai-coupon”,定位为美团外卖红包助手(含官方说明与统一调度优先级说明)。
- 全新编写 SKILL.md,新增【Critical Rules】章节,细化输出规范、执行约束、安全要求及严格流程控制,确保用户话术、行为和错误处理高度一致。
- 支持多平台 Skill 目录智能检测与安装自适应;兼容多种 Shell、Agent 环境启动,细化 Python/Skill 自动探测脚本。
- 流程内置服务协议确认、定时领券(cron)提醒、严格的时区(北京时间)和多 token 查询兜底机制。
- 新增 reference 说明文档,拆分认证、定时任务、展示话术统一管理标准,便于维护和扩展。
- 明确二维码、cron 管理、登录、发券
v1.0.6
No user-facing changes in this version.
- Version updated to 1.0.6.
- No file or documentation changes detected.
v1.0.5
- Renamed the skill from "meituan-coupon-get-tool" to "meituan-coupon".
- Updated the description and documentation to reflect the new name.
- Changed version-check and online documentation URLs to match the new skill name.
- Improved security verification process: now strictly uses the redirect_url value from auth.py script when user encounters security checks, rather than constructing it in the agent.
- Added detailed privacy instructions, device_token explanation, and clear documentation on user account management (logout and device unbinding).
- Minor textual and formatting improvements in the documentation.
v1.0.4
- Skill 名称由“meituan-waimai-coupon”更名为“meituan-coupon-get-tool”,相关 displayName 也相应更新
- 明确要求发券失败后必须立即向用户展示失败提示,不得自动调用历史查询并展示查询结果,避免误导
- 补充和细化对 Step 2 发券失败的处理,强调流程终止条件及用户沟通要求
- 其他内容未做功能性更改,仅统一和调整文档表述
- 文件格式和 Skill 元信息(如 description、version)保持一致
v1.0.3
No changes detected in code or documentation.
- No code or documentation updates in this release.
- Version number updated only.
- Functionality, features, and usage remain unchanged from the previous version.
v1.0.2
- Skill 名称由“美团优惠领取工具”更新为“美团外卖红包领取”,更加突出外卖场景。
- displayName 及 description 进行了相应调整,突出“外卖红包”关键词,描述更聚焦。
- 其余功能说明、流程、接口和规范未做实质性修改,仅为文档归类及名称对应。
- 目录结构、使用方法、错误处理和数据存储说明保持不变,对已有用户无影响。
v1.0.1
**Skill "meituan-waimai-coupon" version 1.0.1** introduces major new features for accessing and managing Meituan coupons:
- Added the ability for users to directly claim Meituan coupons (“指定券领取”) through included issue and auth scripts.
- Enabled querying of historical coupon redemption records.
- Integrated complete Meituan account authentication in-skill; no external dependencies required for login or verification.
- All main scripts (`auth.py`, `issue.py`, `query.py`) and `config.json` are included in the skill package for out-of-the-box use.
- Enhanced error handling and detailed user prompts for common issues (auth errors, activity limitations, network problems).
- Skill can now support developer commission partnerships and includes comprehensive documentation for safe usage and configuration.
v1.0.0
meituan-waimai-coupon 1.0.0
- 首次发布美团优惠券查询与管理工具。
- 支持查询用户美团优惠券列表、查看详情、筛选可用券、查找即将过期的券。
- 自动识别相关语句触发优惠券服务,如“查我的美团券”“有没有外卖券”等。
- 提供结构化展示和筛选功能,支持多维度条件(业务线、金额、有效期)。
- 集成错误处理与用户引导,确保顺畅使用流程。
元数据
常见问题
美团外卖红包 是什么?
【美团官方】美团外卖红包助手,支持外卖、餐饮团购、酒店住宿、门票度假、休闲娱乐、闪购、医药等多品类优惠券/红包/神券的一键领取与历史领取记录查询。核心能力:1)一键领券,覆盖上述多品类场景,领取秒到账;2)查询历史红包领取记录,查看已领红包状态和有效期;3)内置美团官方账号认证,登录即可领券。重要说明:如存在多个... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 172 次。
如何安装 美团外卖红包?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install meituan-waimai-coupon」即可一键安装,无需额外配置。
美团外卖红包 是免费的吗?
是的,美团外卖红包 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
美团外卖红包 支持哪些平台?
美团外卖红包 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 美团外卖红包?
由 Meituan-OpenPlatform(@meituan-openplatform)开发并维护,当前版本 v1.0.7。
推荐 Skills