← Back to Skills Marketplace
freedompixels

二维码生成工具

by freedompixels · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ✓ Security Clean
160
Downloads
0
Stars
0
Active Installs
5
Versions
Install in OpenClaw
/install cn-qrcode-generator
Description
输入URL或文本,生成PNG二维码。
README (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: 文档优化,更新依赖说明
Usage Guidance
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).
Capability Analysis
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.
Capability Tags
requires-sensitive-credentials
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cn-qrcode-generator
  3. After installation, invoke the skill by name or use /cn-qrcode-generator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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 - 适用于内容创作、社交分享、个性名片等多场景
Metadata
Slug cn-qrcode-generator
Version 1.2.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 5
Frequently Asked Questions

What is 二维码生成工具?

输入URL或文本,生成PNG二维码。 It is an AI Agent Skill for Claude Code / OpenClaw, with 160 downloads so far.

How do I install 二维码生成工具?

Run "/install cn-qrcode-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 二维码生成工具 free?

Yes, 二维码生成工具 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 二维码生成工具 support?

二维码生成工具 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 二维码生成工具?

It is built and maintained by freedompixels (@freedompixels); the current version is v1.2.0.

💬 Comments