Preface¶
The DeepSeek Harness (DSH) plugin mechanism allows skills to be registered into ctx.skills, extending the capability boundaries of agents. dsh-waimai-discount is a food delivery discount assistant plugin maintained by developer xuanxuanerhao-droid. It aggregates official coupon channels from platforms such as Meituan, Ele.me, JD Delivery, and Taobao Flash Sales, intelligently matches the platform and coupon type provided by the user, and returns the coupon claim path. All entry points are official, commission-free guidance.
Core Features¶
- Channel Coverage: Covers four mainstream food delivery platforms and includes 14 official coupon entry points, including Meituan’s Daily Divine Coupons / Delivery Red Packets / Tasting Ambassador / Flash Sale Special Events, Ele.me’s Daily Red Packets / Brand Pavilion / Super Foodie Card, JD Delivery’s Surprise Red Packets, and Taobao Flash Sales’ New Customer / Student / Stackable Red Packets.
- Intelligent Matching: Supports platform normalization and enables precise matching based on coupon type (red packets, new customers, students, spend-threshold discounts, Divine Coupon Packs, and cashback).
- Path Output: Directly outputs the in-app claim path, allowing users to follow the instructions.
- Coupon Strategy: Built-in strategies include stacking three coupons, prioritizing new customers/students, multi-platform price comparison, and time-of-day patterns.
- No Commission: Channel data consists of official entry guidance and contains no promotional commission or cashback links.
Installation and Activation¶
It is installed through the DSH plugin mechanism. After installation, skills are automatically registered with the plugin, so there is no need to manually copy them into the project’s .agents/skills directory.
dsh add dsh-waimai-discount
Typical Usage¶
The plugin provides a query engine script find.mjs for executing query operations.
# 列全部官方渠道概览
node skills/waimai-discount/scripts/find.mjs --list
# 按平台/券类型查询
node skills/waimai-discount/scripts/find.mjs "美团优惠" --limit=5
node skills/waimai-discount/scripts/find.mjs "学生外卖"
node skills/waimai-discount/scripts/find.mjs "点外卖" --format=json
Directory Structure and Configuration¶
The plugin directory structure is as follows:
dsh-waimai-discount/
├── package.json # 插件 manifest
├── cordis.patch.yml # bundle 注册配置
├── index.js # skill loader
└── skills/
└── waimai-discount/
├── SKILL.md # 技能入口与执行流程
├── data/channels.json # 官方领券渠道目录(可编辑扩展)
└── scripts/find.mjs # 查询引擎
To update or add channel data, edit skills/waimai-discount/data/channels.json and add or modify entries by platform. After saving, the loader will reload from disk when changes are detected.
Applicable Scenarios and Precautions¶
This plugin is suitable for agent scenarios that require food delivery discount query functionality. It runs with the permissions of the current DSH process. Before use, it is recommended to review the source code and license (MIT). The community directory has no official affiliation with DeepSeek / High-Flyer.