← 返回 Skills 市场
520
总下载
0
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install qr-code-generator-skill
功能描述
A precision utility to generate QR code images from URLs or text using Python.
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install qr-code-generator-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/qr-code-generator-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
QR Code Generator 是什么?
A precision utility to generate QR code images from URLs or text using Python. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 520 次。
如何安装 QR Code Generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install qr-code-generator-skill」即可一键安装,无需额外配置。
QR Code Generator 是免费的吗?
是的,QR Code Generator 完全免费(开源免费),可自由下载、安装和使用。
QR Code Generator 支持哪些平台?
QR Code Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 QR Code Generator?
由 Mrahil123(@mrahil123)开发并维护,当前版本 v1.0.0。
推荐 Skills