Omar-Khaleel

QR Code Generator & Reader

设计创意v1.0.0
作者:Omar-Khaleel更新于 2026-05-11qr-code-intelligence@clawhub_omar-khaleel/qr-code-intelligence
图片生成

据 AlphaMoat 统计,截至 2026-09,QR Code Generator & Reader 累计下载 2,776 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 3,890 位,在「设计创意」分类(512 个)中排名第 375 位。

累计安装
131
累计下载
2,776
星标
1
全站排名
#3,890
全站前 77% · 「设计创意」前 74%
平台累计安装累计下载星标评论
ClawHub ↗802,5221-
SkillHub ↗1312,7761—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

可将文本、链接或其他数据编码为二维码图片,也可解码 PNG、JPG 或截图中的二维码。生成和读取使用不同 Python 依赖;解码能力还取决于平台的 zbar 安装。可复现部署时应固定依赖版本,并在运行前核对脚本路径是否与实际包布局一致。

资料发布于 2026-10-29

可以用来做什么

  • 需要生成二维码图片或从现有图片中提取二维码内容的开发者与 agent 用户。

什么时候用

  • 生成前确认编码内容可以公开或分享;解码前确认依赖和平台组件可用,并核实脚本路径。

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

说明生成二维码与读取截图二维码所需的依赖;不要创建图片或读取任何图像。

月度数据趋势

累计下载2,776
1,6112,2372,8622026-03 · 累计下载 1,6972026-05 · 累计下载 2,0232026-06 · 累计下载 2,1482026-07 · 累计下载 2,3602026-08 · 累计下载 2,4882026-09 · 累计下载 2,77626-0326-09
星标1
0122026-03 · 星标 12026-05 · 星标 12026-06 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-092,776—1
2026-082,488+5.4%1
2026-072,360+9.9%1
2026-062,148+6.2%1
2026-052,023—1
2026-031,697—1

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

1.7 KB · ClawHub v1.0.0
---
name: qr-code
description: Generate and read QR codes. Use when the user wants to create a QR code from text/URL, or decode/read a QR code from an image file. Supports PNG/JPG output and can read QR codes from screenshots or image files.
---

# QR Code

Generate QR codes from text/URLs and decode QR codes from images.

## Capabilities
展开全部(共 87 行)

- Generate QR codes from any text, URL, or data
- Customize QR code size and error correction level
- Save as PNG or display in terminal
- Read/decode QR codes from image files (PNG, JPG, etc.)
- Read QR codes from screenshots

## Requirements

Install Python dependencies:

### For Generation

```bash
pip install qrcode pillow
```

### For Reading

```bash
pip install pillow pyzbar
```

On Windows, pyzbar requires Visual C++ Redistributable.
On macOS: `brew install zbar`
On Linux: `apt install libzbar0`

## Generate QR Code

```bash
python scripts/qr_generate.py "https://example.com" output.png
```

Options:

- `--size`: Box size in pixels (default: 10)
- `--border`: Border size in boxes (default: 4)
- `--error`: Error correction level L/M/Q/H (default: M)

Example with options:

```bash
python scripts/qr_generate.py "Hello World" hello.png --size 15 --border 2
```

## Read QR Code

```bash
python scripts/qr_read.py image.png
```

Returns the decoded text/URL from the QR code.

## Quick Examples

Generate QR for a URL:

```python
import qrcode
img = qrcode.make("https://openclaw.ai")
img.save("openclaw.png")
```

Read QR from image:

```python
from pyzbar.pyzbar import decode
from PIL import Image
data = decode(Image.open("qr.png"))
print(data[0].data.decode())
```

## Scripts

- `scripts/qr_generate.py` - Generate QR codes with customization options
- `scripts/qr_read.py` - Decode QR codes from image files

「设计创意」分类下的热门技能

Omar-Khaleel 的其他技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。