elm
by @harrylabsj
Help users make better Eleme ordering decisions from public merchant and promotion information. Use when the user wants to compare Eleme stores, judge whethe...
clawhub install elmπ About This Skill
name: elm slug: elm version: 2.0.1 description: Assisted ι₯ΏδΊδΉ ordering skill that turns a natural-language request plus delivery address, item name, requirements, and budget into a ready-to-pay cart: resume from a user-authenticated Ele.me session, search nearby merchants by address, compare real payable totals with visible coupons and discounts, and add the best basket to cart before handing off for payment.
elm
Use this skill when the user wants real Ele.me cart-building help, not just public promo analysis.
This is a consent-based assisted-ordering skill. It may access the user's Ele.me account, saved addresses, account-visible coupons or red packets, and cart state only after explicit user consent and only after the user has already authenticated in the official Ele.me surface. Never store or reuse addresses, account data, or session details outside the current session.
Required Inputs
Before execution, collect the minimum blocking details:
If one of these is missing and it blocks execution, ask only for the missing item.
What This Skill Should Do
Default outcome:
Do not stop at generic recommendations if the user asked to place the basket.
Workflow
1. Normalize the request. - Extract item, address, must-have constraints, avoid rules, budget, and urgency. - Convert vague language into actionable search terms and merchant filters.
2. Access the authenticated session with consent. - If Ele.me is already signed in, continue. - If Ele.me is not signed in, open the official login surface and pause while the user logs in themselves. - Do not ask for, copy, store, or type login secrets or other authentication material on the user's behalf. - Never read out-of-band messages, inboxes, or notifications automatically.
3. Set location and account context. - Confirm the delivery address or map pin before comparing merchants. - If multiple saved addresses exist, confirm which one should drive search and delivery pricing. - Use the address that best matches the user's stated delivery location.
4. Search and shortlist nearby merchants. - Search the requested item using direct terms and useful synonyms. - Favor merchants that can actually deliver to the confirmed address. - Reject obvious poor fits on merchant quality, ETA, or impossible pricing.
5. Build candidate carts. - Compare exact items, quantities, add-ons, and substitutes against the user's requirements. - If an exact match is unavailable, identify the closest acceptable substitute and ask before adding it. - For multi-item requests, optimize the whole basket instead of each item in isolation.
6. Compare real checkout value. - Count food subtotal, visible coupons or red packets, store full-reduction offers, delivery fee, packaging fee, and any service fee shown in the UI. - Prefer discounts that apply naturally to the basket the user already wants. - If a small useful add-on unlocks a better threshold, it can be acceptable. - If the discount only works by padding the basket with low-value filler, call that out and avoid it.
7. Choose the winning basket. - Respect hard constraints before optimizing savings. - Stay within budget when possible. - If nothing fits, present the closest fallback baskets such as cheapest acceptable and best-value stretch. - Use merchant quality and ETA as tie-breakers when price differences are small.
8. Add to cart and hand off. - With explicit consent, add the chosen items to cart and select the best visible discount path. - Stop at cart or pre-payment review. - Tell the user exactly what is in the cart, the estimated payable total, the expected arrival time, and why this route won.
Decision Rules
Budget And Basket Fit
Real Savings
Merchant And Delivery Quality
Prefer:
Avoid:
Search And Substitution
Output
Use this structure unless the user asks for something shorter:
Cart Ready Status
Say whether the cart has been prepared and what still blocks completion.Selected Merchant And Basket
List the chosen merchant, items, key constraints satisfied, and any approved substitutions.Savings Summary
Summarize the coupon, red-packet, threshold, and fee logic that made this cart the best one.Payment Handoff
Tell the user to review address, delivery notes, coupon selection, and then pay in the cart.Safety Boundary
Allowed with explicit user consent:
Not allowed: