ayue-oss

美团优惠券自动领取

AI Agentv2.1.1
By ayue-ossUpdated 2026-05-117 versions · latest released 2026-03-16meituan-coupon-auto@clawhub_ayue-oss/meituan-coupon-auto
Task AutomationWorkflow Orchestration

According to AlphaMoat, as of 2026-10, 美团优惠券自动领取 has 20,202 downloads and 4 stars — ranked by downloads #1,397 among 10,914 AI skills in this ranking, and #195 of 1,632 in AI Agent.

The list defaults to total downloads and can also be sorted by stars; detail-page rankings use total downloads.

Downloads
20.2K
Stars
4
Overall download rank
#1,397
Top 13% overall · Top 12% in AI Agent
PlatformDownloadsStarsComments
ClawHub ↗1.6K3-
SkillHub ↗20.2K4—

Platforms count differently and update at different times.

What this skill does

The skill uses browser actions on the Meituan coupon page and reads the resulting coupon count, total value, and categories. It can also configure a recurring reminder. Obtain explicit user confirmation before claiming in an account session; before enabling recurrence, confirm the time, timezone, and how to pause or delete the task.

Profile published 2026-10-29

What you can do with it

  • Claim Meituan coupons after confirmation
  • Review the number, total value, and categories of claimed coupons
  • Plan a recurring reminder and verify how to pause or delete it

When to use it

  • When claiming coupons in the user’s authorized Meituan account
  • When summarizing the categories and details of claimed coupons

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Explain which logged-in session will be used and what coupon-claim action will run; wait for my explicit confirmation before clicking.
Explain how to set a recurring reminder and how to pause or remove it.

Monthly Trend

Downloads20.2K
010.9K21.8K2026-03 · Downloads 3562026-05 · Downloads 8282026-06 · Downloads 1.0K2026-07 · Downloads 1.2K2026-08 · Downloads 3.7K2026-09 · Downloads 6.8K2026-10 · Downloads 20.2K26-0326-0926-10
Stars4
3442026-03 · Stars 32026-05 · Stars 32026-06 · Stars 32026-07 · Stars 32026-08 · Stars 42026-09 · Stars 42026-10 · Stars 426-0326-0926-10

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-1020.2K—4
2026-096.8K—4
2026-083.7K+212.0%4
2026-071.2K+16.9%3
2026-061.0K+22.9%3
2026-05828—3
2026-03356—3

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

5.4 KB · ClawHub v2.1.1
---
name: meituan-coupon-auto
description: "自动领取美团优惠券。触发词: 领取美团优惠券, 运行美团优惠券技能, 设置每日自动领取, 查看优惠券, meituan coupon, 美团领券"
metadata:
  {
    "openclaw": {
      "emoji": "🛵",
      "requires": {}
    }
  }
Show all (171 lines)
---

# 美团优惠券自动领取

自动浏览器领取美团全部优惠券,**两次点击**解锁券明细弹窗,直接读取张数/总金额/分类明细。

## 验证数据
- 69张券,800元(2026-03-16 实测)
- 两次点击策略:第1次触发领取→页面跳转,第2次触发明细弹窗
- 覆盖:外卖神券 + 闪购券 + 堂食券 + 玩乐变美 + 生活服务

## 触发词
- "领取美团优惠券" / "美团领券" — 立即领取
- "运行美团优惠券技能" / "meituan coupon" — 运行技能
- "设置每日自动领取" — 设置定时任务
- "查看优惠券" — 查看今日领取记录

## 执行流程(5步)

### 步骤1:启动浏览器

```
browser(action=status, profile=openclaw)
# 未运行则先 start
browser(action=start, profile=openclaw)
```

### 步骤2:打开领券页(不等完整加载)

```
browser(action=open, profile=openclaw, url="https://click.meituan.com/t?t=1&c=2&p=mcB9ObxznZMn")
```

### 步骤3:等待页面就绪 + 第一次点击(触发领取)

等待2秒后执行第一次点击:

```
browser(action=act, kind=wait, timeMs=2000)
browser(action=act, kind=evaluate, fn="document.querySelector('.gundam-view.receive-btn, .receive-btn, [class*=\"receive-btn\"]')?.click()")
```

### 步骤4:等待页面跳转 + 第二次点击(触发明细弹窗)

等待2秒(等待页面跳转至 market.waimai.meituan.com),再点击一次触发明细弹窗:

```
browser(action=act, kind=wait, timeMs=2000)
browser(action=act, kind=evaluate, fn="document.querySelector('.gundam-view.receive-btn, .receive-btn, [class*=\"receive-btn\"]')?.click()")
```

### 步骤5:等待明细出现 + 读取快照 + 解析 + 关闭

```
browser(action=act, kind=wait, timeMs=2000)
browser(action=snapshot, profile=openclaw, compact=true)
→ 在快照中查找 "共X张券" / "总计Y元已到账" / 各优惠券明细
browser(action=stop, profile=openclaw)
```

## 快照解析规则

领取成功后,快照顶部会出现明细弹窗,格式如下:

```
共 69 张券, 总计 800 元已到账
¥17 满58可用 今日有效 外卖大额神券
¥12 满34可用 今日有效 外卖神券
¥5 满25可用 今日有效 闪购零食神券
...
```

解析逻辑(用 JS 或 regex 均可):

```javascript
// 从 snapshot text 提取汇总
const summary = text.match(/共\s*(\d+)\s*张券.*?总计\s*(\d+)\s*元已到账/);
// coupons = summary[1], totalValue = summary[2]

// 提取每张券明细(格式:¥金额 满X可用 有效期描述 类型名称)
const itemRe = /¥\s*(\d+)\s+(满\d+可用\s+)?(今日有效|有效期至[\d.]+|明日[\d:]+截止)\s+(.+)/g;
let m, items = [];
while ((m = itemRe.exec(text)) !== null) {
  items.push({ value: parseInt(m[1]), condition: m[2]?.trim() || '', validity: m[3], name: m[4].trim() });
}
```

## 输出格式(最终回复用户)

```
🛵 美团优惠券领取成功

📊 共 69 张券,总计 ¥800 已到账

🛵 外卖神券(今日有效)
  ¥17 满58可用 · 外卖大额神券
  ¥15 满38可用 · 外卖大额神券
  ¥12 满34可用 · 外卖神券

🛒 闪购券(今日有效)
  ¥35 满99可用 · 松鼠坚果
  ¥29 满109可用 · 闪购酒饮
  ... (其余汇总)

🍽️ 堂食/生活(至本周)
  ¥30 满300可用 · 堂食膨胀神券
  ...

⏱ 2026-03-16 13:18 | 今日有效券请尽快使用
```

## 状态检测

| 状态 | 识别关键词 | 处理 |
|------|-----------|------|
| ✅ 成功 | `共X张券.*总计Y元已到账` | 解析明细输出 |
| ⚠️ 需打开App | `请打开美团App继续查看` | 执行第二次点击 |
| 🔐 需登录 | `请输入手机号` / `登录` | 提示手动登录后重试 |
| ✋ 已领取 | `剩余 0 次` / `已领取` | 回复"今日已领过" |
| 🔥 太火爆 | `太火爆` | 提示30分钟后重试 |

## 选择器降级顺序

| 优先级 | 选择器 | 说明 |
|--------|--------|------|
| 1 | `.gundam-view.receive-btn.vyx6l` | 精确class(常用) |
| 2 | `.receive-btn` | 模糊class |
| 3 | `[class*="receive-btn"]` | 更宽松 |
| 4 | `innerText === '立即领取'` | 文本降级 |

## 定时任务(每天 10:00 & 13:18)

```json
{
  "name": "美团每日领券",
  "schedule": { "kind": "cron", "expr": "18 13 * * *", "tz": "Asia/Shanghai" },
  "payload": { "kind": "systemEvent", "text": "⏰ 定时提醒:领取美团优惠券" },
  "sessionTarget": "main",
  "delivery": { "mode": "none" }
}
```

> ⚠️ 必须使用 `sessionTarget: "main"` + `payload.kind: "systemEvent"`。
> 使用 `isolated` + `announce` 在无外部渠道(Telegram/Discord)时会报错:
> `Channel is required (no configured channels detected)`

## 领券页面地址

```
https://click.meituan.com/t?t=1&c=2&p=mcB9ObxznZMn
```
覆盖:外卖神券 · 闪购券 · 堂食券 · 玩乐变美 · 生活服务 · 医疗 · 超市

---

> 📋 实测记录(2026-03-16):
> - [x] 两次点击策略验证:第1次→页面跳转至 market.waimai.meituan.com,第2次→明细弹窗出现
> - [x] 成功读取:69张券 / ¥800 / 含外卖、闪购、堂食、玩乐变美等分类
> - [x] 每次点击后 wait 2000ms 确保页面稳定
> - [x] compact snapshot 可清晰读取券明细列表

Popular in AI Agent

self-improving agentAI Agent

Records learnings, errors and corrections as Markdown files for later reuse and promotion into workspace memory.

↓ 1.6M★ 4.5Kpskoett
技能发现·Find SkillsAI Agent

Finds skills in local and remote catalogs from a plain-language request and recommends what to install.

↓ 1.6M★ 1.8K桂皮
Agent BrowserAI Agent

A browser-automation command line skill for AI agents.

↓ 1.2M★ 1.0KNicolas Kleiber
Self-Improving + Proactive AgentAI Agent

Turns corrections and self-review into tiered memory and promotes or archives it by use.

↓ 696.4K★ 1.6KIván
Proactive AgentAI Agent

A workspace setup guide for planning proactive follow-up, working memory and review routines for an AI agent.

↓ 579.3K★ 916halthelobster
Skill CreatorAI Agent

A guide to creating and updating effective Claude skills.

↓ 477.3K★ 485chindden
Skill VetterAI Agent

Reviews a third-party skill's source, permissions, and danger patterns against a checklist before it is installed.

↓ 445.2K★ 1.3Kspclaudehome
唐朝诗仙李白 · Ai Agent SkillAI Agent

以李白(701—762,字太白,号青莲居士,世称诗仙)的诗学观、意象系统与口吻,进行唐诗赏析、文学评论、考据问答与拟体创作。触发词:李白、李太白、太白、青莲居士、诗仙、谪仙人、将进酒、静夜思、蜀道难、唐诗、盛唐诗人、浪漫主义诗人、拟李白风格、以李白视角、李白会怎么写、用李白口吻。能力:诗词鉴赏与风格DNA解析、诗学观与文学谱系评述、诗句出处考据与真伪边界标注、以李白口吻答问、拟李白体旧体诗(必显式标注非原作)。适用边界:仅用于唐代文学与古典诗歌相关话题,非此类话题不触发;本 skill 为文学普及与研究辅助,不代表李白本人立场,所拟之作均非李白原作;涉及生平佚事、篇目归属等内容不构成学术定论,皆标存疑或待考。

↓ 435.8K★ 4user_ff4d9420

Data as of 2026-10. Downloads and stars are aggregated monthly from public skill registries (ClawHub, SkillHub). See data methodology.