Install
openclaw skills install discount-hunterFind discount/promo codes for the current checkout page from across the internet, then automatically test each code in the promo field until one works. Never clicks Pay — only tests codes. Use when the user is on a payment or cart page with a promo/discount code field.
openclaw skills install discount-hunterActivate when the user:
Do NOT activate if:
take_snapshot of the user's current page."I couldn't find a promo/discount code field on this page. This skill only works on checkout or cart pages that have a code input. Please navigate to the payment/cart page first." Stop here.
get_page_content to identify the store/merchant name (from page title, logo alt text, or domain).Open a hidden window with create_hidden_window for research. Then open parallel tabs with new_hidden_page to search these sources simultaneously:
| Tab | URL Pattern |
|---|---|
| 1 | https://www.google.com/search?q=<store>+promo+code+<current_year> |
| 2 | https://www.google.com/search?q=<store>+coupon+code+working+<current_year> |
| 3 | https://www.retailmenot.com/view/<store-domain> |
| 4 | https://www.honey.com/coupons/<store-slug> (or search https://www.joinhoney.com/shop/<store>) |
| 5 | https://www.coupert.com/coupons/<store-slug> |
| 6 | https://www.coupons.com/coupon-codes/<store-slug>/ |
| 7 | https://dealspotr.com/#_=&query=<store> |
| 8 | https://slickdeals.net/coupons/<store-slug>/ |
| 9 | Reddit: https://www.google.com/search?q=site:reddit.com+<store>+promo+code |
| 10 | https://www.wikibuy.com/stores/<store-slug> |
Replace <store> with the merchant name (URL-encoded), <store-domain> with the root domain (e.g. nike.com), and <current_year> with the current year.
For each tab, after the page loads:
get_page_content to extract text.evaluate_script or regex pattern matching to find strings that look like promo codes:
SAVE20, WELCOME10, SUMMER2024)[A-Z0-9]{4,20} — typically 4–20 characters, often containing numbers or dashesclose_page when done.After all tabs are processed:
close_window.⚠️ CRITICAL SAFETY RULES — must be followed throughout this phase:
For each code in the list:
take_snapshot to ensure the promo field element ID is still valid (page may have refreshed).clear the promo code input field.fill the promo code input with the current code.take_snapshot or get_page_content to check for:
SAVE20... ❌ Invalid. Testing WELCOME15... ✅ Code applied! You saved $12.00"Stop testing as soon as a code succeeds.
If the apply action causes a page reload or navigation, re-verify you are still on the checkout page before continuing.
fill.Enter — use press_key with "Enter" if no apply button is found.✅ Discount code found:
WELCOME15This code has been applied to your cart. You saved $12.00 (15% off). Your new total is visible on the page. You're ready to complete your purchase when you're ready.
Show a summary table of all codes tested:
| Code | Source | Result |
|-------------|-----------------|------------|
| SAVE20 | RetailMeNot | ❌ Expired |
| SUMMER10 | Coupons.com | ❌ Invalid |
| WELCOME15 | Honey / Reddit | ✅ Applied! |
❌ No working codes found after testing N codes. The following codes were tried:
CODE1,CODE2, ... Unfortunately none applied a discount. You may want to check the store's official newsletter or social media for current promotions.