QR Code Scan & Generate for Openclaw

A comprehensive utility for AI agents to decode QR codes from various sources and generate custom QR images for text, URLs, and WiFi configurations.

moxin1044
v1.0.0
Mar 22, 2026
1
886
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install qrcode-scan

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install qrcode-scan using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is QR Code Scan & Generate?

The QR Code Scan & Generate skill is a versatile tool built on the qrcode and pyzbar Python libraries. It enables AI agents to bridge the gap between visual data and text by scanning QR codes from local files, remote URLs, or Base64 encoded strings.

Beyond simple decoding, this skill allows for the creation of high-quality QR code images. Whether you need to share a website link, a block of text, or automated WiFi credentials, this addition to Openclaw Skills provides a streamlined interface for both CLI and API-based workflows. It is particularly useful for developers looking to automate the intake of visual data or the production of scannable identifiers.

QR Code Scan & Generate Use Cases

  • Scanning and decoding content from QR code images uploaded by users.
  • Generating QR codes for URLs to facilitate easy mobile access to web content.
  • Creating WiFi sharing codes that allow guests to connect to networks without typing passwords.
  • Extracting network credentials from existing WiFi QR codes for automated setup.
  • Converting Base64 image data into readable text via QR decoding.

How QR Code Scan & Generate Works

  1. The user provides an input source, which can be a local file path, a direct image URL, or a Base64 string.
  2. The skill utilizes the pyzbar library to locate and decode any QR codes present within the image data.
  3. For generation tasks, the qrcode library takes text or structured data (like WiFi SSIDs) and generates a pixel matrix.
  4. The system outputs the results as either plain text/JSON (for scans) or as a PNG file/Base64 string (for generation).
  5. Advanced parsing logic can further interpret WiFi-specific QR strings into structured JSON objects.

QR Code Scan & Generate Setup

To get started with this skill, install the necessary Python dependencies using the following command:

pip install qrcode pillow pyzbar

Note: Windows users might need to install the Visual C++ Redistributable for pyzbar to function correctly.

QR Code Scan & Generate Data Schema & Taxonomy

The skill handles data through a structured input/output model to ensure compatibility across different Openclaw Skills implementations:

Feature Input Type Output Format
Scanning File Path, URL, Base64 Plain Text, JSON, or List
Generation Text, URL, WiFi SSID/Pass PNG File, Base64 String
WiFi Parsing Encoded WiFi String Dictionary (ssid, password, security)

QR Code Scan & Generate Advanced Features

  • Support for multi-code detection, allowing the extraction of multiple QR codes from a single image.
  • Automated input type detection to handle files, URLs, and Base64 strings without manual configuration.
  • Specialized WiFi QR generation supporting WPA, WEP, and hidden networks.
  • Low-token CLI mode optimized for speed and efficiency when used within automated agent pipelines.
  • Customization options for QR code size and border width during generation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*