← Back to Skills Marketplace
520
Downloads
0
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install qr-code-generator-skill
Description
A precision utility to generate QR code images from URLs or text using Python.
Usage Guidance
This skill appears to do what it says (generate QR codes) but exercise caution before installing or using it: 1) The SKILL.md suggests running a python -c one-liner that embeds user text directly — ensure the agent escapes or sanitizes input (or use safer approaches like writing the text to a temporary file and passing the filename to Python) to avoid code injection. 2) The skill will attempt pip install qrcode[pil] at runtime if the library is missing — verify package provenance and, where possible, pre-install dependencies in a controlled environment to avoid unexpected downloads. 3) The README references a ClawHub/GitHub install but the published source/homepage are unknown; prefer skills with verifiable source. 4) Be mindful that output files are written to the agent's working directory and that you should avoid submitting sensitive secrets (e.g., Wi‑Fi passwords) unless you trust the environment. If you want higher assurance, ask for the skill's source repository or a packaged release (so you can review code and dependency requirements) and request the one-liner be replaced with a safer implementation that properly escapes input.
Capability Analysis
Type: OpenClaw Skill
Name: qr-code-generator-skill
Version: 1.0.0
The skill's `SKILL.md` defines an execution template that uses `python3 -c` to generate QR codes. This template directly embeds user-provided text (`USER_TEXT_HERE`) and a filename (`FILE_NAME.png`) into a shell command. This design creates a significant shell injection vulnerability if the OpenClaw agent does not rigorously sanitize these inputs before execution, potentially allowing arbitrary code execution or file system manipulation. While not explicitly malicious, this is a critical security flaw.
Capability Assessment
Purpose & Capability
Name/description (generate QR codes) align with the declared requirements: python3 and the qrcode[pil] library. No unrelated binaries, env vars, or config paths are requested.
Instruction Scope
The SKILL.md instructs the agent to execute a python one-liner that directly embeds user text: python3 -c "... img.add_data('USER_TEXT_HERE') ...". If the agent substitutes user input into that literal without proper escaping, this enables code/command injection or runtime errors for inputs containing quotes/newlines. The instructions also tell the agent to run pip install qrcode[pil] at runtime if missing — which downloads and executes third-party code. Neither of these behaviors is inherently required for QR generation but are risky without safeguards (escaping, using files/stdin, preinstalling dependencies, or verifying package provenance).
Install Mechanism
There is no install spec (instruction-only), which is low-risk. However, the runtime behavior relies on pip to fetch qrcode[pil] if absent; on-demand pip installs pull external packages and can introduce supply-chain risk. The README references an install via ClawHub/GitHub but the skill's source/homepage are unknown.
Credentials
The skill requests no environment variables, credentials, or config paths, which is appropriate for a local QR generator. The README mentions Wi‑Fi credentials as example input (user-provided content) — that is a data-sensitivity concern for the user but not an environment/credential request by the skill.
Persistence & Privilege
always is false and the skill does not request persistent presence or modify other skills or system-wide settings. It writes output files to the current working directory, which is expected for this function.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install qr-code-generator-skill - After installation, invoke the skill by name or use
/qr-code-generator-skill - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of QR Code Generator skill.
- Generate and save QR code images from URLs or text using Python's qrcode library.
- Outputs high-resolution PNG files (default: qrcode.png in current directory).
- Handles missing dependencies by attempting automatic installation.
- Simple execution via Python one-liner for rapid QR code creation.
Metadata
Frequently Asked Questions
What is QR Code Generator?
A precision utility to generate QR code images from URLs or text using Python. It is an AI Agent Skill for Claude Code / OpenClaw, with 520 downloads so far.
How do I install QR Code Generator?
Run "/install qr-code-generator-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is QR Code Generator free?
Yes, QR Code Generator is completely free (open-source). You can download, install and use it at no cost.
Which platforms does QR Code Generator support?
QR Code Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created QR Code Generator?
It is built and maintained by Mrahil123 (@mrahil123); the current version is v1.0.0.
More Skills