Rebate Assistant
Paste the following prompt into your AI chat to install this skill:
Please install @user_c4d672ca/rebate-assistant according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Rebate assistants often mix authorization, product search, link conversion, and withdrawal into ad hoc replies. Agents may add explanations around tool output or invent rebate links when an API call fails. Rebate Assistant keeps the user path to one chain: provide a product, recognize intent, search or generate a rebate link, and return the result.
How it works
- S01 Authorization and tutorial: handles entries such as rebate, tutorial, withdrawal tutorial, and account balance. It explains the required WeChat authorization flow and supports fixed actions like
start_auth,confirm_auth,withdraw_prepare,withdraw_confirm, andaccount_balance. - S02 Link rebate: recognizes Taobao, JD, and Pinduoduo product links, then proceeds through platform recognition, product lookup, lease request, and rebate link generation.
- S03 Product search: when no link is provided, extracts
raw_textand an identifiableplatformfrom inputs such as brand plus model, category plus budget, or gift target. It outputsproduct_search_intentandsearch_requestfor downstream search.
The conversation layer routes throughscripts/cli/rebate_assistant_router.js; script stdout is returned as Markdown, avoiding extra polishing, paraphrasing, or product recommendations.
Boundaries and notes
- Only Taobao, JD, and Pinduoduo product links are supported for rebate generation.
- Do not generate rebate links, rebate codes, or payout promises when authorization is missing, no product is found, or the API fails.
- Withdrawal first checks available balance, asks for confirmation when the amount is valid, and submits
/v1/withdraw/applyonly after user confirmation.
Use Cases
- When users send Taobao, JD, or Pinduoduo product links, recognize the platform and generate the matching rebate link.
- When users describe a brand, model, budget, or gifting scene, extract product-search parameters and call the product search flow.
- When users ask for rebate tutorials, withdrawal tutorials, balances, or withdrawals, run the fixed authorization and withdrawal confirmation flow.
- When the assistant must route authorization, link rebate, and product search through one entry script instead of separate user-facing scripts.
Best For
- Engineers maintaining rebate bot conversation flows who need stable Markdown output from script stdout.
- Agent developers integrating Taobao, JD, or Pinduoduo product links who need platform recognition and rebate link generation.
- Product engineers handling WeChat authorization and withdrawal confirmation who need to separate tutorial, balance, and withdrawal actions.
- Backend engineers converting product-search intent into a unified API request who maintain product_search_intent and search_request fields.
Related Skills
Lady's Man provides relationship-aware conversation suggestions for openers, invitations, care, replies, and confessions, with risk levels and boundary reminders.
A Dianping merchant decision assistant that weighs ratings, review risks, deal limits, and use-case fit for practical recommendations.
Configure a Baidu Youjia key and query car models, dealer prices, discounts, landed costs, and owner prices in natural language, returning Markdown-ready results.
A pet medical reference assistant for cats and dogs that provides triage-based guidance on diagnosis, medication, treatment, and prevention, with disclaimers and no replacement for veterinary care.