qr-code-generator

Generate customizable QR codes from URLs, text, WiFi, and events.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/anisafifi/agent-skills --skill qr-code-generator-anisafifi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qr-code-generator
Source: https://github.com/anisafifi/agent-skills/tree/main/qr-code-generator
Command: npx skills add https://github.com/anisafifi/agent-skills --skill qr-code-generator-anisafifi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires qrcode, Pillow, segno, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Encodes a wide range of data into QR codes, turning manual encoding into automated, repeatable generation with consistent styling and export options.

Core Features & Use Cases

  • Generate QR codes from URLs, plain text, WiFi credentials, vCards, emails, phones, SMS, geographic coordinates, and calendar events.
  • Customize appearance with foreground/background colors, error-correction levels, borders, and optional logos; export in PNG, SVG, PDF, EPS, or terminal formats.
  • Enable batch generation from text, CSV, or JSON inputs and integrate with templates or naming conventions for scalable workflows.

Quick Start

Use a simple URL example to generate a QR code with default settings: python scripts/qr.py "https://example.com"

Frequently Asked Questions about qr-code-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a QR code from a URL or text using Python?

To generate a QR code from a URL or text, run the Python script with your target string, such as passing a URL to the command line interface. This encodes the data into a QR code image using the qrcode and Pillow libraries, outputting a scannable graphic for apps or documents.

Can I create WiFi credential or vCard QR codes for packaging and events?

WiFi credential and vCard QR codes can be created by inputting the specific contact or network data into the generator. It encodes WiFi details, vCards, emails, geographic coordinates, and calendar events, producing customized QR codes suitable for event ticketing or product packaging workflows.

What is the best way to batch generate QR codes from CSV or JSON data?

Batch QR code generation from CSV or JSON data is handled by processing multiple entries through the script with automated naming conventions. It reads structured input files, encodes each row or object into a QR code, and exports the resulting images in bulk for scalable workflows.

Does this QR code generator support exporting to SVG, PDF, and EPS formats?

This QR code generator supports exporting to SVG, PDF, EPS, PNG, and terminal formats. It leverages the segno library to render the encoded data into vector or raster outputs, allowing integration into branded documents, scalable packaging designs, and application interfaces.

How do I add a custom logo or change the colors of a QR code?

To add a custom logo or change colors, configure the generator's styling parameters for foreground, background, borders, and optional logos. It applies these customizations to the QR code rendering process using Pillow, producing branded image outputs with specific error-correction levels.

Do I need Python and OpenClawCLI to set up the QR code generation environment?

You need Python and the OpenClawCLI integration to set up the environment for this QR code generator. It requires installing specific Python dependencies including qrcode, Pillow, and segno, establishing the runtime environment needed to execute the data encoding scripts.