qr-code
Skill1 starsChanged 7 months agoMITView on GitHub
Generate accurate, phone-scannable QR codes as PNG or SVG from URLs, local preview links, text, contact/payment/event/Wi-Fi payloads, or shareable deliverables. Use automatically when Codex decides a user may need to scan with a phone, when a generated website/app/art/design/social asset/demo needs a QR code, when sharing localhost/tunnel/public links, or when the user asks for QR, qrcode, QR code, QR 碼, 二維碼, or 手機掃描. Prefer scripts/make_qr.py for deterministic local generation; ask before encoding secrets, private tokens, or sensitive personal data.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- jegly/Boxtheir own version, first seen Apr 24, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- jegly/Box★ 891same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 6 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Use scripts/make_qr.py to generate QR codes locally without web APIs or external packages.
- Distinctive: line 15
Do not encode API keys, private tokens, passwords, or sensitive personal data unless the user explicitly asks for that payload.
- Distinctive: line 18
Use PNG for previews, screenshots, social posts, and general user-facing assets.
- Distinctive: line 19
Use SVG for print, design tools, websites, and scalable artwork.
- Very specific: line 23
Default to error correction M for ordinary URLs and short text.
- Very specific: line 24
Use Q for print, posters, stickers, or image-heavy layouts.
- Very specific: line 25
Use H when a designer may recolor, overlay a logo, crop tightly, or place the code on busy artwork.
- Very specific: line 26
Keep quiet zone at 4 modules or more.
- Distinctive: line 28
Run the script from the skill directory:
- Distinctive: line 45
If the QR points to a website, verify the target URL itself is reachable before presenting the QR as final.
- Distinctive: line 46
When possible, open or inspect the generated image to ensure the quiet zone is visible and the modules are crisp.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
QR Code
Core Workflow
Use scripts/make_qr.py to generate QR codes locally without web APIs or external packages.
- Confirm the exact payload to encode.
- For websites and apps, encode the final reachable URL.
- For phone scanning, avoid
localhostunless the user explicitly wants a same-machine test. Use a public, tunnel, or LAN URL when the phone must open it. - Do not encode API keys, private tokens, passwords, or sensitive personal data unless the user explicitly asks for that payload.
- Choose output for the deliverable.
- Use PNG for previews, screenshots, social posts, and general user-facing assets.
- Use SVG for print, design tools, websites, and scalable artwork.
- Generate both PNG and SVG when the QR code may be reused in design or publishing work.
- Choose scan settings.
- Default to error correction
Mfor ordinary URLs and short text. - Use
Qfor print, posters, stickers, or image-heavy layouts. - Use
Hwhen a designer may recolor, overlay a logo, crop tightly, or place the code on busy artwork. - Keep quiet zone at
4modules or more. Do not crop it away.
- Default to error correction
- Run the script from the skill directory:
python .\scripts\make_qr.py "https://example.com" --output ".\out\example.png" --error-correction M --scale 10 --print-jsonFor SVG:
python .\scripts\make_qr.py "https://example.com" --output ".\out\example.svg" --format svg --error-correction Q --print-jsonVerification
After generation:
- Confirm the output file exists and is non-empty.
- If the QR points to a website, verify the target URL itself is reachable before presenting the QR as final.
- When possible, open or inspect the generated image to ensure the quiet zone is visible and the modules are crisp.
- Report the encoded payload, output path, format, and error correction level.
Script Notes
scripts/make_qr.py is a pure Python QR generator. It supports byte-mode QR codes, automatic QR version selection, Reed-Solomon error correction, mask scoring, PNG output, and SVG output. It intentionally avoids online QR services so generated assets are private, fast, and reproducible.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

