Media & Image v1.0.0

qrcode-generator

Generate QR codes from text, URLs, or data. Use when: (1) user asks to create/generate/make a QR code, (2) converting a...

shixiaoliuo 更新于 2026-03-06 1 浏览
下载 SKILL

技能说明

Generate QR codes from text, URLs, or data. Use when: (1) user asks to create/generate/make a QR code, (2) converting a URL or text into a scannable QR code, (3) generating QR codes for payments (wechat, alipay, crypto), (4) creating QR codes for WiFi sharing, or (5) any task requiring a visual QR code image output.

使用场景

Generate QR codes from text, URLs, or data using the qrcode npm package.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/qrcode-generator
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

5 个文件 · 18 kB
SKILL.md text/markdown
---
name: qrcode-generator
version: 1.0.0
description: Generate QR codes from text, URLs, or data. Use when: (1) user asks to create/generate/make a QR code, (2) converting a URL or text into a scannable QR code, (3) generating QR codes for payments (wechat, alipay, crypto), (4) creating QR codes for WiFi sharing, or (5) any task requiring a visual QR code image output.
---

# QR Code Generator

Generate QR codes from text, URLs, or data using the qrcode npm package.

## Usage

Run the included script:

```bash
node /workspace/skills/qrcode-generator/scripts/generate.js <text_or_url> [output_file]
```

**Arguments:**
- `text_or_url`: The content to encode (required)
- `output_file`: Output path (optional, defaults to qrcode.png)

**Examples:**
```bash
# Generate QR code for a URL
node /workspace/skills/qrcode-generator/scripts/generate.js "https://example.com"

# Generate QR code with custom output
node /workspace/skills/qrcode-generator/scripts/generate.js "https://example.com" "/workspace/my-qr.png"
```

## Output

- Saves QR code as PNG image
- Returns the file path in response

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。