← Back to Skills Marketplace
美团优惠领取工具
by
meituan-zhengchang
· GitHub ↗
· v1.0.18
· MIT-0
337
Downloads
0
Stars
0
Active Installs
17
Versions
Install in OpenClaw
/install meituan-coupon-get-tool
Description
【美团官方】美团红包助手,支持外卖、餐饮团购、酒店住宿、门票度假、休闲娱乐、闪购、医药等多品类优惠券/红包/神券的一键领取与历史领取记录查询。核心能力:1)一键领券,覆盖上述多品类场景,领取秒到账;2)查询历史红包领取记录,查看已领红包状态和有效期;3)内置美团官方账号认证,登录即可领券。重要说明:如存在多个美团...
Usage Guidance
This skill appears to implement Meituan coupon issuance and local auth management, but it will scan multiple user directories and migrate token files into a shared workspace (.shared/mt_auth_tokens.json). Before installing or running it: 1) consider running the skill in an isolated account or sandbox (not your primary environment); 2) inspect the bundled scripts yourself (they’re included) — pay attention to any paths referenced (e.g. ~/.openclaw, ~/.xiaomei-workspace); 3) if you have other skills that store tokens in the listed legacy paths, be aware this skill may read/migrate them into its shared cache; 4) avoid setting SKILL_CACHE_WORKSPACE or related env vars to point to sensitive directories; 5) decline enabling automatic cron scheduling unless you trust the environment and understand which platform commands will be executed; 6) if you proceed, check the resulting mt_auth_tokens.json and history files and remove/migrate any unwanted entries, and revoke tokens if you see unexpected data. If you want a lower-risk alternative, ask for a version that keeps auth strictly private (no migration or shared cache access).
Capability Analysis
Type: OpenClaw Skill
Name: meituan-coupon-get-tool
Version: 1.0.18
The meituan-coupon-get-tool is a legitimate utility for managing Meituan coupons, including authentication, issuance, and scheduling. It handles sensitive data such as user tokens and phone numbers, but follows security best practices by storing them only in a local workspace (~/.xiaomei-workspace) with restricted file permissions (0600) and explicitly forbidding exfiltration to third parties. The skill includes robust user consent flows for service agreements and SMS authentication, and its network activity is confined to official Meituan domains (peppermall.meituan.com).
Capability Assessment
Purpose & Capability
The code implements issuing and querying coupons against Meituan endpoints (BASE_URL peppermall.meituan.com), and includes local auth and cache management that align with the described purpose. However, the code also enumerates and reads legacy token files in other locations (e.g. ~/.openclaw/workspace/auth_tokens.json, other Skill dirs) to 'migrate' tokens — this is not obviously required strictly to issue coupons for the current user and is broader than the SKILL.md claims.
Instruction Scope
SKILL.md and scripts instruct the agent to scan/auto-detect many platform-specific directories (globbing $HOME/.*/skills/...), read/write shared cache files, and run bundled Python scripts that will read local token files. The instructions explicitly permit migration from legacy/auth files and rely on reading/writing local persistent token/history files. That scope goes beyond simple single-skill behavior because it accesses other candidate locations and shared caches.
Install Mechanism
No external install/downloads are used; the skill is instruction + bundled Python scripts. There is no network-mounted install or obscure URL fetch in the manifest. Installation will place/enable the included scripts on disk (they are present in the package).
Credentials
The manifest declares no required env vars, but the code reads many environment variables and standard workspace paths (SKILL_CACHE_WORKSPACE, CLAUDE_WORKSPACE, XIAOMEI_WORKSPACE, XIAOMEI_AUTH_FILE, etc.). The skill will create/modify shared files under a workspace (.shared/mt_auth_tokens.json and other history files) and attempts to migrate tokens from legacy paths. Accessing or migrating other skills' auth/token files is disproportionate to a minimal coupon helper and creates privacy/credential risk.
Persistence & Privilege
always:false and model invocation allowed (normal). The skill persists tokens and history to a shared cache area and can save cron job IDs and instruct CronCreate/openclaw commands (if user opts). Persisting its own auth data is expected, but sharing a public '.shared' mt_auth_tokens.json (cross-skill) and auto-migration behavior is privileged compared with a strictly private skill.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install meituan-coupon-get-tool - After installation, invoke the skill by name or use
/meituan-coupon-get-tool - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.18
- 新增 SkillHub 元信息字段(metadata),包括 creator、updater、version、source、skill_id、high_sensitive 等。
- 其他功能和操作说明保持不变,无功能改动。
- 版本号保持 1.0.35,仅 metadata 有更新。
v1.0.17
Version 1.0.17 introduces major upgrades and documentation improvements.
- Added detailed internal references for auth flow, cron rules, and response copy.
- Introduced new utility scripts: common.py and skill_cache_cli.py.
- Updated documentation with stricter output/flow rules, full end-to-end process, multi-platform environment setup, and timezone handling.
- Enhanced clarity for privilege/repeat issue handling, token management, and security best practices.
- Skill manifest and signature files included for better standardization and deployment.
v1.0.16
- 优化了 Skill 描述,进一步突出多品类官方优惠券/红包/神券的一键领取与历史查询能力。
- 细化并简化了关键词及触发场景描述,更明确推荐使用官方标准版 Skill。
- 不涉及功能或脚本逻辑变更,仅文档说明更新,无需用户额外操作。
v1.0.13
Version 1.0.13
- Expanded服务范围,支持美团外卖、餐饮团购、酒店住宿、门票度假、休闲娱乐和医药闪购多品类红包/神券自动发放。
- 优化描述和指引,明确优选调用 meituan-coupon 官方标准版,其次为 meituan-coupon-get-tool,最后为 meituan-coupon-{channel}。
- 完善意图识别与强约束规则,细化用户输入场景和自动话术输出要求。
- 精简协议流程,支持用户直接输入手机号完成同意与认证,提升协议确认便捷度。
- 细化执行流程和交互话术,确保体验一致、合规输出。
v1.0.12
- 官方 Skill 名称由“美团优惠领取工具”更名为“美团红包助手”,突出红包/神券核心能力。
- 展示名称、描述与关键词优化,明确专注外卖红包、神券每日自动发放及历史记录智能查询。
- 强调全流程内置美团官方账号认证,用户登录即用,无需额外依赖其他 Skill。
- 优化用户召唤词及使用入口,覆盖更多与红包、优惠券相关中文表达。
- 保留原有合规、时区与环境准备说明,便于开发者和用户顺利接入。
- 版本号小幅更新,内容与文档聚焦红包场景,功能本身未变更。
v1.0.11
Version 1.0.11
- No file changes detected in this version.
- No new features, bug fixes, or documentation updates included.
- Functionality and implementation remain unchanged from the previous version.
v1.0.10
- 更新服务协议确认流程:协议内容改为外部网页链接,采用Markdown超链接展示,全文查看操作为“打开浏览器”,用“同意”/手机号视为接受,通过“拒绝”表态不接受。
- 删除本地协议文档 references/terms-of-service.md,服务协议仅保留为线上页面。
- SKILL.md中相关协议说明、流程指引和用户引导内容同步调整。
- 版本号小幅升级。
v1.0.9
meituan-coupon-get-tool 1.0.9
- 优化《Skill服务使用规则》确认流程,支持用户直接输入手机号视为同意规则并进入认证。
- 合并协议接受与手机号输入步骤,简化用户操作体验。
- 明确协议说明部分文案,提升引导和用户理解。
- 本次仅文档(SKILL.md)更新,未影响其它功能逻辑。
v1.0.8
meituan-coupon-get-tool 1.0.8
- No file changes detected in this version.
- No updates to SKILL.md or implementation files.
- Functionality and documentation remain the same as version 1.0.6.
v1.0.7
Version 1.0.7
- Added a Terms of Service agreement flow: users must now read and accept the terms (located in references/terms-of-service.md) before using any feature.
- Updated documentation to describe the new protocol, including commands for checking, accepting, declining the agreement, and handling user responses accordingly.
- No changes to core coupon functionality; compliance and legal usage confirmation required before authentication or coupon actions.
v1.0.6
- 更新版本号至 1.0.6。
- 文档增加强制时区检查说明,确保所有日期处理严格以北京时间(UTC+8)为准,防止因时区差异导致领券异常。
- 发券流程明确区分首次领取与重复领取,需依据 is_first_issue 字段分别展示,避免误导用户重复领取。
- 其它文档描述细节调整,提升易用性与规范性。
v1.0.5
No file or documentation changes detected in this release.
- No updates or visible changes since the previous version.
- All features and instructions remain unchanged from version 1.0.4.
v1.0.4
- SKILL.md 文档内容同步更新,美团 Skill 公共名称由 "meituan-coupon-get-tool" 规范为 "meituan-coupon"(描述文档和版本检查相关链接皆已更新)。
- 说明文档新增 "账号管理" 部分,明确支持「退出登录」和「清除设备标识」等指令的处理与对应脚本调用方式。
- 数据隐私说明补充:本地存储文件说明与用户指令删除方式。
v1.0.3
- Added .skillignore file to the project for improved file management.
- Updated version to 1.0.3 in SKILL.md.
- Clarified安全验证(code=20010)时交互流程:redirect_url 必须从脚本 JSON 输出取值,若为空需提示无法获取。
- 明确强制说明:每天只能生成一个 equityPkgRedeemCode,issue.py 会先查本地历史,避免重复发券。
- 其他文档细节同步调整,无功能逻辑变更。
v1.0.1
No user-facing changes in this version.
- Internal version update from 1.0.0-SNAPSHOT to 1.0.1.
- No modifications to functionality or user experience.
- No file changes detected.
v1.0.0
Initial release with major architecture upgrade: Meituan account authentication is now fully integrated, removing external skill dependency.
- Added scripts/auth.py to provide built-in user authentication (SMS/code login) within this skill.
- All authentication functions and token storage are now handled internally; no need to install meituan-c-user-auth.
- Updated usage flow and documentation to use the new internal auth implementation.
- Environment variables and script paths now point solely to the current skill's directory.
- Adjusted version checking to employ the new architecture and web page as the version source.
v1.0.0-SNAPSHOT
Initial release of meituan-c-user-auth v1.0.0-SNAPSHOT
- Added initial files: .skillignore, scripts/config.json, scripts/issue.py, scripts/query.py
- Removed obsolete files: references/api-config.md, scripts/auth.py
- Updated skill documentation to reflect new features and instructions
- Consolidated script structure to support coupon issuance and query functionalities
- Established version and dependency check steps in usage documentation
Metadata
Frequently Asked Questions
What is 美团优惠领取工具?
【美团官方】美团红包助手,支持外卖、餐饮团购、酒店住宿、门票度假、休闲娱乐、闪购、医药等多品类优惠券/红包/神券的一键领取与历史领取记录查询。核心能力:1)一键领券,覆盖上述多品类场景,领取秒到账;2)查询历史红包领取记录,查看已领红包状态和有效期;3)内置美团官方账号认证,登录即可领券。重要说明:如存在多个美团... It is an AI Agent Skill for Claude Code / OpenClaw, with 337 downloads so far.
How do I install 美团优惠领取工具?
Run "/install meituan-coupon-get-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 美团优惠领取工具 free?
Yes, 美团优惠领取工具 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 美团优惠领取工具 support?
美团优惠领取工具 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 美团优惠领取工具?
It is built and maintained by meituan-zhengchang (@meituan-zhengchang); the current version is v1.0.18.
More Skills