â ï¸ CRITICAL: How to Handle QR Images
When user sends a QR code image or asks to pay:
Step 0: Check if user provided a PAYMENT LINK (text, not an image)
If the user provided text (not an image), and the text is a URL containingapp.binance.com/uni-qr/ or app.binance.com/qr/:
â This is a payment link. Skip all decode steps. Go directly to purchase:
python3 payment_skill.py --action purchase --raw_qr "<the URL text>"
Otherwise (user sent an image, or text doesn't match above) â continue to Step 1.
Step 1: Try to READ the QR data directly (Vision)
Look at the QR code image and try to extract the actual data string (URL or EMV code).
- If you can read it â
--action purchase --raw_qr "<DATA>" - If you cannot read the data (only see logo/colors) â Go to Step 2
Installs: 4.9K | GitHub stars: 1.2K | First seen: Apr 13, 2026


