Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

qr-code-generator

FreeRuns bundled scriptsNot checked

Generate QR codes with URLs and UTM tracking. Exports PNG/SVG with captions. Use for single codes, batch generation, or marketing campaigns with tracking…

nicepkgby nicepkg★ 298 GitHub stars

About this skill

QR Code Generator

What this skill does

Given a URL, this skill generates:

  • a QR code that encodes the URL
  • optional captions (human-readable URL or short label)
  • exports in PNG and/or SVG
  • optional batch runs from a CSV

Guardrails

  • Don’t generate QR codes for suspicious links (phishing, credential prompts, malware). If unsure, ask for confirmation or suggest a safer destination page.
  • Prefer HTTPS URLs.
  • If the QR is for print, prefer SVG (scales cleanly) and high error correction.

Inputs

Required:

  • URL

Optional:

  • label/caption text (e.g., “Scan to book a call”)
  • whether to show the URL under the QR (yes/no)
  • output formats: PNG, SVG
  • UTM params (source, medium, campaign, content, term)
  • size intent: screen / print / sticker

Workflow

  1. Validate the URL (scheme + domain).
  2. Optionally append UTM parameters (using assets/templates/utm_template.json).
  3. Generate QR:
    • Error correction: M (default), H for print/complex usage
    • Border: 4 (default)
  4. Export:
    • PNG (good for web)
    • SVG (best for print)
  5. If caption enabled:
    • PNG: add label and/or URL under the QR
    • SVG: add a text element under the QR
  6. Return links + a quick “usage notes” block (recommended minimum size, print tips).

Output format (required)

  • Encoded URL (final URL after UTM, if used)
  • Files generated (with links)
  • Recommendations (error correction, min size, when to use SVG vs PNG)

Scripts in this pack

  • scripts/generate_qr.py — single QR (PNG/SVG, optional caption)
  • scripts/batch_generate.py — batch from CSV (id,url,label)

Templates

  • assets/templates/utm_template.json
  • assets/templates/print_notes.md
  • assets/templates/prompt_snippets.md

Install qr-code-generator in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

assets/templates/print_notes.mdassets/templates/prompt_snippets.mdassets/templates/utm_template.jsonreferences/safety_and_quality.mdscripts/batch_generate.pyscripts/generate_qr.pyscripts/requirements.txt

FAQ

What does the qr-code-generator skill do?

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.

How do I install the qr-code-generator skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the qr-code-generator skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare qr-code-generator with