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
| Parameter | Required | Description | Example |
|---|---|---|---|
content |
Yes | Text, URL, or data to encode | https://example.com |
output |
No | Output PNG file path (default: ./qrcode.png) | /tmp/my-qr.png |
size |
No | Box size in pixels (default: 10) | 15 |
color |
No | QR code color (default: black) | navy |
bg_color |
No | Background color (default: white) | white |
Procedure
- Get the content to encode from the user's request
- Run the bundled script:
Or with options:python3 skills/qr-code/scripts/generate.py "https://example.com"python3 skills/qr-code/scripts/generate.py "Hello World" --output /tmp/qr.png --size 15 --color navy - The script auto-installs
qrcodeandPillowif needed - Report the saved file path to the user
Bundled Scripts
| Script | Type | Description |
|---|---|---|
scripts/generate.py |
Python | Generate 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
More from dalehurley/phpbot
desktop-control
Control the mouse, keyboard, and read screen content via accessibility. Use this skill when the user asks to click somewhere on screen, type text into an app, move the mouse, press keyboard shortcuts, read what's on screen, get the accessibility tree of the current window, automate desktop interactions, or control the computer.
39summarize-unread-emails
Retrieve and summarize all unread emails from your inbox, organized by category, sender, and date. Use this skill when the user asks to summarize unread emails, get an overview of unread messages, organize inbox emails, or review pending email communications. Provides a structured summary with categorization and timeline analysis.
20open-application
Open or launch applications on your computer by name. Use this skill when the user asks to open, launch, or start an application like Mail, Finder, Safari, Chrome, or any other installed macOS application. Works with both built-in and third-party applications.
10homebrew
Install, manage, and search for software packages on macOS using Homebrew. Use this skill when the user asks to install software, apps, CLI tools, developer utilities, programming languages, databases, or any package on a Mac. Supports formulae (CLI tools) and casks (GUI apps). Can also search, update, upgrade, uninstall, and diagnose Homebrew issues.
10csv-tools
Parse, query, filter, sort, transform, and summarize CSV and JSON data files. Use this skill when the user asks to view a CSV, filter data, get statistics from a data file, convert CSV to JSON or vice versa, sort data, or analyze tabular data.
9get-weather-forecast
Retrieve current weather conditions and multi-day forecasts for any location using the wttr.in API. Use this skill when the user asks for weather information, weather forecast, current conditions, temperature, or weather updates for a specific city or location. Provides detailed weather data including temperature, wind, precipitation, and visibility.
8