skills/library/qr-code/SKILL.md
Generate and read QR codes. Supports text, URLs, WiFi credentials, and vCards.
npx skillsauth add malue-ai/dazee-small qr-codeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
生成和识别 QR 码,支持文本、URL、WiFi 凭据、名片(vCard)等格式。
import qrcode
# 基本用法
img = qrcode.make("https://example.com")
img.save("/tmp/qr.png")
# 自定义样式
qr = qrcode.QRCode(version=1, box_size=10, border=4)
qr.add_data("https://example.com")
qr.make(fit=True)
img = qr.make_image(fill_color="black", back_color="white")
img.save("/tmp/qr.png")
wifi_data = "WIFI:T:WPA;S:MyNetwork;P:MyPassword;;"
img = qrcode.make(wifi_data)
img.save("/tmp/wifi_qr.png")
格式:WIFI:T:{加密类型};S:{SSID};P:{密码};;
加密类型:WPA、WEP、nopass
vcard = """BEGIN:VCARD
VERSION:3.0
FN:张三
TEL:+86-138-0000-0000
EMAIL:[email protected]
END:VCARD"""
img = qrcode.make(vcard)
img.save("/tmp/contact_qr.png")
from PIL import Image
from pyzbar.pyzbar import decode
img = Image.open("qr_image.png")
results = decode(img)
for r in results:
print(r.data.decode("utf-8"))
注意:识别功能需要额外安装 pyzbar(pip install pyzbar)和系统库 zbar。
development
Local web search (Tavily/Exa, requires API Key). For quick searches. If no Key configured or deep research needed, use cloud_agent instead.
development
Get current weather and forecasts (no API key required).
tools
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
tools
Start voice calls via the Moltbot voice-call plugin.