← 返回 Skills 市场
ayue-oss

优惠券查询·场景快取

作者 ayue-oss · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ✓ 安全检测通过
365
总下载
2
收藏
3
当前安装
6
版本数
在 OpenClaw 中安装
/install coupon-finder
功能描述
优惠券查询与领取技能。覆盖外卖券、酒店券、打车券、咖啡券、电影票、超市券等多场景,输入需求自动匹配最优活动链接。触发词: 优惠券查询, 领取优惠券, 有什么优惠, 外卖券, 外卖红包, 酒店券, 打车券, 咖啡优惠, 电影优惠, 帮我找优惠, 哪里有折扣, 推荐优惠活动, 今天有什么券, 点外卖优惠, 订酒店便宜...
使用说明 (SKILL.md)

优惠券查询 · 场景快取 (Coupon Finder)

根据用户描述的场景、品牌或需求,智能匹配优惠活动,返回可直接使用的推广链接。

覆盖美团、饿了么、滴滴、淘宝闪购、飞猪、同程、携程、京东外卖等 88 个活动。


触发词

查询优惠:

  • "有什么优惠" / "帮我找优惠"
  • "点外卖有什么活动" / "外卖红包"
  • "打车有优惠吗" / "滴滴券"
  • "订酒店便宜点" / "酒店优惠"
  • "咖啡打折" / "星巴克有折扣吗"
  • "电影票便宜" / "看电影优惠"
  • "今天有什么可以领" / "推荐优惠活动"
  • "[品牌名]有优惠吗"

分享活动(直接回复链接,无需查询数据库):

  • "我要分享活动" / "我想提交优惠"
  • "怎么分享优惠券" / "如何添加活动"
  • "提交活动链接" / "分享链接"

支持的场景关键词

场景 关键词示例
外卖 外卖、点餐、吃饭、美团外卖、饿了么、京东外卖
打车 打车、出行、滴滴、花小猪、T3、代驾、顺风车
酒店 酒店、住宿、订房、民宿
机票 机票、飞机、航班
电影 电影、影票、淘票票、观影
咖啡饮品 咖啡、奶茶、星巴克、瑞幸、喜茶、奈雪
快餐 肯德基、麦当劳、汉堡王、必胜客
超市零售 超市、零售、生鲜、便利
旅游 旅游、度假、景点、门票
医药 买药、医药、健康

执行流程

步骤 0:判断是查询还是分享

如果用户意图是分享/提交活动,直接回复:

感谢你愿意分享优惠!🎉
请填写这个表单,提交后会有人工审核,通过后就会加入共享活动库,让更多人受益。

📮 提交地址: https://my.feishu.cn/share/base/form/shrcn4ERBYeALeE2cF8SMPIqHUE

填写内容包括:活动名称、活动描述、链接(H5/小程序/口令等)、所属平台。

步骤 1:理解用户意图

提取用户消息中的场景/品牌/需求关键词,例如:

  • "我想点个外卖" → 关键词: 外卖
  • "星巴克怎么便宜买" → 关键词: 星巴克
  • "帮我找打车优惠" → 关键词: 打车

步骤 2:调用查询脚本

node skills/coupon-finder/scripts/find.mjs "\x3C用户查询>" --limit=5

或者直接使用 JavaScript 导入:

import { queryActivities, formatResults } from './scripts/find.mjs';

const results = queryActivities(userQuery, { limit: 5 });
const text = formatResults(results, userQuery);

步骤 3:返回结果

直接将脚本输出的格式化文本回复给用户,包含:

  • 活动名称 + 描述
  • 标签(场景/平台分类)
  • 最优链接(优先官方短链接 > H5 > 口令 > 小程序路径)
  • 可选:其他链接格式说明

数据来源

  • 数据文件:skills/coupon-finder/data/activities.json
  • 共 88 个活动,覆盖 7 大平台、15+ 场景
  • 链接类型:官方短链接 / H5 / 小程序路径 / DeepLink / 口令

查询示例

# 外卖优惠
node find.mjs "点外卖"

# 品牌直查
node find.mjs "星巴克"
node find.mjs "肯德基优惠"

# 出行
node find.mjs "打车有优惠吗"

# 酒店
node find.mjs "订酒店"

# 返回 JSON 格式(供程序调用)
node find.mjs "外卖红包" --format=json --limit=3
安全使用建议
This skill appears coherent and limited: it reads a local activities.json and returns matching coupon links. Before installing or using it, note: (1) it expects Node.js to be present even though the manifest didn't declare that—ensure your agent environment can run node scripts; (2) the bundled data contains many short URLs, deep links and third-party H5 links (some using http or redirects). Those links may carry tracking parameters or redirect to external sites—verify links before clicking and avoid submitting sensitive credentials to landing pages; (3) the share/submit form pointed to a Feishu URL will send user-submitted content to that external service if users follow it; consider whether you want submissions routed there. If you want stronger assurances, request provenance of the activities.json (who maintains it, update cadence) and ask the publisher to declare the Node runtime dependency.
功能分析
Type: OpenClaw Skill Name: coupon-finder Version: 1.0.5 The skill bundle is a functional coupon search tool that matches user queries against a local database of affiliate links for various Chinese services (Meituan, Ele.me, Didi, etc.). The core logic in `scripts/find.mjs` is a simple keyword-based search engine, and the data in `data/activities.json` consists of legitimate promotional links and deep links. While the execution instructions in `SKILL.md` use a shell command format that could be vulnerable to injection if not properly handled by the platform, there is no evidence of malicious intent, data exfiltration, or unauthorized system access.
能力评估
Purpose & Capability
Name/description match the provided assets: a search script (scripts/find.mjs) plus a bundled database (data/activities.json) that the skill queries and formats. The requested resources are minimal and appropriate for a coupon lookup feature.
Instruction Scope
SKILL.md instructs the agent to extract keywords and run the local Node script (or import its functions) and return the formatted text. The script only reads the included JSON database and does not access other files, environment variables, or external endpoints at runtime (it only emits links contained in the data).
Install Mechanism
There is no install spec (instruction-only), which is low risk. One mismatch: the skill uses a Node CLI (node find.mjs) but the manifest lists no required binaries. The agent environment must have Node.js available for the script to run; that dependency is implied but not declared.
Credentials
No environment variables, credentials, or config paths are requested. The skill operates on bundled data only, so no secret access is needed or requested.
Persistence & Privilege
always:false and no install-time persistence or modifications to other skills/settings. The skill does not request elevated or permanent privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install coupon-finder
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /coupon-finder 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.5
查询结果底部自动显示活动分享入口(飞书表单),支持用户共建活动库;新增「我要分享活动」等触发词
v1.0.4
删除内部运维说明
v1.0.3
删除注意事项内容
v1.0.2
完善技能名称与简介,扩充触发词:优惠券查询、外卖券、酒店券、打车券、咖啡优惠、电影优惠等
v1.0.1
活动名称去掉CPA/CPS字样;淘宝闪购/饿了么补充外卖标签
v1.0.0
88个活动,覆盖外卖/打车/酒店/咖啡/电影等15+场景,智能关键词匹配返回推广链接
元数据
Slug coupon-finder
版本 1.0.5
许可证 MIT-0
累计安装 4
当前安装数 3
历史版本数 6
常见问题

优惠券查询·场景快取 是什么?

优惠券查询与领取技能。覆盖外卖券、酒店券、打车券、咖啡券、电影票、超市券等多场景,输入需求自动匹配最优活动链接。触发词: 优惠券查询, 领取优惠券, 有什么优惠, 外卖券, 外卖红包, 酒店券, 打车券, 咖啡优惠, 电影优惠, 帮我找优惠, 哪里有折扣, 推荐优惠活动, 今天有什么券, 点外卖优惠, 订酒店便宜... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 365 次。

如何安装 优惠券查询·场景快取?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install coupon-finder」即可一键安装,无需额外配置。

优惠券查询·场景快取 是免费的吗?

是的,优惠券查询·场景快取 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

优惠券查询·场景快取 支持哪些平台?

优惠券查询·场景快取 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 优惠券查询·场景快取?

由 ayue-oss(@ayue-oss)开发并维护,当前版本 v1.0.5。

💬 留言讨论