Skip to content
Skills Library
Personal productivity · Conversion & formats

qr-code

/qr-code

Generate QR codes from URLs, text, or other data and save them as SVG, PNG, EPS, or PDF files. This skill should be used when the user asks to create, generate, or make a QR code for any content such as website URLs, text strings, WiFi credentials, contact info, or other data. Triggers include mentions of 'QR code', 'QR', 'barcode for a link', or requests to make a scannable code. Supports customization of colors, size, error correction level, and output format.

Licence
MIT
Last repository change
18.05.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
1
HTML comments
0
URLs in SKILL.md
3
Deprecation

No signals detected. Repository changed on 18.05.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/generate_qr.py

What it does and when to use it

Generate QR codes from URLs, text, or other data and save them as SVG, PNG, EPS, or PDF files. This skill should be used when the user asks to create, generate, or make a QR code for any content such as website URLs, text strings, WiFi credentials, contact info, or other data. Triggers include mentions of 'QR code', 'QR', 'barcode for a link', or requests to make a scannable code. Supports customization of colors, size, error correction level, and output format.

Triggers from the description

QR codebarcode for a link
Original author description

Generate QR codes from URLs, text, or other data and save them as SVG, PNG, EPS, or PDF files. This skill should be used when the user asks to create, generate, or make a QR code for any content such as website URLs, text strings, WiFi credentials, contact info, or other data. Triggers include mentions of 'QR code', 'QR', 'barcode for a link', or requests to make a scannable code. Supports customization of colors, size, error correction level, and output format.

How it works

  1. Workflow
  2. Script Usage
  3. Format Guidance
  4. Error Correction Guidance
  5. Examples
Original SKILL.md headings · 86 lines, 454 words
SKILL.md preview
---
name: qr-code
description: "Generate QR codes from URLs, text, or other data and save them as SVG, PNG, EPS, or PDF files. This skill should be used when the user asks to create, generate, or make a QR code for any content such as website URLs, text strings, WiFi credentials, contact info, or other data. Triggers include mentions of 'QR code', 'QR', 'barcode for a link', or requests to make a scannable code. Supports customization of colors, size, error correction level, and output format."
---

# QR Code Generator

Generate QR codes from any text or URL data, with support for multiple output formats and visual customization.

## Workflow

1. **Ask** where to save the output file:
   - Desktop: `~/Desktop/my_qr.svg`
   - Downloads: `~/Downloads/my_qr.svg`
   - Current project directory
   - A specific path they provide
2. Run `scripts/generate_qr.py` via `uv run` with the user's data and desired options.
3. Present the result to the user.

## Script Usage

The script uses PEP 723 inline metadata to declare its dependency (`segno`). Run it with `uv run` and dependencies are resolved and cached automatically — no manual installation required.

```bash
uv run ${CLAUDE_PLUGIN_ROOT}/skills/qr-code/scripts/generate_qr.py DATA OUTPUT_PATH [options]
```

### Required Arguments

| Argument | Description |
|----------|-------------|
| `DATA`   | The content to encode (URL, text, etc.) |
| `OUTPUT_PATH` | Output file path. Extension determines format: `.svg`, `.png`, `.eps`, `.pdf`, `.txt` |

### Options

| Option | Default | Description |
|--------|---------|-------------|
| `--scale` | `10` | Module scale factor (pixels per module) |
| `--border` | `4` | Quiet zone border width in modules |
| `--dark` | `#000000` | Dark module color (hex) |
| `--light` | `#ffffff` | Light module color (hex) |
| `--error` | `M` | Error correction: `L`=7%, `M`=15%, `Q`=25%, `H`=30% |
| `--version` | auto | Force a specific QR version (1-40) |
| `--micro` | off | Create a Micro QR Code (for very short data) |
| `--transparent` | off | Transparent background (SVG/PNG only) |

## Format Guidance

- **SVG** (`.svg`): Recommended default. Scalable vector, ideal for print and web. Smallest file size.
- **PNG** (`.png`): Raster image. Requires `pillow` as an additional dependency. Good for embedding in documents.
- **EPS** (`.eps`): Vector format for professional print workflows.
- **PDF** (`.pdf`): Vector PDF, good for print-ready documents.

Default to **SVG** unless the user requests otherwise.

## Error Correction Guidance

| Level | Recovery | When to use |
|-------|----------|-------------|
| L | 7% | Maximum data density, clean environments |
| **M** | **15%** | **Default. Good balance for most uses** |
| Q | 25% | QR codes that may be partially obscured |
| H | 30% | QR codes with logos overlaid, harsh environments |

If the user wants to overlay a logo on the QR code, suggest `--error H` for maximum resilience.

## Examples

Generate a basic SVG QR code:
```bash
uv run ${CLAUDE_PLUGIN_ROOT}/skills/qr-code/scripts/generate_qr.py "https://example.com/" ~/Desktop/example_qr.svg
```

Generate a styled PNG with custom colors:
```bash
uv run ${CLAUDE_PLUGIN_ROOT}/skills/qr-code/scripts/generate_qr.py "https://example.com/" ~/Downloads/example_qr.png \
  --scale 20 --dark "#1a1a2e" --light "#f0f0f0" --error H
```

Generate a compact Micro QR for short text:
```bash
uv run ${CLAUDE_PLUGIN_ROOT}/skills/qr-code/scripts/generate_qr.py "HELLO" ~/Desktop/hello_qr.svg --micro --scale 15
```

Transparent background SVG:
```bash
uv run ${CLAUDE_PLUGIN_ROOT}/skills/qr-code/scripts/generate_qr.py "https://example.com/" ~/Desktop/example_qr.svg --transparent
```
Files in this package (2)
  • SKILL.md 4 KB
  • scripts/generate_qr.py 3 KB

Versions

The database has no other skills named qr-code.

Database snapshot: 13.11.2026 · package version 97cf8ced0497 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95qr-code-generator
    Use this skill when users need to create QR codes for any purpose. Triggers include: requests to \"generate QR code\", \"create QR\", \"make a QR code for\", or mentions of encoding data into scannable codes. Supports URLs, text, WiFi credentials, vCards (contact information),…
  • 100qrcode
    Generate a QR code from text, a URL, Wi-Fi credentials, or contact info, as a PNG file or terminal art. Use when users want to make/create a QR code for a link, password, or message. Triggers on mentions of QR code, qrcode, generate qr, scan code, 二维码, 生成二维码, 扫码.
  • 90qr-code-generator
    Generate QR codes with URLs and UTM tracking. Exports PNG/SVG with captions. Use for single codes, batch generation, or marketing campaigns with tracking parameters.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.