Trip coupon
Call trip/travel coupon API to fetch travel coupons including DiDi ride-hailing gift packages and hotel coupon bundles.
Safety check
- Script calls the network: scripts/fetch_coupons.py line 28
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: trip-coupon
description: "Call trip/travel coupon API to fetch travel coupons including DiDi ride-hailing gift packages and hotel coupon bundles. Returns coupon links and QR code images for users to redeem via WeChat."
category: shopping
risk: critical
source: community
source_repo: moooai/trip-coupon
source_type: community
date_added: "2026-10-16"
author: moooai
tags: [coupons, travel, didi, hotel, ride-hailing]
tools: [claude, codex]
---
# Travel Coupons (Ride-hailing / Hotels)
## Overview
Fetches travel coupons: Didi ride-hailing voucher bundles and hotel deals from Meituan, Tongcheng and Fliggy. Returns claim-page links (H5) and QR code images rather than text codes.
The skill is adapted from the open-source repository `moooai/trip-coupon`. It ships with a fetch script (`scripts/fetch_coupons.py`) and full API documentation (`references/api_documentation.md`). The bundled integration uses a third-party endpoint without an API key; availability, cost, promotion eligibility and platform affiliation have not been independently verified. Python 3 and the `requests` dependency are required.
## When to Use This Skill
- Use when the user asks about ride-hailing or hotel coupons, red packets (hongbao) or hidden promo codes
- Use when the user wants to know which platform has the best ride-hailing or hotel deal today
- Use when the user cannot copy a coupon code and needs a QR code or H5 claim page instead
## How It Works
### Step 1: Fetch the coupon feed
Call `GET https://agskills.moontai.top/coupon/trip` (no auth). `scripts/fetch_coupons.py` does this without attribution by default. Optional `--attribution` sends only a channel label (`ch`); no installation identifier is created or sent. The provider still receives network metadata such as the client IP.
### Step 2: Parse and organize the response
The response is JSON. The response is a JSON array; each item has `title`, `guideline`, and usually `coupon_url` plus `coupon_qrcode_img_url`.
### Step 3: Present coupons to the user
...From sickn33's repository, MIT licence.