QR Code Generator & Reader
Generate and read QR codes. Use when the user wants to create a QR code from text/URL, or decode/read a QR code from an image file. Supports PNG/JPG output and can read QR codes from screenshots or image files.
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 1 · 1.3k · 0 current installs · 0 all-time installs
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
The skill's name/description match the included Python scripts (qr_generate.py and qr_read.py). Both generation and decoding features are implemented and the requested Python packages are appropriate for the stated purpose. Minor documentation mismatch: SKILL.md refers to scripts/qr_generate.py and scripts/qr_read.py, but the files are at repository root (qr_generate.py / qr_read.py); this is an operational/documentation inconsistency but not a security issue.
Instruction Scope
Runtime instructions are limited to installing standard Python packages (qrcode, pillow, pyzbar) and running the included scripts. The instructions do not ask the agent to read unrelated files, environment variables, or post data to external endpoints. Note: SKILL.md examples and CLI usage are straightforward; the scripts will decode and print QR payloads (which may be URLs or text) — the skill will expose that content but does not itself follow links.
Install Mechanism
No install spec or remote downloads are present; this is an instruction-only skill with bundled Python scripts. Dependency installation is via pip (standard). Native zbar library is required for pyzbar on some platforms and the README notes platform-specific installation (apt/brew/Windows requirements), which is expected.
Credentials
The skill requests no environment variables, no credentials, and no config paths. That is proportionate to generating/reading QR codes.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system-wide settings, and does not persist credentials or enable self-install behavior. Autonomous invocation is allowed by default but is not combined with any other concerning privileges.
Assessment
This package appears coherent and implements QR generation/reading as described. Before installing or running: (1) run the scripts from the repository root (use python qr_generate.py / python qr_read.py) since SKILL.md references a non-existent scripts/ subfolder; (2) install Python dependencies inside a virtualenv; (3) on macOS/Linux install the zbar native library for pyzbar as noted; (4) be cautious when following decoded QR payloads — they may contain URLs or commands; verify links before opening them; (5) review the included Python files yourself if you want extra assurance (they are short, not obfuscated, and do not perform network calls or credential access).Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.0
Download ziplatestproductivityqrutilities
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
QR Code
Generate QR codes from text/URLs and decode QR codes from images.
Capabilities
- Generate QR codes from any text, URL, or data
- Customize QR code size and error correction level
- Save as PNG or display in terminal
- Read/decode QR codes from image files (PNG, JPG, etc.)
- Read QR codes from screenshots
Requirements
Install Python dependencies:
For Generation
pip install qrcode pillow
For Reading
pip install pillow pyzbar
On Windows, pyzbar requires Visual C++ Redistributable.
On macOS: brew install zbar
On Linux: apt install libzbar0
Generate QR Code
python scripts/qr_generate.py "https://example.com" output.png
Options:
--size: Box size in pixels (default: 10)--border: Border size in boxes (default: 4)--error: Error correction level L/M/Q/H (default: M)
Example with options:
python scripts/qr_generate.py "Hello World" hello.png --size 15 --border 2
Read QR Code
python scripts/qr_read.py image.png
Returns the decoded text/URL from the QR code.
Quick Examples
Generate QR for a URL:
import qrcode
img = qrcode.make("https://openclaw.ai")
img.save("openclaw.png")
Read QR from image:
from pyzbar.pyzbar import decode
from PIL import Image
data = decode(Image.open("qr.png"))
print(data[0].data.decode())
Scripts
scripts/qr_generate.py- Generate QR codes with customization optionsscripts/qr_read.py- Decode QR codes from image files
Files
4 totalSelect a file
Select a file to preview.
Comments
Loading comments…
