qr-code

Generate QR codes as PNG images from text, URLs, or any data. Use this skill when the user asks to create a QR code, generate a QR code, make a scannable code, or encode data as a QR image.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "qr-code" with this command: npx skills add dalehurley/phpbot/dalehurley-phpbot-qr-code

Skill: qr-code

When to Use

Use this skill when the user asks to:

  • Generate or create a QR code
  • Make a scannable QR code image
  • Encode a URL or text as a QR code
  • Create a QR code for sharing a link
  • Save a QR code as PNG

Input Parameters

ParameterRequiredDescriptionExample
contentYesText, URL, or data to encodehttps://example.com
outputNoOutput PNG file path (default: ./qrcode.png)/tmp/my-qr.png
sizeNoBox size in pixels (default: 10)15
colorNoQR code color (default: black)navy
bg_colorNoBackground color (default: white)white

Procedure

  1. Get the content to encode from the user's request
  2. Run the bundled script:
    python3 skills/qr-code/scripts/generate.py "https://example.com"
    
    Or with options:
    python3 skills/qr-code/scripts/generate.py "Hello World" --output /tmp/qr.png --size 15 --color navy
    
  3. The script auto-installs qrcode and Pillow if needed
  4. Report the saved file path to the user

Bundled Scripts

ScriptTypeDescription
scripts/generate.pyPythonGenerate QR code PNG images

Script Usage

# Simple QR code
python3 scripts/generate.py "https://example.com"

# Custom output path
python3 scripts/generate.py "Hello World" --output /tmp/my-qr.png

# Custom size and colors
python3 scripts/generate.py "https://example.com" --size 15 --color darkblue --bg white

# WiFi QR code
python3 scripts/generate.py "WIFI:T:WPA;S:MyNetwork;P:MyPassword;;"

Example

generate a QR code for https://example.com
create a QR code that says "Hello World"
make a QR code for my wifi network
generate a QR code and save it to my desktop

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

QRCode

Generate styled QR codes (SVG/PNG/JPG) from user input. Supports custom module color, background, dot shape and eye shape, and many output options.

Registry SourceRecently Updated
2478
Profile unavailable
Coding

QR Code Generator

Generate QR codes for text, URLs, WiFi connections, and business cards (vCard). Use when: (1) creating QR codes for websites or text, (2) generating WiFi con...

Registry SourceRecently Updated
0254
Profile unavailable
Coding

analyze-codebase-for-improvements

No summary provided by upstream source.

Repository SourceNeeds Review