Advanced QR Intelligence
v1.0.0Generate 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.
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description match the included Python scripts: qr_generate.py generates QR images and qr_read.py decodes QR images. The capabilities claimed (PNG/JPG output, decode from image files) are consistent with the code.
Instruction Scope
SKILL.md instructs running scripts from scripts/qr_generate.py and scripts/qr_read.py and mentions displaying in-terminal and reading screenshots; the repository contains qr_generate.py and qr_read.py at the top level (no scripts/ subdirectory). The code saves files and decodes image files but does not implement "display in terminal" or screenshot-capture logic. These are documentation mismatches that could cause runtime errors but are not malicious.
Install Mechanism
No install spec; SKILL.md recommends installing Python packages via pip (qrcode, pillow, pyzbar). This is a normal, low-risk instruction-only install pattern. System zbar library requirements for pyzbar are noted in the README.
Credentials
No environment variables, credentials, or config paths are requested. The scripts do not access network services, secrets, or unrelated system configuration.
Persistence & Privilege
always is false and the skill does not request persistent or elevated presence. It does not modify other skills or system-wide settings.
Assessment
This skill appears to do exactly what it says: generate and read QR codes, with no network calls or secret access. Before installing/using: (1) run pip installs inside a virtualenv to avoid contaminating your system Python; (2) note that SKILL.md references scripts/qr_generate.py and scripts/qr_read.py but the files are at the repository root — run python qr_generate.py and python qr_read.py (or move files into a scripts/ folder) to avoid file-not-found errors; (3) pyzbar requires the zbar system library (follow the platform notes in SKILL.md); (4) the skill's homepage and source are unknown — if you need stronger assurance, inspect or run the two .py files in a sandbox first. Overall the package is coherent and not suspicious, but fix the path/documentation mismatches before use.Like a lobster shell, security has layers — review code before you run it.
latestlatesutilitiesproductivityqrt
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
Comments
Loading comments...
