Skip to content
Back to skills

Qrcode Maker

ASecurity

二维码生成 - 把网址/文本/WiFi 信息生成二维码图片,本地离线生成

  • 1,757 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added August 31, 2026
ai-agentspythonbash

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned August 31, 2026

npx -y skills add dongsheng123132/u-claw --skill qrcode-maker --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Qrcode Maker?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Qrcode Maker
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dongsheng123132-qrcode-maker/badge)](https://www.skillsdirectory.com/skills/dongsheng123132-qrcode-maker)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: qrcode-maker
description: "二维码生成 - 把网址/文本/WiFi 信息生成二维码图片,本地离线生成"
metadata: { "openclaw": { "emoji": "🔳" } }
---

# 二维码生成

帮用户把网址、文本、联系方式、WiFi 信息生成二维码图片,本地离线生成,不上传任何数据。

## 能力概述

- **网址/文本二维码**:任意内容转二维码 PNG
- **WiFi 二维码**:扫码即连,免手输密码
- **终端预览**:直接在对话里用字符画展示二维码

## 操作方式

用 Bash 工具,Python 的 qrcode 库(轻量、纯本地):

```bash
python -c "import qrcode" 2>/dev/null || pip install -q "qrcode[pil]"

# 网址/文本 -> PNG
python - <<'PY'
import qrcode
qrcode.make("https://u-claw.org").save("qrcode.png")
print("已生成 -> qrcode.png")
PY

# WiFi 二维码(扫码自动连网)
python - <<'PY'
import qrcode
ssid, pwd, enc = "MyWiFi", "password123", "WPA"   # enc: WPA / WEP / nopass
data = f"WIFI:T:{enc};S:{ssid};P:{pwd};;"
qrcode.make(data).save("wifi-qr.png")
print("已生成 WiFi 二维码 -> wifi-qr.png")
PY

# 终端字符画预览(不存文件,直接看)
python - <<'PY'
import qrcode
q = qrcode.QRCode(); q.add_data("https://u-claw.org"); q.make()
q.print_ascii(invert=True)
PY
```

## 使用建议

- 先确认用户要编码的内容、是否保存为文件
- 生成后用 Read 工具把 PNG 展示给用户看
- 内容过长(如整段文字)二维码会很密集,提示用户改用短链

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.