Skip to main content
skill CX Codex

qr-code-generator — Claude Code skill: what it does, how to install

Creates PNG and SVG QR codes with UTM tracking parameters and custom text labels. Useful for preparing print materials, stickers, and bulk batch exports from CSV.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add manojbajaj95/claude-gtm-plugin --skill qr-code-generator -a claude-code
Open on GitHub

What qr-code-generator does

The skill accepts a web address, validates its protocol, and converts it into a QR code. It can append campaign tracking parameters using assets/templates/utm_template.json. Output formats include raster PNG for digital screens and scalable vector SVG.

Two Python scripts handle processing under the hood. Single links run through scripts/generate_qr.py, while scripts/batch_generate.py processes CSV files containing id, url, and label columns. Captions can display short descriptive labels or the full destination URL directly below the code.

Physical printing requires vector SVG with error correction level H. The default level M suits screens but degrades quickly on uneven physical surfaces. The skill also enforces HTTPS validation and refuses suspicious destinations.

What it helps with

  • Append UTM campaign tags to links before encoding them into QR codes
  • Produce scalable vector SVG codes with high error correction for print
  • Run bulk QR generation from a CSV file with IDs, links, and captions
  • Add readable URL text or call-to-action labels directly beneath generated codes

Example prompts for the agent

  • Generate a vector SVG QR code for our event registration page with UTM tracking and a caption.
  • Batch generate QR codes from links.csv with captions enabled below each image.
  • Create a PNG QR code for our blog article using the summer promotion campaign tags.

How to install qr-code-generator

1Skills CLI (Vercel)

npx skills add manojbajaj95/claude-gtm-plugin --skill qr-code-generator -a claude-code

2Manually: put the files in place

~/.claude/skills/qr-code-generator/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/qr-code-generator/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about qr-code-generator

How do I install qr-code-generator in Claude Code?

Run npx skills add manojbajaj95/claude-gtm-plugin --skill qr-code-generator -a claude-code. The skill file is placed at ~/.claude/skills/qr-code-generator/SKILL.md.

What does qr-code-generator do?

It creates PNG and SVG QR codes from links, automatically attaching UTM tracking parameters and optional text labels underneath.

What settings are recommended for print materials?

The skill recommends vector SVG output with error correction set to H, along with a quiet zone border of 4 modules.

Source text

SKILL.md · MIT
---
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

## Workspace Context

Read bootstrap context before asking questions: `strategy/brand.md` for brand, audience, offer, channels, tools, constraints, and metrics; `about/me.md` for personal voice; `content/ideas.md` and `content/calendar.md` for content planning. Use legacy product-marketing context files only as fallback. Save generated drafts to `content/<platform>/drafts/YYYY-MM-DD_short-topic-slug.md`, and route durable learnings back to `strategy/brand.md`, `about/me.md`, or `content/ideas.md`.

## Operating Contract

This skill is self-contained for its frontmatter scope: use its local instructions, references, scripts, and assets as the playbook; ask only for missing task-specific inputs; hand off to adjacent skills instead of expanding scope; and return an actionable artifact, decision, plan, draft, or diagnostic.



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

© manojbajaj95 · MIT · manojbajaj95/claude-gtm-plugin

Similar skills

Everything for Marketing and content →

From the same set12

marketing-campaign-management A skill for planning marketing campaigns: funnel stages, content calendar, buyer psychology and a catalog of 140 tactics. Useful when you need a launch plan, not generic advice. CX Codex +1 385installs conversion-rate-optimization Audits marketing pages and capture forms, pinpoints friction, and builds test hypotheses. Use it when landing page signups stall or before launching ad campaigns. CX Codex +1 350installs copywriting-core A skill for writing and editing marketing copy: landing pages, emails, headlines, CTAs. Built on positioning and customer language. CX Codex +1 345installs growth-strategy Designs compounding growth loops, evaluates network effects, and models unit economics. It shifts product teams from linear funnels to product-led loops. CX Codex +1 337installs lead-generation-and-demand A B2B demand generation playbook: ICP, funnel stages, channel picks, lead scoring and CAC math. Useful when you are building a pipeline from scratch. CX Codex +1 333installs go-to-market-strategy Takes a launch from GTM motion choice to launch day: positioning, channels, a six-week timeline and the marketing pack. CX Codex +1 328installs landing-page-optimization A Claude skill for landing pages: copy frameworks, the 11-element page structure, CTA writing and conversion work. CX Codex +1 324installs content-creation-and-marketing Turns an idea, brief, notes or transcript into a review-ready draft and saves it into the project's content workspace. CX Codex +1 314installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor