qrcode-generator
Generate QR codes from text, URLs, or images. Use when users ask to 'generate QR code', 'create QR', or 'make QR code for'. Supports text content, URLs, and local images (automatically compressed).
- License 许可
- MIT
- 最近更新
- 2026-05-17
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- qrcode-generator
- author
- bowen nan
- license
- MIT
- version
- 2.0.0
- description
- Generate QR codes from text, URLs, or images. Use when users ask to 'generate QR code', 'create QR', or 'make QR code for'. Supports text content, URLs, and local images (automatically compressed).
- permissions
- file read (specified image paths), file write (temp directory)
02 资源文件 4
- 参考文档_meta.json286 B
- 脚本agent.py2.0 KB
- 脚本example.py1.8 KB
- 参考文档requirements.txt33 B
03 SKILL.md 正文
QR Code Generator
Generate QR codes from text, URLs, or local images. Perfect for sharing links, contact information, or small images via scannable codes.
Features
- ✅ Generate QR codes from text
- ✅ Generate QR codes from URLs
- ✅ Generate QR codes from local images (auto-compressed)
- ✅ Customizable QR code size and colors
- ✅ Returns image path for easy sharing
Installation
pip install qrcode[pil] pillow
Usage Examples
Basic Usage
from agent import handle_call
# Generate QR for URL
result = handle_call({"content": "https://openclaw.ai"})
# Generate QR for text
result = handle_call({"content": "Hello OpenClaw"})
# Generate QR from image
result = handle_call({"image": "/path/to/image.jpg"})
Command Line
# Install dependencies first
pip install qrcode[pil] pillow
# Run the example
python example.py
Parameters
content(string): Text or URL to encodeimage(string): Full path to local image file
Returns
image_path: Path to generated QR code imageerror: Error message if failedmessage: Informational message
Notes
- Images larger than 10MB will be rejected
- Large images are automatically compressed for QR encoding
- For best results with images, use URLs instead of local files
04 同仓库更多 Skills
zvukogram
Text-to-Speech via Zvukogram API with SSML support. Use when you need to generate speech from text, create podcasts, voice notifications, or work with audio. Supports speed control, stress marks, English word transcription, and audio fragment merging.
zohomail
Zoho Mail API integration with managed OAuth. Send, receive, and manage emails, folders, and labels. Use this skill when users want to send emails, read messages, manage folders, or work with email labels in Zoho Mail. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.
zoho-recruit
Zoho Recruit API integration with managed OAuth. Manage candidates, job openings, interviews, and recruitment workflows. Use this skill when users want to read, create, update, or search recruitment data like candidates, job openings, interviews, and applications in Zoho Recruit. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.
zoho-people
Zoho People API integration with managed OAuth. Manage employees, departments, designations, attendance, and leave. Use this skill when users want to read, create, update, or query HR data like employees, departments, designations, and forms in Zoho People. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.
zoho-mail
Zoho Mail API integration with managed OAuth. Send, receive, and manage emails, folders, and labels. Use this skill when users want to send emails, read messages, manage folders, or work with email labels in Zoho Mail. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.
zoho-inventory
Zoho Inventory API integration with managed OAuth. Manage items, sales orders, invoices, purchase orders, bills, contacts, and shipments. Use this skill when users want to read, create, update, or delete inventory items, sales orders, invoices, purchase orders, bills, or other inventory records in Zoho Inventory. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.