QR Code Tool for Openclaw

A versatile command-line utility for generating and decoding various types of QR codes, including URLs, WiFi credentials, and contact cards.

yushimohuang
v1.0.0
Mar 10, 2026
0
1.5k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install qr-code-toolkit

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 qr-code-toolkit 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 Tool?

The QR Code Tool is a specialized component within the Openclaw Skills ecosystem designed to streamline QR code management directly from your AI agent's environment. It provides a robust interface for creating high-quality QR images from plain text, URLs, or structured data like vCards and WiFi configurations. By leveraging this tool, developers can automate the creation of marketing materials, onboarding assets, or data sharing shortcuts without leaving the terminal or their coding workspace.

Beyond simple generation, the tool includes sophisticated reading capabilities, allowing users to decode content from local image files. This integration makes Openclaw Skills significantly more capable in workflows involving physical-to-digital data transfers and automated document processing.

QR Code Tool Use Cases

  • Generating static QR codes for website URLs or product landing pages.
  • Creating scannable WiFi login cards for guest networks including WPA encryption parameters.
  • Developing vCard (Virtual Contact File) QR codes for digital business cards and contact sharing.
  • Decoding existing QR code images to extract hidden URLs or text data strings.
  • Processing bulk lists of data to generate dozens of QR codes simultaneously via the batch mode.

How QR Code Tool Works

  1. The user provides a command or natural language trigger like "create WiFi QR code" to the agent.
  2. The system invokes the qr.sh script located within the Openclaw Skills directory structure.
  3. For generation tasks, the script processes input data (text, credentials, or contact info) and renders a high-quality PNG file.
  4. For reading tasks, the script analyzes the provided image path and decodes the embedded data string using the internal reader.
  5. Results are saved to the designated workspace directory and a formatted confirmation message is returned to the user.

QR Code Tool Setup

Ensure the script has appropriate execution permissions within your Openclaw Skills environment.

# Grant execution rights
chmod +x skills/qr-code-tool-1.0.0/scripts/qr.sh

# Basic generation test
bash skills/qr-code-tool-1.0.0/scripts/qr.sh generate "https://openclaw.io"

QR Code Tool Data Schema & Taxonomy

The tool organizes outputs logically within the workspace to maintain clean project structures and metadata tracking.

Data Type Default Location Format
Generated QR Codes workspace/qrcodes/ PNG
Batch Processing Output Custom --output-dir PNG
Decoded Content Terminal Standard Out String

Naming convention for generated files follows the pattern: qr_[YYYYMMDD]_[HHMMSS].png.

QR Code Tool Advanced Features

  • Batch Generation: Automate large-scale QR production by feeding the tool a text file containing multiple entries for rapid processing.
  • WiFi Integration: Built-in support for SSID, Password, and Encryption type (WPA/WEP) formatting for instant network access.
  • vCard Support: Automatically formats name, phone, and email data into the industry-standard vCard format for seamless contact sharing.
  • Custom Output Mapping: Flexible flag support to direct generated assets to specific project directories or naming schemes.
  • High-Speed Decoding: Efficient image parsing algorithms for rapid data extraction from provided image files.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*