Skills local-qrcode

Generate QR codes locally from text/URL to PNG image or ASCII art. Pure local generation using qrcode library. No API key required. Use when users need to create QR codes for links, text, or any content.

install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/alone86136/local-qrcode" ~/.claude/skills/clawdbot-skills-local-qrcode && rm -rf "$T"
manifest: skills/alone86136/local-qrcode/SKILL.md
source content

local-qrcode

Overview

A simple skill for generating QR codes locally. Convert any text or URL to a QR code image (PNG) or display as ASCII art in terminal. Everything runs locally, no external API calls needed.

Features

  • Generate PNG QR code: Save QR code as PNG image file
  • ASCII QR output: Display QR code directly in terminal as ASCII art
  • Customizable: Adjust box size and border size for output

Dependencies

Requires

qrcode
and
Pillow
Python packages:

pip install qrcode pillow

Usage

Generate PNG QR code

python3 scripts/generate_png.py "https://example.com" output.png

Generate ASCII QR code

python3 scripts/generate_ascii.py "Hello World"

Custom size

python3 scripts/generate_png.py --box-size 10 --border 4 "content" output.png

Resources

scripts/

  • generate_png.py
    - Generate QR code as PNG image file
  • generate_ascii.py
    - Generate QR code as ASCII art for terminal output