1.4 KiB
1.4 KiB
name, description
| name | description |
|---|---|
| qr-code | 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_userprompt 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:
uv run /home/node/mop-skills/mop-skills/skills/qr-code/scripts/generate_qr.py "<URL-or-Text>"
Script Arguments:
<text>: The URL or string to encode (mandatory).--output <path>: Optional target file path (defaults to/tmp/qr_<hash>.png).--logo <path>: 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:<path> line at the very beginning or end of your message. OpenClaw's Telegram integration will automatically upload the image directly into the chat:
Hier ist dein QR-Code für den Link:
MEDIA:/tmp/qr_c9e87fb7.png