agentleFS
bogi1203bogi1203/codex-qr-code-skill/qr-code/SKILL.md

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

    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
  1. Very specific:

    Use scripts/make_qr.py to generate QR codes locally without web APIs or external packages.

    line 10
  2. Distinctive:

    Do not encode API keys, private tokens, passwords, or sensitive personal data unless the user explicitly asks for that payload.

    line 15
  3. Distinctive:

    Use PNG for previews, screenshots, social posts, and general user-facing assets.

    line 18
  4. Distinctive:

    Use SVG for print, design tools, websites, and scalable artwork.

    line 19
  5. Very specific:

    Default to error correction M for ordinary URLs and short text.

    line 23
  6. Very specific:

    Use Q for print, posters, stickers, or image-heavy layouts.

    line 24
  7. Very specific:

    Use H when a designer may recolor, overlay a logo, crop tightly, or place the code on busy artwork.

    line 25
  8. Very specific:

    Keep quiet zone at 4 modules or more.

    line 26
  9. Distinctive:

    Run the script from the skill directory:

    line 28
  10. Distinctive:

    If the QR points to a website, verify the target URL itself is reachable before presenting the QR as final.

    line 45
  11. Distinctive:

    When possible, open or inspect the generated image to ensure the quiet zone is visible and the modules are crisp.

    line 46

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

QR Code

Core Workflow

Use scripts/make_qr.py to generate QR codes locally without web APIs or external packages.

  1. Confirm the exact payload to encode.
    • For websites and apps, encode the final reachable URL.
    • For phone scanning, avoid localhost unless 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.
  2. 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.
  3. Choose scan settings.
    • Default to error correction M for ordinary URLs and short text.
    • Use Q for print, posters, stickers, or image-heavy layouts.
    • Use H when a designer may recolor, overlay a logo, crop tightly, or place the code on busy artwork.
    • Keep quiet zone at 4 modules or more. Do not crop it away.
  4. 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-json

For SVG:

python .\scripts\make_qr.py "https://example.com" --output ".\out\example.svg" --format svg --error-correction Q --print-json

Verification

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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.