qr-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.
When & Why to Use This Skill
This Claude skill automates the generation of professional-grade QR codes integrated with UTM tracking parameters for precise marketing attribution. It supports high-resolution PNG and SVG exports, batch processing from CSV files, and customizable captions, making it an essential tool for bridging offline marketing collateral with digital analytics.
Use Cases
- Marketing Attribution: Generate batch QR codes with embedded UTM parameters for print advertisements, flyers, or billboards to track offline-to-online conversion rates in analytics platforms.
- High-Quality Print Design: Create scalable SVG QR codes for large-format banners, posters, and product packaging to ensure crisp scanning and professional print quality at any size.
- Bulk Asset Creation: Use CSV data to rapidly generate unique QR codes for event ticketing, personalized direct mail campaigns, or inventory management systems.
- Call-to-Action Optimization: Add human-readable captions and labels (e.g., 'Scan to Join') directly to QR code images to improve user engagement and scan-through rates.
| name | qr-code-generator |
|---|---|
| description | 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. |
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
- Validate the URL (scheme + domain).
- Optionally append UTM parameters (using
assets/templates/utm_template.json). - Generate QR:
- Error correction: M (default), H for print/complex usage
- Border: 4 (default)
- Export:
- PNG (good for web)
- SVG (best for print)
- If caption enabled:
- PNG: add label and/or URL under the QR
- SVG: add a text element under the QR
- 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.jsonassets/templates/print_notes.mdassets/templates/prompt_snippets.md