← 返回 Skills 市场
339
总下载
2
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install didi-coupon-auto
功能描述
自动领取滴滴出行优惠券。每天0点自动领取打车券包,支持网约车、顺风车、代驾等多种出行券。触发词: 领取滴滴优惠券, 运行滴滴领券技能, 设置每日自动领取滴滴, 滴滴打车券, didi coupon
使用说明 (SKILL.md)
滴滴出行优惠券自动领取
每天 0:00 自动打开滴滴领券页,点击领取当日打车券包,输出完整分组明细(快车/顺风车/代驾/火车票/跨城等)。
首次运行需要在浏览器中登录滴滴账号;登录后 cookie 保留,后续全自动运行。
验证数据
- 17张券,最高立减合计 ¥219(2026-03-16 实测)
- 分组展示:快车 · 顺风车 · 火车票 · 代驾 · 跨城/包车 · 其他
- 耗时约 8s(API 拦截模式)
触发词
- "领取滴滴优惠券" / "滴滴领券"
- "运行滴滴领券技能" / "didi coupon"
- "设置每日自动领取滴滴"
- "打车有优惠券吗"
执行流程
步骤 1:启动浏览器
browser(action=status, profile=openclaw)
# 未运行则先 start
browser(action=start, profile=openclaw)
步骤 2:运行领券脚本
node skills/didi-coupon-auto/scripts/claim.mjs
步骤 3:处理结果
| 脚本输出 | 处理方式 |
|---|---|
需要登录 |
告知用户在浏览器手动登录滴滴,登录后重新运行 |
今日已领取 |
输出已有券包完整明细 |
领取完成!共 N 张 |
输出新领取券包完整明细 |
步骤 4:关闭浏览器
browser(action=stop, profile=openclaw)
输出格式
🚕 滴滴出行优惠券自动领取 v5
─────────────────────────────────────────────
🎫 共 17 张券,最高立减合计 ¥219
🚗 快车
· 快车早高峰券 9.5折 最高抵扣10元
· 快车晚高峰券 9.5折 最高抵扣10元
· 宠物快车券 8折 最高抵扣10元
🤝 顺风车
· 顺风车新客券 5折 最高抵扣10元
🚄 火车票
· 火车票券 2元 满65元可用
· 火车票券 6元 满12元可用
· 火车票券 8元 满20元可用
🌙 代驾
· 代驾折扣券 9折 最高抵扣5元
· 代驾远途券 10元 满100元可用
· 取送车代驾券 25元 立减25元
🛣 跨城/包车
· 包车立减券 20元 立减20元
🎟 其他
· 酒店优惠券 25元 满199元可用
· 机票惊喜券 20元 满600元可用
· 租车惊喜券 30元 满300元可用
· 搬家立减券 20元 满200元可用
· 单车折扣券 5折 最高抵扣3元
⏱ 耗时 8688ms
定时任务(每天 0:05)
{
"name": "每日滴滴领券",
"schedule": { "kind": "cron", "expr": "5 0 * * *", "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)
页面状态说明
| 状态 | 识别关键词 | 处理 |
|---|---|---|
| 未登录 | 登录领取 |
提示用户手动登录 |
| 可领取 | MPX 组件 canClaim |
autoGetCoupon() / click() |
| 已领取 | errno=3000030009 |
刷新页面拉取已有券列表 |
| 领取失败 | 其他 errno | 输出错误码 |
技术实现
- CDP 直连:WebSocket 连接浏览器调试端口(18800),无需 Playwright/Puppeteer
- MPX 组件调用:优先调用
vm.autoGetCoupon()/vm.getCoupon(),降级至 DOM 点击 - API 拦截:监听
reward/receive+reward/list响应,直接解析券数据 - 日志:结果写入
logs/claim_YYYYMMDD.json(.gitignore 已排除)
领券地址
https://vv.didi.cn/a8ZdG0j?source_id=88446DIDI88446tkmmchild1001&ref_from=dunion
覆盖:网约车 · 顺风车 · 特惠 · 代驾 · 火车票 · 跨城 · 包车 · 酒店 · 单车
📋 实测记录(2026-03-16):
- 完整分组输出:去除 6 条截断限制,全部 17 张券逐条显示
- 按出行类型分组:快车/顺风车/火车票/代驾/跨城包车/其他
- 总价统计:累加所有面值(含折扣券最高抵扣值)
- 今日已领 17 张 / ¥219 / 耗时 8.7s
安全使用建议
This skill appears to do exactly what it says: it controls a local browser via the debugging (CDP) interface to open Didi pages, call in-page functions or click buttons, and capture API responses to list/claim coupons. Things to consider before installing:
- The script operates on the browser session you run it against: you must log into Didi in that browser and the script will use those cookies to act as your account. Only run it if you trust the code and the environment.
- It connects to localhost:18800 (browser debug port) and evaluates JavaScript inside pages; that access is necessary but powerful — run in an isolated browser profile if you want to limit exposure to other accounts/sites.
- The script writes local logs to logs/claim_YYYYMMDD.json under the skill dir. Inspect these files for sensitive data and / or delete them if undesired.
- The script expects a workspace-provided ws wrapper at ../../../node_modules/ws/wrapper.mjs or a global ws install; ensure the module comes from a trusted source.
- If you plan to enable daily scheduling, be aware the agent can run it unattended (platform default). Only enable scheduling if you are comfortable the skill will act using your logged-in browser session.
Overall, the skill is internally consistent and does not request unrelated credentials or external exfiltration endpoints, but it requires access to your local browser session and therefore carries privacy risk that the user should acknowledge.
功能分析
Type: OpenClaw Skill
Name: didi-coupon-auto
Version: 2.1.1
The skill is a browser automation tool designed to collect Didi Chuxing coupons. It uses the Chrome DevTools Protocol (CDP) to interact with a local browser instance, navigates to a Didi referral URL, and intercepts API responses to log collected coupons. While it uses a referral link (dunion) and executes JavaScript within the browser context via 'Runtime.evaluate', its behavior is transparent, lacks data exfiltration logic, and aligns entirely with its stated purpose in SKILL.md and scripts/claim.mjs.
能力评估
Purpose & Capability
Name/description claim to open Didi coupon page and click/trigger MPX methods; the skill requires Node and a browser CDP connection and uses those to navigate, call in-page methods, and parse API responses — this is proportional to the purpose.
Instruction Scope
Instructions explicitly require starting the OpenClaw browser (CDP port 18800), logging into the user's Didi account in that browser, running the Node script, and optionally installing a cron job. The script evaluates code inside the page and intercepts network responses to read coupon data — this is necessary for the task but does require access to the user's browser session/cookies (sensitive).
Install Mechanism
No install spec; the skill is instruction + one script. It imports the 'ws' module either from workspace node_modules (../../../node_modules/ws/wrapper.mjs) or falls back to the globally installed 'ws' — this is brittle but expected for the declared runtime; no remote downloads or archives are used.
Credentials
The skill doesn't request environment variables or credentials. However, it depends on the user's logged-in browser cookies and CDP access on localhost:18800 to act as the user's Didi session, which is necessary but privacy-sensitive (it has same privileges as the browser session it connects to).
Persistence & Privilege
The skill is not always:true and does not request elevated platform privileges. SKILL.md suggests creating a scheduled job (cron) for daily runs; scheduling is user-facing guidance and not enforced by the skill manifest. Autonomous invocation remains possible (platform default).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install didi-coupon-auto - 安装完成后,直接呼叫该 Skill 的名称或使用
/didi-coupon-auto触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.1.1
fix: 消除 clawhub 安全标记——补全 requires.bins:[node],ws import 改为动态降级(workspace→全局),添加依赖说明注释
v2.1.0
完整分组明细:去除6条截断,全量显示所有券;按快车/顺风车/代驾/火车票/跨城分组;2026-03-16实测17张¥219
v1.0.0
每天0:05自动领取滴滴出行券包,点击MPX组件触发领取,监听API响应,输出券摘要
元数据
常见问题
滴滴出行优惠券自动领取 是什么?
自动领取滴滴出行优惠券。每天0点自动领取打车券包,支持网约车、顺风车、代驾等多种出行券。触发词: 领取滴滴优惠券, 运行滴滴领券技能, 设置每日自动领取滴滴, 滴滴打车券, didi coupon. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 339 次。
如何安装 滴滴出行优惠券自动领取?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install didi-coupon-auto」即可一键安装,无需额外配置。
滴滴出行优惠券自动领取 是免费的吗?
是的,滴滴出行优惠券自动领取 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
滴滴出行优惠券自动领取 支持哪些平台?
滴滴出行优惠券自动领取 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 滴滴出行优惠券自动领取?
由 ayue-oss(@ayue-oss)开发并维护,当前版本 v2.1.1。
推荐 Skills