# Generate Qrcode

> Generate QR codes from URLs or text using a pre-built Python script with qrcode library

- Skill: `dvcrn/generate-qrcode` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add dvcrn/generate-qrcode`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dvcrn/generate-qrcode/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: dvcrn (https://skillmd.com/u/dvcrn)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/dvcrn/generate-qrcode

---


# 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.

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

## Examples

Generate QR code for a URL:
```bash
python3 ~/.openclaw/skills/generate-qrcode/agent.py "https://www.baidu.com" ~/Desktop/baidu_qr.png
```

Generate QR code for text:
```bash
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)

