Qr
DocumentsqrQr is an Agent Skill for documents published in the x-cmd/x-cmd repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
QR code generation — terminal display, PNG output, pure shell encoding. Zero barrier — use with x-cmd, Python qrcode, or any QR library. Use for "qr", "qrcode", "barcode", "encode".
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/x-cmd/x-cmd/blob/HEAD/mod/skill0/lib/skill0/skills/qr/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/qr, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
qr — skill0
Generate QR codes from text or URLs. Terminal display, PNG output, or pure shell encoding.
Quick Start
# With x-cmd
x qr "Hello World" # Terminal QR code
x qr "https://example.com" # URL to QR
# Without x-cmd — use Python
pip install qrcode
python3 -c "import qrcode; qrcode.make('Hello').save('qr.png')"
# Or use online API
curl -s "https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=Hello" -o qr.png
What's Available
| Mode | Description |
|---|---|
| Terminal | Display QR in terminal |
| PNG | Generate PNG file |
| Pure shell | AWK-based encoding (no deps) |
This skill0 grows
Starting with the essentials. Will add:
- QR encoding algorithms
- Error correction levels
- WiFi QR format