--- name: qr-code description: Generate a branded Haumdaucher QR code for any URL or text string and send the resulting image into chat. Usable by all agents. --- # QR Code Generator 📱 Creates high-redundancy, branded QR codes with the **Haumdaucher logo** centered on a clean white background. ## When to Use - Whenever you share a link (`https://...`), website, recipe, document, Wi-Fi configuration, or arbitrary text and want to offer a scannable QR code. - Whenever the user accepts an `ask_user` prompt to generate a QR code for a hosted artifact. - Whenever the user explicitly asks for a QR code ("Erstelle einen QR-Code für ..."). ## Execution Run the bundled Python script via `uv run`: ```bash uv run /home/node/mop-skills/mop-skills/skills/qr-code/scripts/generate_qr.py "" ``` ### Script Arguments: - ``: The URL or string to encode (mandatory). - `--output `: Optional target file path (defaults to `/tmp/qr_.png`). - `--logo `: Optional custom logo PNG (defaults to bundled Haumdaucher logo). ## Output & Telegram Delivery The script outputs: ``` MEDIA:/tmp/qr_c9e87fb7.png ``` When returning your reply to the user, include the `MEDIA:` line at the very beginning or end of your message. OpenClaw's Telegram integration will automatically upload the image directly into the chat: ```markdown Hier ist dein QR-Code für den Link: MEDIA:/tmp/qr_c9e87fb7.png ```