qr-code

qr-code is a skill for Claude Code from AlteredCraft/claude-code-plugins. It costs 112 tokens per session (977 once invoked), scanned A, original, MIT.

A tool for turning a URL, text, Wi‑Fi details, contact information, or other data into a QR code, a scannable square image. It can save the result as SVG, PNG, EPS, PDF, or text.

In plain words
What is it for?
Use it to create QR codes for websites, printed materials, Wi‑Fi access, contact cards, or other shared information.
Why use it?
It removes the need to find a separate QR-code website or configure an image export by hand.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ac-document-gen plugin — 3 skills shipped together

Good fit Use it to create QR codes for websites, printed materials, Wi‑Fi access, contact cards, or other shared information.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add AlteredCraft/claude-code-plugins
Claude Code
/plugin install ac-document-gen

Made for: Claude Code.

Or install ac-document-gen, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for qr-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/alteredcraft/claude-code-plugins/qr-code/github.svg)](https://agentmods.dev/skills/alteredcraft/claude-code-plugins/qr-code)
Your own site
<a href="https://agentmods.dev/skills/alteredcraft/claude-code-plugins/qr-code"><img src="https://agentmods.dev/badge/skills/alteredcraft/claude-code-plugins/qr-code/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for qr-code

Your own site · 80×15
<a href="https://agentmods.dev/skills/alteredcraft/claude-code-plugins/qr-code"><img src="https://agentmods.dev/badge/skills/alteredcraft/claude-code-plugins/qr-code.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 977 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00112 $0.00977
Opus 5.5 $0.00045 $0.00391
Sonnet 5.5 $0.00022 $0.00195
Haiku 4.5 $0.00011 $0.00098

Measured 2mo ago against content hash 5fca078dc5b4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

qr-code 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate_qr.py), 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.

plugins/document-gen/skills/qr-code/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

QR Code Generator

Generate QR codes from any text or URL data, with support for multiple output formats and visual customization.

Workflow

  1. Ask where to save the output file:
    • Desktop: ~/Desktop/my_qr.svg
    • Downloads: ~/Downloads/my_qr.svg
    • Current project directory
    • A specific path they provide
  2. Run scripts/generate_qr.py via uv run with the user's data and desired options.
  3. Present the result to the user.

Script Usage

The script uses PEP 723 inline metadata to declare its dependency (segno). Run it with uv run and dependencies are resolved and cached automatically — no manual installation required.

uv run ${CLAUDE_PLUGIN_ROOT}/skills/qr-code/scripts/generate_qr.py DATA OUTPUT_PATH [options]

Required Arguments

Argument Description
DATA The content to encode (URL, text, etc.)
OUTPUT_PATH Output file path. Extension determines format: .svg, .png, .eps, .pdf, .txt

Options

Option Default Description
--scale 10 Module scale factor (pixels per module)
--border 4 Quiet zone border width in modules
--dark #000000 Dark module color (hex)
--light #ffffff Light module color (hex)
--error M Error correction: L=7%, M=15%, Q=25%, H=30%
--version auto Force a specific QR version (1-40)
--micro off Create a Micro QR Code (for very short data)
--transparent off Transparent background (SVG/PNG only)

Format Guidance

  • SVG (.svg): Recommended default. Scalable vector, ideal for print and web. Smallest file size.
  • PNG (.png): Raster image. Requires pillow as an additional dependency. Good for embedding in documents.
  • EPS (.eps): Vector format for professional print workflows.
  • PDF (.pdf): Vector PDF, good for print-ready documents.

Default to SVG unless the user requests otherwise.

Read the full file on GitHub · 90 lines

Files

What ships with it

1 file 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. 2mo ago First seen · 90 lines · 112 tokens per session scan A 5fca078dc5b4

Subscribe to this mod's changes

qr-code is a skill published in the GitHub repository AlteredCraft/claude-code-plugins (12 stars, last pushed 5mo ago), licensed MIT. It adds 112 tokens to every session and 977 once invoked, about $0.0004 per session on Opus 5.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

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens