← 返回 Skills 市场
hexavi8

QRCode

作者 HeXavi8 · GitHub ↗ · v1.0.1
cross-platform ✓ 安全检测通过
984
总下载
2
收藏
5
当前安装
2
版本数
在 OpenClaw 中安装
/install qrcode
功能描述
Generate styled QR codes (SVG/PNG/JPG) from user input. Supports custom module color, background, dot shape and eye shape, and many output options.
安全使用建议
This skill appears to do what it says: generate QR codes. Before installing/running: 1) Ensure Node is available on the agent host (SKILL.md expects 'node'); 2) Be aware 'npm install' will fetch qrcode and sharp from the npm registry—sharp may require native build tools or download prebuilt binaries (network access and build tools may be needed); 3) Confirm how WORKSPACE_ROOT is resolved in your environment (the script computes it as three directories up from the script location); outputs are strictly limited to the script's resolved workspace root and filenames are sanitized, but verify that matches your expected workspace; 4) Note that QR codes encode user-provided data — avoid generating/redistributing codes that point to malicious URLs or include secrets; 5) The registry metadata omission of the 'node' runtime is an administrative inconsistency — consider verifying the SKILL.md metadata and package.json before use. Overall this looks coherent and appropriate for its stated purpose.
功能分析
Type: OpenClaw Skill Name: qrcode Version: 1.0.1 The OpenClaw AgentSkills 'qrcode' skill is classified as benign. Both the `SKILL.md` instructions and the `scripts/generate.mjs` code demonstrate a strong focus on security. The `SKILL.md` provides clear, non-malicious instructions for the agent, focusing on displaying output and user interaction, with no evidence of prompt injection. The `scripts/generate.mjs` script implements robust security measures, including comprehensive input validation, strict path traversal protection (forcing all outputs to the workspace root via `sanitizeOutputPath`), symlink attack prevention (`safeWriteFile`), resource limits to prevent DoS, and proper XML escaping to prevent SVG injection. There is no evidence of data exfiltration, unauthorized execution, or persistence mechanisms.
能力评估
Purpose & Capability
Name/description match the code and dependencies (Node + qrcode + sharp). The included script implements QR generation and styling. Minor inconsistency: registry 'Requirements' reported no required binaries, while SKILL.md metadata correctly lists node and packages; this is an administrative mismatch but doesn't indicate malicious behavior.
Instruction Scope
Runtime instructions are scoped to generating and displaying QR image files, saving outputs to the workspace root, and offering regeneration. The SKILL.md does not instruct reading unrelated files, exfiltrating data, or accessing credentials. The agent is told to display generated files (expected).
Install Mechanism
No formal install spec in registry, but package.json exists and SKILL.md tells the user to run 'npm install'. Dependencies are from npm (qrcode, sharp). This is expected for the functionality, but sharp is a native module that may download prebuilt binaries or build from source during npm install—this is normal but increases install-time surface (network access, native build tools).
Credentials
The skill declares no environment variables, no credentials, and the code does not access external secrets. All required inputs are passed as command-line options. No disproportionate credential or config access was requested.
Persistence & Privilege
Skill does not request always:true and does not persist or modify other skills. It writes only to sanitized filenames in the resolved workspace root and includes defenses against symlink/TOCTOU attacks.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install qrcode
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /qrcode 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Enhance security and validation in QR code generation script.
v1.0.0
Initial publish — Generate styled QR codes (SVG/PNG/JPG) from user input. Supports custom module color, background, dot shape and eye shape, and many output options.
元数据
Slug qrcode
版本 1.0.1
许可证
累计安装 5
当前安装数 5
历史版本数 2
常见问题

QRCode 是什么?

Generate styled QR codes (SVG/PNG/JPG) from user input. Supports custom module color, background, dot shape and eye shape, and many output options. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 984 次。

如何安装 QRCode?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install qrcode」即可一键安装,无需额外配置。

QRCode 是免费的吗?

是的,QRCode 完全免费(开源免费),可自由下载、安装和使用。

QRCode 支持哪些平台?

QRCode 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 QRCode?

由 HeXavi8(@hexavi8)开发并维护,当前版本 v1.0.1。

💬 留言讨论