✨
简介
二维码生成器
原始描述
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...
通过你的 Agent 添加
点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。
或者手动安装
Claude Codeunzip -o skill.zip -d ~/.claude/skills/skill-39153/
其它 Agent解压到它自己的 skills 目录,目录名用 skill-39153
包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。
技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。
技能正文
name: qrcode-generator 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)." version: 2.0.0 author: bowen nan license: MIT permissions: file read (specified image paths), file write (temp directory)
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
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。
标签
同类 Skill
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
self-improving-agent
self-improving-agent
下载 416.7k
✨
Self-Improving + Proactive Agent
Self-Improving + Proactive Agent
下载 177.1k
✨
Gog
Gog
下载 165k