qr-code-generator

A tool for turning text, web links, contact details, or Wi-Fi settings into QR code image files, in PNG or SVG format.

In plain words
What is it for?
Use it to create QR codes for websites, event registration, Wi-Fi access, digital business cards, product packaging, posters, or presentations.
Why use it?
It avoids manually creating QR codes and lets you control their size, colors, margins, error recovery, logos, rounded modules, and label text.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/mingle98/ai-agent-node/qr-code-generator
Any agent
npx skills add mingle98/AI-Agent-Node --skill qr-code-generator
Clone the repo
git clone --depth 1 https://github.com/mingle98/AI-Agent-Node

Made for: Claude Code, Codex.

Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 888 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00057 $0.00888
Opus 5 $0.00028 $0.00444
Sonnet 5 $0.00011 $0.00178
Haiku 4.5 $0.00006 $0.00089

Measured 2d ago against content hash 1047211f48ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

qr-code-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/qr_generator.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skillMds/qr-code-generator/SKILL.md · 104 lines

What it actually says

QR Code Generator Skill

能力概览

将文本、URL、联系方式、Wi-Fi 配置等内容生成二维码文件,支持:

  • 输出格式:PNG / SVG
  • 尺寸:size 控制像素尺寸
  • 边距:border 控制 quiet zone
  • 颜色:前景色、背景色、透明背景
  • 纠错等级:L / M / Q / H
  • Logo:居中嵌入图片并自动留白
  • 圆角模块:PNG 下支持模块圆角风格
  • 标签文字:在二维码下方追加说明文字
  • 输出路径:支持用户 workspace 相对路径

适用场景

  • 活动报名/签到二维码
  • 产品官网/落地页二维码
  • 小程序/下载页入口
  • Wi-Fi 连接二维码
  • 名片 vCard / 联系方式二维码
  • 海报、PPT、包装物料中的二维码资产

输入建议

用户可以直接说明:

  • 二维码内容:URL 或文本
  • 输出路径:如 output/qr.png
  • 尺寸:如 1024
  • 颜色:如黑白、品牌色、透明背景
  • 是否加 logo
  • 是否要 SVG 矢量格式
  • 是否需要标签文字

示例提问

请用 qr-code-generator 生成一个二维码。
内容:https://example.com/campaign
输出:output/campaign-qr.png
尺寸:1024
前景色:#111827
背景色:#ffffff
纠错等级:H
标签文字:扫码了解活动详情
请生成一个透明背景 SVG 二维码。
内容:https://my-product.com
输出:output/product-qr.svg
前景色:#0f172a
背景透明:true
边距:2
请生成带 Logo 的品牌二维码。
内容:https://example.com/app
输出:output/app-qr.png
尺寸:1200
前景色:#2563eb
背景色:#ffffff
纠错等级:H
Logo:assets/logo.png
Logo 占比:0.22
圆角:8

执行参数

本 skill 是可执行 bundle(Node 版)。常用参数:

  • --data:二维码承载内容,必填
  • --output:输出文件路径,默认 qr-code.png
  • --formatpngsvg
  • --size:图片尺寸,默认 1024
  • --border:边距模块数,默认 4
  • --error-correctionL/M/Q/H,默认 H
  • --foreground:前景色,默认 #000000
  • --background:背景色,默认 #ffffff
  • --transparent:透明背景,仅 PNG/SVG 均支持
  • --logo:Logo 图片路径,可选
  • --logo-scale:Logo 占二维码宽度比例,默认 0.2
  • --module-radius:PNG 模块圆角半径,默认 0
  • --label:二维码底部标签文字,可选
  • --label-font-size:标签字号,默认 42

质量建议

  • 带 Logo 时建议纠错等级使用 H
  • 印刷物料建议输出 SVGsize >= 1200 的 PNG
  • 透明背景用于叠加设计稿时,注意二维码前景色和底色对比度
  • Logo 占比建议 0.16 - 0.24,过大会影响识别
  • 二维码内容越长,模块越密,建议增大尺寸和边距
Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 104 lines · 57 tokens per session scan A 1047211f48ec

Subscribe to this mod's changes

qr-code-generator is a skill published in the GitHub repository mingle98/AI-Agent-Node (57 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 57 tokens to every session and 888 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

embedded-captions

Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet…

heygen-com/hyperframes · 120 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens

chengfeng-check-updates

剪辑环境的唯一管理者:就绪检查(skills 是否最新 → Runtime 是否配套)、Skills 更新激活、Runtime 安装与体检。用户说检查更新、安装剪辑环境、装播放器、检查剪辑环境、剪辑环境就绪了吗、配置转录凭证时使用;业务 Skill(剪口播/字幕/画面/导出)第 0 步也引用本 Skill 的就绪检查。不用于剪辑、字幕、画面、导出本身或项目数据迁移。.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens

cap_llm_inspect_image

How to inspect a local image with inspectimage.

espressif/esp-claw · 17 tokens