← 返回 Skills 市场
freedompixels

二维码生成工具

作者 freedompixels · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ✓ 安全检测通过
160
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install cn-qrcode-generator
功能描述
输入URL或文本,生成PNG二维码。
使用说明 (SKILL.md)

二维码生成器

输入URL或文本,生成PNG二维码。

功能

  • 输入URL/文本,生成二维码
  • 自定义尺寸(默认300px)

用法

python3 scripts/qrcode_generator.py "https://example.com" python3 scripts/qrcode_generator.py "Hello World"

依赖

  • Python 3.7+
  • certifi(SSL证书验证)

数据来源

使用 qrserver.com 公开API生成二维码,无需API Key。

版本

  • v1.2.0: 文档优化,更新依赖说明
安全使用建议
This skill appears to do what it says: it calls the public QR API at api.qrserver.com and returns or saves a PNG. Before installing or running it: (1) don't provide sensitive secrets or private data because whatever you pass will be uploaded to a third-party API; (2) be aware there are two included scripts with slightly different behaviors — generate.py saves to ~/Downloads by default and will prepend 'https://' to inputs that don't start with 'http', while scripts/qrcode_generator.py returns a base64 data URI and does not modify your input; (3) ensure you have certifi available if using the urllib-based script; and (4) review the small Python files yourself if you have concerns (they are short and readable).
功能分析
Type: OpenClaw Skill Name: cn-qrcode-generator Version: 1.2.0 The skill bundle provides a legitimate utility for generating QR codes using the public api.qrserver.com service. The implementation in generate.py and scripts/qrcode_generator.py follows safe coding practices, such as using subprocess.run with argument lists to prevent shell injection and implementing proper SSL certificate verification via certifi. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name, description, SKILL.md, and the two Python scripts all implement QR code generation using api.qrserver.com (qrserver.com). The required capabilities (network access to the public QR API) match the stated purpose and no unrelated credentials or binaries are requested.
Instruction Scope
SKILL.md usage references scripts/qrcode_generator.py (which fetches the PNG and returns base64). generate.py also exists and downloads a file to ~/Downloads via curl. Both scripts send the provided text to api.qrserver.com — so any input is transmitted to a third-party. generate.py unconditionally prefixes inputs that do not start with 'http' with 'https://', which may be unexpected and cause non-URL text to be uploaded as a URL; scripts/qrcode_generator.py does not do this. The SKILL.md mentions certifi (used by scripts/qrcode_generator.py) but the script header also says '无需安装依赖', a minor contradiction.
Install Mechanism
No install spec; the skill is instruction-only but includes local Python scripts. There are no downloads from external/untrusted URLs, no package installs declared, and no archive extraction—low install risk.
Credentials
The skill requests no environment variables, credentials, or config paths. That is proportionate to a QR-generation tool. Note: network requests will transmit user-provided content to api.qrserver.com, so sensitive content should not be encoded if you want to avoid external disclosure.
Persistence & Privilege
always is false and the skill does not attempt to modify other skills or agent-wide settings. It writes output only to a user-specified file (default ~/Downloads/qrcode.png in generate.py), which is normal for a CLI utility.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cn-qrcode-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cn-qrcode-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.0
v1.2.0: 文档优化,更新依赖说明
v1.1.1
- 简化描述与文档结构,专注核心二维码生成功能 - 去除SVG和Logo叠加相关说明,仅保留PNG输出支持 - 精炼功能和用法介绍,语句更简洁明了 - 更新依赖和示例,提升可读性
v1.1.0
v1.1.0: 修复SKILL.md格式
v1.0.1
- Updated "Keywords" in the skill description for improved discoverability. - No functional or feature changes.
v1.0.0
cn-qrcode-generator 1.0.0 初始版本 - 支持输入URL或文本,一键生成高清PNG/SVG二维码 - 可自定义二维码颜色、尺寸,并支持叠加Logo图片 - 输出格式包含二维码图片路径和相关参数信息 - 无需API Key,基于 qrcode.monster 免费API - 适用于内容创作、社交分享、个性名片等多场景
元数据
Slug cn-qrcode-generator
版本 1.2.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 5
常见问题

二维码生成工具 是什么?

输入URL或文本,生成PNG二维码。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 160 次。

如何安装 二维码生成工具?

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

二维码生成工具 是免费的吗?

是的,二维码生成工具 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

二维码生成工具 支持哪些平台?

二维码生成工具 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 二维码生成工具?

由 freedompixels(@freedompixels)开发并维护,当前版本 v1.2.0。

💬 留言讨论