Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计提醒

qr-code-gen二维码生成

Agent Skill

qr-code-gen 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

15,466

周安装

637

GitHub Stars

公开资料未说明

下载量

5,147
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:qr-code-gen(二维码生成)
来源仓库:https://github.com/ouyangabel/qr-code-gen
安装命令:
openclaw skills install qr-code-gen
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install qr-code-gen

简介

二维码生成器创建文本、URL 及 WiFi 连接等多种编码形式。

  • 适用于分享链接、网络配置及名片交换等日常用途。
  • 通过 clawhub 安装,命令为 openclaw skills install qr-code-gen,支持自定义颜色尺寸。
  • 使用前请检查内容长度,超长文本可能导致识别困难。
  • 建议选择高对比度配色方案,提升不同设备下的可读性。

SKILL.md

name
qr-code
description
Generate QR codes for text, URLs, WiFi connections, and business cards (vCard). Use when: (1) creating QR codes for websites or text, (2) generating WiFi connection QR codes for easy network sharing, (3) creating digital business card QR codes, or (4) any QR code generation needs. Supports saving to custom file paths.

QR Code Generator

Generate QR codes locally for various use cases. No API calls required - everything is generated on your machine.

When to Use

  • Share URLs quickly via QR codes
  • Create WiFi connection codes for guests
  • Generate digital business cards (vCard)
  • Encode any text data into QR format

Prerequisites

Install the required Python package:

pip3 install qrcode[pil]
# or on Ubuntu/Debian:
sudo apt-get install python3-qrcode

Quick Start

Generate URL QR Code

python3 scripts/qr-code.py text "https://example.com"
# Output: QR code saved to ~/qrcode_output.png

Generate WiFi QR Code

python3 scripts/qr-code.py wifi "MyNetwork" "myPassword"
# Scan with phone to auto-connect

Generate Business Card

python3 scripts/qr-code.py vcard --name "John Doe" --phone "+1234567890" --email "john@example.com"

Commands

text <content> [output_path]

Generate a QR code containing any text or URL.

Parameters:

  • content: The text or URL to encode
  • output_path: Optional. Where to save the PNG file. Defaults to ~/qrcode_output.png

Examples:

# Basic URL
python3 scripts/qr-code.py text "https://github.com"

# Custom output location
python3 scripts/qr-code.py text "Hello World" ./hello_qr.png

# Long URL (auto-fits to QR version)
python3 scripts/qr-code.py text "https://example.com/very/long/path?with=parameters"

wifi <ssid> <password> [output_path]

Generate a QR code that allows phones to connect to WiFi automatically.

Parameters:

  • ssid: WiFi network name
  • password: WiFi password
  • output_path: Optional output path

Supported phones:

  • iOS 11+ (Camera app)
  • Android 9+ (Camera or WiFi settings)
  • Most QR scanner apps

Example:

python3 scripts/qr-code.py wifi "HomeWiFi" "secretPass123" ~/wifi_qr.png

vcard --name <name> [options] [output_path]

Generate a vCard (digital business card) QR code.

Options:

  • --name, -n (required): Full name
  • --phone, -p: Phone number
  • --email, -e: Email address
  • --org, -o: Organization/Company
  • --title, -t: Job title
  • --url, -u: Website URL
  • output: Optional output path

Examples:

# Simple card
python3 scripts/qr-code.py vcard --name "张三"

# Full business card
python3 scripts/qr-code.py vcard \
  --name "John Smith" \
  --phone "+1-555-1234" \
  --email "john@company.com" \
  --org "Acme Corp" \
  --title "Senior Developer" \
  --url "https://johnsmith.dev" \
  ~/business_card.png

Tips

  • QR codes use high error correction - they still work even if partially obscured
  • For large amounts of text, the QR code will automatically use a larger version
  • Generated files are standard PNG images that can be printed or shared digitally
  • WiFi QR codes follow the universal WIFI: format standard

Troubleshooting

"Missing qrcode module" error:

pip3 install qrcode[pil]

Permission denied when saving:

  • Check that the output directory exists
  • Ensure you have write permissions

Output

All generated QR codes are saved as PNG images. The output path will be displayed after successful generation.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

83.47%
按下载量换算4,296

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills