qrcode-generator

Generate QR codes from text, URLs, or images. Use when users ask to 'generate QR code', 'create QR', or 'make QR code for'. Supports text content, URLs, and local images (automatically compressed).

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "qrcode-generator" with this command: npx skills add nbf819-web/pr-generator

QR Code Generator

Generate QR codes from text, URLs, or local images. Perfect for sharing links, contact information, or small images via scannable codes.

Features

  • ✅ Generate QR codes from text
  • ✅ Generate QR codes from URLs
  • ✅ Generate QR codes from local images (auto-compressed)
  • ✅ Customizable QR code size and colors
  • ✅ Returns image path for easy sharing

Installation

pip install qrcode[pil] pillow

Usage Examples

Basic Usage

from agent import handle_call

# Generate QR for URL
result = handle_call({"content": "https://openclaw.ai"})

# Generate QR for text
result = handle_call({"content": "Hello OpenClaw"})

# Generate QR from image
result = handle_call({"image": "/path/to/image.jpg"})

Command Line

# Install dependencies first
pip install qrcode[pil] pillow

# Run the example
python example.py

Parameters

  • content (string): Text or URL to encode
  • image (string): Full path to local image file

Returns

  • image_path: Path to generated QR code image
  • error: Error message if failed
  • message: Informational message

Notes

  • Images larger than 10MB will be rejected
  • Large images are automatically compressed for QR encoding
  • For best results with images, use URLs instead of local files

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

miaoda-app-chat-sync

Convert Git repository code to structured JSON instructions for AI agents. Fetches code from Git repositories (GitHub, GitLab, etc.), generates structured JS...

Registry SourceRecently Updated
Coding

Golang Modernize

Continuously modernize Golang code to use the latest language features, standard library improvements, and idiomatic patterns. Use this skill whenever writin...

Registry SourceRecently Updated
2040samber
Coding

Reliable Tool Context

Build reliable tool context from command output using artifacts and compact reproducible code queries.

Registry SourceRecently Updated
Coding

qwencloud-text

[QwenCloud] Generate text, have conversations, write code, reason, and call functions with Qwen models. TRIGGER when: user asks to chat with Qwen, generate t...

Registry SourceRecently Updated