360 Secure SkillHub
360 安全技能中心

Generate Qrcode

该 Skill 使用预置的 Python 脚本和 qrcode 库,把输入的 URL 或文本转换为二维码 PNG 图片,并保存到指定输出路径。默认每个模块 10x10 像素、4 格边框,不涉及联网请求或二维码解码。

分类:效率
whubbt
whubbt
热度 45.41
最近更新 2026-05-17 12:48:55

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add whubbt/qrcode-gen-yn
兼容性
OpenClaw 专属
联网要求
不联网
数据出网
数据不出本机
Metadata
name
generate-qrcode
description
Generate QR codes from URLs or text using a pre-built Python script with qrcode library
author
yuanyanan
version
1.0.0
metadata
{"openclaw":{"emoji":"📱","always":true},"tags":["qrcode","image","utility","python"]}

QR Code Generator

Generate QR codes from URLs or text using a pre-built Python script.

Usage

IMPORTANT: Use the existing Python script, don't write inline code.

python3 ~/.openclaw/skills/generate-qrcode/agent.py "<URL or text>" <output_path>

Examples

Generate QR code for a URL:

python3 ~/.openclaw/skills/generate-qrcode/agent.py "https://www.baidu.com" ~/Desktop/baidu_qr.png

Generate QR code for text:

python3 ~/.openclaw/skills/generate-qrcode/agent.py "Hello World" ~/Desktop/hello.png

Output

  • PNG image file with QR code
  • Default size: 10x10 boxes per module
  • 4-box border

Requirements

  • Python 3.x
  • qrcode library (pre-installed)