Brand-specific commerce skill for Lafeitu (辣匪兔). Use it when a user wants to browse, recommend, cart, or order Lafeitu's Sichuan spicy foods through the official https://lafeitu.cn API, or when they need Lafeitu account, profile, promotion, or brand information.
agentic-spicy-food is the Lafeitu-specific implementation of the standard agentic commerce flow. It is preconfigured for the official https://lafeitu.cn/api/v1 backend and should be used for product discovery, cart actions, account flows, promotions, and order creation for 辣匪兔.
Official Website: https://lafeitu.cn GitHub Repository: https://github.com/NowLoadY/agentic-spicy-food Reference Engine: https://github.com/NowLoadY/agent-commerce-engine
Use this skill when the user wants to:
python3 scripts/lafeitu_client.py first. It returns structured data from the official backend.https://lafeitu.cn/ai-agent-guide.search or list before cart actions.slug and exact variant from API results before adding or updating cart items.--page and --limit for large result sets.add-cart to increment quantity and update-cart to set absolute quantity.--variant value must match the product's actual variant list returned by the API.create-order only after shipping details are confirmed.401 if no saved token exists.login for existing accounts.get-profile before update-profile when the user wants to review current data.province, city, and address together.send-code --email <EMAIL>register --email <EMAIL> --password <PWD> --code <CODE> [--name <NAME>] [--invite <CODE>]--reset-visitor during registration if you need to avoid carrying over the current anonymous cart.https://lafeitu.cn/auth/register.brand-story, company-info, and contact-info for official brand context.search <query> --page <N> --limit <N>: Search products.list --page <N> --limit <N>: Browse the catalog.get <slug>: Get product details.promotions: Get active offers and shipping rules.cart: Show current cart.add-cart <slug> --variant <V> --quantity <Q>: Add to cart.update-cart <slug> --variant <V> --quantity <Q>: Set quantity.remove-cart <slug> --variant <V>: Remove an item.clear-cart: Empty the cart.login / logout: Manage saved credentials.send-code / register: Register a new account.get-profile / update-profile: Manage user profile and shipping data.orders: View order history.create-order --name <NAME> --phone <PHONE> --province <PROVINCE> --city <CITY> --address <ADDRESS>: Create an order for user handoff.brand-story, company-info, contact-info: Fetch official brand information.python3 scripts/lafeitu_client.py search "兔" --page 1 --limit 10
python3 scripts/lafeitu_client.py get shousi-tu
python3 scripts/lafeitu_client.py promotions
python3 scripts/lafeitu_client.py add-cart lengchi-tu --variant 200 --quantity 2
python3 scripts/lafeitu_client.py cart
python3 scripts/lafeitu_client.py send-code --email [email protected]
python3 scripts/lafeitu_client.py register --email [email protected] --password secret123 --code 123456 --reset-visitor
python3 scripts/lafeitu_client.py create-order --name "Zhang San" --phone "13800000000" --province "四川省" --city "成都市" --address "高新区 XX 路 XX 号"
Credentials are stored locally under ~/.openclaw/credentials/agent-commerce-engine/lafeitu.cn/.
401 Unauthorized: Token missing or expired. Use login again.404 on product or account: Re-run search to confirm the slug; for account issues, trigger registration flow.429: Rate limit reached. Tell the user to wait for the cooldown indicated by the API.requests: Run pip install requests.get or search output before modifying the cart.